2022-04-12 15:15:39 +00:00
|
|
|
process {
|
|
|
|
|
|
|
|
publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" }
|
|
|
|
|
2022-06-03 10:45:52 +00:00
|
|
|
withName: GATK4_MARKDUPLICATES_SPARK {
|
|
|
|
ext.prefix = { "${meta.id}.bam" }
|
|
|
|
}
|
|
|
|
withName: GATK4_MARKDUPLICATES_SPARK_CRAM {
|
|
|
|
ext.prefix = { "${meta.id}.cram" }
|
|
|
|
}
|
2022-05-31 12:35:29 +00:00
|
|
|
withName: GATK4_MARKDUPLICATES_SPARK_METRICS {
|
2022-06-03 10:45:52 +00:00
|
|
|
ext.prefix = { "${meta.id}.bam" }
|
2022-05-31 12:35:29 +00:00
|
|
|
ext.args = '--metrics-file test.metrics'
|
|
|
|
}
|
2022-06-03 10:45:52 +00:00
|
|
|
|
2022-04-12 15:15:39 +00:00
|
|
|
}
|
2022-05-31 12:35:29 +00:00
|
|
|
// override tests/config/nextflow.config
|
2022-05-25 14:37:44 +00:00
|
|
|
docker.userEmulation = false
|
|
|
|
|