Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move from linear execution strategy to modular block design #11

Open
gwaybio opened this issue Dec 14, 2020 · 2 comments
Open

Move from linear execution strategy to modular block design #11

gwaybio opened this issue Dec 14, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@gwaybio
Copy link
Member

gwaybio commented Dec 14, 2020

Currently, the recipe (as defined in jump-cellpainting#14) is linear, with each step progressing sequentially. For example, the normalization step happens before the feature selection step.

A use case came up in the JUMP project that we will want to apply different normalization steps to the same input file, and then process the same feature selection step to both normalization output files.

This process is akin to a block design, in which each pipeline step is performed if and only if a "block" is added to the yaml config file.

A couple of implications of this enhancement:

  • We will need to perform a substantial refactor to introduce this change
  • We should explore adding the execution steps to a workflow language.
  • We will need to add functionality to specify the input file in each block.
  • Explore adding dask to the mix to enable task-graph parallelization
@shntnu
Copy link
Member

shntnu commented Mar 22, 2021

@gwaygenomics Do you recollect what you meant by "subprocess" above? Here are the recipe files, in case it helps point to things https://github.com/jump-cellpainting/profiling-recipe/tree/master/profiles

@gwaybio
Copy link
Member Author

gwaybio commented Mar 22, 2021

Ah, good point. I was wrong about this recipe using subprocess. We use it in the pooled recipe, so this is likely how my wires got mixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants