nf-core_modules/tests/modules/cat/cat/nextflow.config
FriederikeHanssen 3d31fa4d04
CAT: Use meta map and supply output file name via modules.config (#1446)
* Use meta map and supply output file name via modules.config

* Remove all def declarations to make it work

* update tests & remove extra .

* fix ze tests

* update meta.yml with meta map info

* add tag line now that meta is available
2022-03-25 14:01:57 +01:00

13 lines
270 B
Text

process {
publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" }
withName: CAT_UNZIPPED_ZIPPED {
ext.prefix = 'cat.txt.gz'
}
withName: CAT_ZIPPED_UNZIPPED {
ext.prefix = 'cat.txt'
}
}