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