Separate out the processes into separate modules/software.nf files. This reduces code duplication.
For example, before we needed to define process for MerquryQV_01, MerquryQV_03, ... for each quality check between steps. Now we define one MerquryQV process in modules/qv.nf and import it with the different names:
include { MerquryQV as MerquryQV_01; MerquryQV as MerquryQV_03 } from './modules/qv.nf'
Separate out the processes into separate modules/software.nf files. This reduces code duplication.
For example, before we needed to define process for
MerquryQV_01
,MerquryQV_03
, ... for each quality check between steps. Now we define oneMerquryQV
process inmodules/qv.nf
and import it with the different names: