diff --git a/poretools.wdl b/poretools.wdl index 32cc718b14a68c3f7a72ae6e9f15d453b4a31f9a..fcbaff711d570664b158fab993b3648cd1ff4895 100644 --- a/poretools.wdl +++ b/poretools.wdl @@ -22,10 +22,10 @@ task fastq { ${"--end " + end } \ ${"--min-length " + minLength } \ ${"--max-length " + maxLength } \ - ${if highQuality then "--high-quality" else ""} \ - ${if normalQuality then "--normal-quality" else ""} \ + ${true="--high-quality" false="" highQuality} \ + ${true="--normal-quality" false="" normalQuality} \ ${"--group " + group} \ - ${sep=" " files} ${if gzip then "| gzip " else ""}> ${outputFile} + ${sep=" " files} ${true="| gzip " false="" gzip}> ${outputFile} } output {