Hello all, I am having a nextflow pipeline designed to do the bacteria WGS analysis. It works well. It is designed with modulization in mind. For example, the workflow calls a list of subworkflows (e.g.
qc.nf,
assembly.nf,
annotation.nf. ), modules. Because some of the subworkflow can also be used in other pipelines. We are now thinking of breaking the subworkflows into individual workflow pipeline. Then we call these small pipelines to build the other big pipeline. The reason we want to do this is for better maintenance. For example, when we change sequence qc step, we only need to change the qc pipeline and all the pipelines calling the qc pipeline will be automatically updated. I am wondering what is the best way to do it?