Attention:
The front line support team will be unavailable to answer questions until May 27th 2019 as we are celebrating Memorial Day. We will be back soon after. Thank you for your patience and we apologize for any inconvenience!

womtool should tell me to not use the reserved keyword 'output' upon validate

Instead of generating some difficult to interpret output I just get this on my input .wdl file:

task findGVCF {
String dir
command {
find ${dir} -name "*.g.vcf"
}
output {
Array[String] out = read_lines (stdout())
}
}
task combineGVCF {
Array[String] files
String reference
File outputFile
command {
/home/rvanschendel/gatk-4.0.8.1/gatk CombineGVCFs
-R ${reference} \
${sep="--variant " files} \
-o ${outputFile}
}
output {
File out = "${outputFile}"
}
}

workflow gVCFCombine {
String dir
String reference
File output
call findGVCF {
input:
dir = dir
}
call combineGVCF {
input:
files = findGVCF.out,
reference = reference,
outputFile = output
}
}

resulting in:

Unrecognized token on line 30, column 8:

            input:
   ^
Tagged:

Best Answer

Answers

Sign In or Register to comment.