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

fix dbsnparg

parent 998636a0
No related branches found
No related tags found
1 merge request!85Make tasks suitable for running against relative paths.
......@@ -196,7 +196,7 @@ task GenotypeGVCFs {
Float memoryMultiplier = 2.0
}
String dbsnpArg = if defined(dbsnpVCF) then "-D " + select_first([dbsnpVCF]).file else ""
String dbsnpFile = if (defined(dbsnpVCF)) then select_first([dbsnpVCF]).file else ""
String toolCommand = if defined(gatkJar)
then "java -Xmx" + memory + "G -jar " + gatkJar
......@@ -209,7 +209,7 @@ task GenotypeGVCFs {
GenotypeGVCFs \
-R ~{reference.fasta} \
-O ~{outputPath} \
~{dbsnpArg} \
~{true="-D" false="" defined(dbsnpVCF)} ~{dbsnpFile} \
-G StandardAnnotation \
--only-output-calls-starting-in-intervals \
-new-qual \
......@@ -247,7 +247,7 @@ task HaplotypeCallerGvcf {
Float memoryMultiplier = 3
}
String dbsnpArg = if (defined(dbsnpVCF)) then "-D " + select_first([dbsnpVCF]).file else ""
String dbsnpFile = if (defined(dbsnpVCF)) then select_first([dbsnpVCF]).file else ""
String toolCommand = if defined(gatkJar)
then "java -Xmx" + memory + "G -jar " + gatkJar
......@@ -262,7 +262,7 @@ task HaplotypeCallerGvcf {
-O ~{gvcfPath} \
-I ~{sep=" -I " inputBams} \
-L ~{sep=' -L ' intervalList} \
~{dbsnpArg} \
~{true="-D" false="" defined(dbsnpVCF)} ~{dbsnpFile} \
-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