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

correct wdl syntax mistakes

parent 51068660
No related branches found
No related tags found
1 merge request!71Add gffcompare
......@@ -58,12 +58,12 @@ task GffCompare {
~{true="-V" false="" verbose} \
~{true="D" false="" debugMode} \
~{"-i " + inputGtfList} \
~{sep=" " + inputGtfFiles}
~{sep=" " inputGtfFiles}
}
# Output of gffcompare is not stable. It depends on the number of files in the input.
Int noFilesGtfList = if defined(inputGtfList) then length(read_lines(inputGtfList)) else 0
Int noInputFiles = if defined(inputGtfFiles) then length(inputGtfFiles) else 0
Int noFilesGtfList = if defined(inputGtfList) then length(read_lines(select_first([inputGtfList]))) else 0
Int noInputFiles = length(select_first([inputGtfFiles, []]))
Boolean oneFile = (noFilesGtfList + noInputFiles) == 1
String annotatedName = if oneFile then "annotated" else "combined"
......
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