mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-15 14:13:09 +00:00
e726b1730d
* 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>
15 lines
379 B
Text
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" }
|
|
}
|
|
|
|
}
|