nf-core_modules/tests/modules/gatk4/markduplicates/nextflow.config
FriederikeHanssen e726b1730d
MD finally supports cram output (#2019)
* MD finally supports cram output

* publish crai file

* fix test output

* fix mv

* figure out if contains breaks stuff

* remove variable checksum

* add contains check

* remove variable checksum

Co-authored-by: Maxime U. Garcia <max.u.garcia@gmail.com>
2022-09-07 11:04:58 +02:00

15 lines
379 B
Text

process {
publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" }
withName: GATK4_MARKDUPLICATES {
ext.args = '--CREATE_INDEX true'
ext.prefix = { "${meta.id}.bam" }
}
withName: GATK4_MARKDUPLICATES_CRAM {
ext.args = '--CREATE_INDEX true'
ext.prefix = { "${meta.id}.cram" }
}
}