Skip to content
Snippets Groups Projects
Commit fe45deb3 authored by António Paulo's avatar António Paulo
Browse files

update MuTect2 with gatk 4.1.2.0 inputs

The "--f1r2-tar-gz" input is used in FilterMutectCalls (check: https://gatkforums.broadinstitute.org/gatk/discussion/24057/how-to-call-somatic-mutations-using-gatk4-mutect2#latest).
The "---germline-resource" input was already available in gatk 4.1.0.0.
parent f5ea69c8
No related branches found
No related tags found
No related merge requests found
...@@ -258,13 +258,16 @@ task MuTect2 { ...@@ -258,13 +258,16 @@ task MuTect2 {
String outputVcf String outputVcf
String tumorSample String tumorSample
String? normalSample String? normalSample
File? germlineResource
File? germlineResourceIndex
File? panelOfNormals File? panelOfNormals
File? panelOfNormalsIndex File? panelOfNormalsIndex
String? f1r2TarGz = "f1r2.tar.gz"
Array[File]+ intervals Array[File]+ intervals
Int memory = 4 Int memory = 4
Float memoryMultiplier = 3 Float memoryMultiplier = 3
String dockerImage = "quay.io/biocontainers/gatk4:4.1.0.0--0" String dockerImage = "quay.io/biocontainers/gatk4:4.1.2.0--1"
} }
command { command {
...@@ -276,7 +279,9 @@ task MuTect2 { ...@@ -276,7 +279,9 @@ task MuTect2 {
-I ~{sep=" -I " inputBams} \ -I ~{sep=" -I " inputBams} \
-tumor ~{tumorSample} \ -tumor ~{tumorSample} \
~{"-normal " + normalSample} \ ~{"-normal " + normalSample} \
~{"--germline-resource " + germlineResource} \
~{"--panel-of-normals " + panelOfNormals} \ ~{"--panel-of-normals " + panelOfNormals} \
~{"--f1r2-tar-gz " + f1r2TarGz} \
-O ~{outputVcf} \ -O ~{outputVcf} \
-L ~{sep=" -L " intervals} -L ~{sep=" -L " intervals}
} }
...@@ -284,6 +289,7 @@ task MuTect2 { ...@@ -284,6 +289,7 @@ task MuTect2 {
output { output {
File vcfFile = outputVcf File vcfFile = outputVcf
File vcfFileIndex = outputVcf + ".tbi" File vcfFileIndex = outputVcf + ".tbi"
File f1r2File = f1r2TarGz
} }
runtime { runtime {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment