isugifNF / polishCLR

A nextflow pipeline for polishing CLR assemblies
https://isugifnf.github.io/polishCLR/
16 stars 4 forks source link

Module refactor #23

Closed j23414 closed 3 years ago

j23414 commented 3 years ago

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'