Update: July 26, 2019
This section of the forum is no longer actively monitored. We are working on a support migration plan that we will share here shortly. Apologies for this 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.