Skip to content
Snippets Groups Projects
Commit 1885db3c authored by pjvan_thof's avatar pjvan_thof
Browse files

Update forgotten tool

parent 9ca8d3c4
No related branches found
No related tags found
No related merge requests found
...@@ -249,7 +249,6 @@ task HaplotypeCallerGvcf { ...@@ -249,7 +249,6 @@ task HaplotypeCallerGvcf {
Float? memory Float? memory
Float? memoryMultiplier Float? memoryMultiplier
Int mem = ceil(select_first([memory, 4.0])) Int mem = ceil(select_first([memory, 4.0]))
String toolCommand = if defined(gatkJar) String toolCommand = if defined(gatkJar)
...@@ -289,17 +288,24 @@ task SplitNCigarReads { ...@@ -289,17 +288,24 @@ task SplitNCigarReads {
File refFastaIndex File refFastaIndex
File refDict File refDict
String outputBam String outputBam
String gatkJar String? gatkJar
Array[File]+ intervals Array[File]+ intervals
Float? memory Float? memory
Float? memoryMultiplier Float? memoryMultiplier
Float? memory
Float? memoryMultiplier
Int mem = ceil(select_first([memory, 4.0])) Int mem = ceil(select_first([memory, 4.0]))
String toolCommand = if defined(gatkJar)
then "java -Xmx" + mem + "G -jar " + gatkJar
else "gatk -Xmx" + mem + "G"
command { command {
set -e -o pipefail set -e -o pipefail
${preCommand} ${preCommand}
java -Xms${mem}G -jar ${gatkJar} \ ${toolCommand} \
SplitNCigarReads \ SplitNCigarReads \
-I ${inputBam} \ -I ${inputBam} \
-R ${refFasta} \ -R ${refFasta} \
......
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