nf-core_modules/tests/modules/plink2/extract/nextflow.config
Benjamin Wingfield e687c7025a
New module: plink2/extract (#1228)
* add plink2_extract

* fix test yml path

* Update modules/plink2/extract/main.nf

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>

* Update modules/plink2/extract/main.nf

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>

* compress output

* add DOI

* make outputs less ambiguous

* update test for compressed output

* brain is dumb

* Update modules/plink2/extract/main.nf

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-02-03 10:42:56 +00:00

12 lines
305 B
Text

process {
publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" }
withName: PLINK2_VCF {
ext.args = '--make-pgen --set-missing-var-ids @:#:\\$1:\\$2'
}
withName: PLINK2_EXTRACT {
ext.prefix = { "${meta.id}.extract" }
}
}