Skip to content

Commit 286c917

Browse files
authored
Change mutect config to only have one CALCULATECONTAMINATION statement
Co-authored-by: Famke Bäuerle <45968370+famosab@users.noreply.github.com>
1 parent 92b20b1 commit 286c917

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

conf/modules/mutect2.config

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ process {
5757
ext.prefix = { "${meta.id}.mutect2" }
5858
publishDir = [
5959
mode: params.publish_dir_mode,
60-
path: { "${params.outdir}/variant_calling/mutect2/${meta.id}" },
60+
path: { params.joint_mutect2 ? "${params.outdir}/variant_calling/mutect2/${meta.patient}" : "${params.outdir}/variant_calling/mutect2/${meta.id}" },
6161
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
6262
]
6363
}
@@ -99,11 +99,4 @@ process {
9999
]
100100
}
101101

102-
withName: 'CALCULATECONTAMINATION' {
103-
publishDir = [
104-
mode: params.publish_dir_mode,
105-
path: { "${params.outdir}/variant_calling/mutect2/${meta.patient}" },
106-
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
107-
]
108-
}
109102
}

0 commit comments

Comments
 (0)