Open Rachel-Alcraft opened 1 year ago
Specifically take the test workflow and make it a sub module that is re-used by kinfam
Additionally look at nextflows guide for unit testing submodules
This is a continuously ongoing process of refining the workflow.
Workflows can be composed of sub-modules which can be composed of processes in a shared module. https://carpentries-incubator.github.io/workflows-nextflow/11-subworkflows/index.html
We have moved processes to a shared module file, now we can assemble these into shared workflows to simplify creating workflows further.
Need to decide what those layers would be that would make composition simple.
E.g. imagine getting the data from AF or mongodb. Then chopping and outputting, so a sub-module from chopping onwards perhaps.