Skip to content
Snippets Groups Projects
Commit 5494df15 authored by Ruben Vorderman's avatar Ruben Vorderman
Browse files

make intervals optional, allow exclude intervals

parent bc77095d
No related branches found
No related tags found
No related merge requests found
......@@ -207,7 +207,8 @@ task HaplotypeCallerGvcf {
input {
Array[File]+ inputBams
Array[File]+ inputBamsIndex
Array[File]+ intervalList
Array[File]+? intervalList
Array[File]+? excludeIntervalList
String gvcfPath
File referenceFasta
File referenceFastaIndex
......@@ -229,7 +230,8 @@ task HaplotypeCallerGvcf {
-R ~{referenceFasta} \
-O ~{gvcfPath} \
-I ~{sep=" -I " inputBams} \
-L ~{sep=' -L ' intervalList} \
~{true="-L" false="" defined(intervalList)} ~{sep=' -L ' intervalList} \
~{true="-XL" false="" defined(excludeIntervalList)} ~{sep=' -XL ' excludeIntervalList} \
~{true="-D" false="" defined(dbsnpVCF)} ~{dbsnpVCF} \
-contamination ~{contamination} \
-ERC GVCF
......
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