diff --git a/centrifuge.wdl b/centrifuge.wdl index 49d095be90ff8c728adf34ac30ad8bb2d97f988d..9a29ab3378ee3405e7ddba8c7a573b0a66a8e608 100644 --- a/centrifuge.wdl +++ b/centrifuge.wdl @@ -120,7 +120,7 @@ task Classify { } task Download { - input { + input { String libraryPath Array[String]? domain String? executable = "centrifuge-download" diff --git a/fastqc.wdl b/fastqc.wdl index a11e1bf0ce5080e9da7569526979badde93bace1..92baff83d482dbe9ee53a9011a1a76c31b456233 100644 --- a/fastqc.wdl +++ b/fastqc.wdl @@ -24,27 +24,27 @@ task fastqc { # This regex chops of the extension and replaces it with _fastqc for the reportdir. # Just as fastqc does it. String reportDir = outdirPath + "/" + sub(basename(name), "\\.[^\\.]*$", "_fastqc") - command { - set -e -o pipefail - ~{preCommand} - mkdir -p ~{outdirPath} - fastqc \ - ~{"--outdir " + outdirPath} \ - ~{true="--casava" false="" casava} \ - ~{true="--nano" false="" nano} \ - ~{true="--nofilter" false="" noFilter} \ - ~{true="--extract" false="" extract} \ - ~{true="--nogroup" false="" nogroup} \ - ~{"--min_length " + minLength } \ - ~{"--format " + format} \ - ~{"--threads " + threads} \ - ~{"--contaminants " + contaminants} \ - ~{"--adapters " + adapters} \ - ~{"--limits " + limits} \ - ~{"--kmers " + kmers} \ - ~{"--dir " + dir} \ - ~{seqFile} + command { + set -e -o pipefail + ~{preCommand} + mkdir -p ~{outdirPath} + fastqc \ + ~{"--outdir " + outdirPath} \ + ~{true="--casava" false="" casava} \ + ~{true="--nano" false="" nano} \ + ~{true="--nofilter" false="" noFilter} \ + ~{true="--extract" false="" extract} \ + ~{true="--nogroup" false="" nogroup} \ + ~{"--min_length " + minLength } \ + ~{"--format " + format} \ + ~{"--threads " + threads} \ + ~{"--contaminants " + contaminants} \ + ~{"--adapters " + adapters} \ + ~{"--limits " + limits} \ + ~{"--kmers " + kmers} \ + ~{"--dir " + dir} \ + ~{seqFile} } output { diff --git a/samtools.wdl b/samtools.wdl index 07608e8ede5ec0a0d8d460197409351a8fb5eb1a..aa2c7d7e2346f8986661dba3663f117a11c7d34e 100644 --- a/samtools.wdl +++ b/samtools.wdl @@ -141,18 +141,18 @@ task view { } command { - set -e -o pipefail - ~{preCommand} - samtools view \ - ~{"-T " + referenceFasta} \ - ~{"-o " + outputFileName} \ - ~{true="-b " false="" outputBam} \ - ~{true="-u " false="" uncompressedBamOutput} \ - ~{"-f " + includeFilter} \ - ~{"-F " + excludeFilter} \ - ~{"-G " + excludeSpecificFilter} \ - ~{"--threads " + threads - 1} \ - ~{inFile} + set -e -o pipefail + ~{preCommand} + samtools view \ + ~{"-T " + referenceFasta} \ + ~{"-o " + outputFileName} \ + ~{true="-b " false="" outputBam} \ + ~{true="-u " false="" uncompressedBamOutput} \ + ~{"-f " + includeFilter} \ + ~{"-F " + excludeFilter} \ + ~{"-G " + excludeSpecificFilter} \ + ~{"--threads " + threads - 1} \ + ~{inFile} } output { diff --git a/stringtie.wdl b/stringtie.wdl index 2c04233d60297b775943b8ae9dc6f594f575e2ff..9929b8062aa9edb17a7fa3d832529794938e6b8d 100644 --- a/stringtie.wdl +++ b/stringtie.wdl @@ -23,8 +23,7 @@ task Stringtie { ~{true="fr" false="" secondStranded} \ -o ~{assembledTranscriptsFile} \ ~{"-A " + geneAbundanceFile} \ - ~{alignedReads} \ - + ~{alignedReads} } output {