nf-core_modules/tests/modules/tabix/bgzip/nextflow.config
Matthieu Muffato 07e2868920
Added an output channel for the gzi index (#2036)
* When the `-i` option of bgzip is given, an index is created and needs to be considered an output

* It is not necessary to use a subfolder

* Updated meta.yml too

* Also check that an index name hasn't been requested

Co-authored-by: FriederikeHanssen <Friederike.hanssen@qbic.uni-tuebingen.de>
2022-09-26 21:47:41 +02:00

8 lines
187 B
Text

process {
publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" }
withName: TABIX_BGZIP_WITH_GZI {
ext.args = ' -i'
}
}