UCLOrengoGroup / cath-alphaflow

GNU Lesser General Public License v2.1
14 stars 0 forks source link

Abstract to sub-modules #29

Open Rachel-Alcraft opened 1 year ago

Rachel-Alcraft commented 1 year ago

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.

Rachel-Alcraft commented 1 year ago

Specifically take the test workflow and make it a sub module that is re-used by kinfam

Rachel-Alcraft commented 1 year ago

Additionally look at nextflows guide for unit testing submodules

Rachel-Alcraft commented 1 year ago

This is a continuously ongoing process of refining the workflow.