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

style fixes

parent 91da0d8f
No related branches found
No related tags found
1 merge request!34Move all files to version 1.0
...@@ -120,7 +120,7 @@ task Classify { ...@@ -120,7 +120,7 @@ task Classify {
} }
task Download { task Download {
input { input {
String libraryPath String libraryPath
Array[String]? domain Array[String]? domain
String? executable = "centrifuge-download" String? executable = "centrifuge-download"
......
...@@ -24,27 +24,27 @@ task fastqc { ...@@ -24,27 +24,27 @@ task fastqc {
# This regex chops of the extension and replaces it with _fastqc for the reportdir. # This regex chops of the extension and replaces it with _fastqc for the reportdir.
# Just as fastqc does it. # Just as fastqc does it.
String reportDir = outdirPath + "/" + sub(basename(name), "\\.[^\\.]*$", "_fastqc") 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 { output {
......
...@@ -141,18 +141,18 @@ task view { ...@@ -141,18 +141,18 @@ task view {
} }
command { command {
set -e -o pipefail set -e -o pipefail
~{preCommand} ~{preCommand}
samtools view \ samtools view \
~{"-T " + referenceFasta} \ ~{"-T " + referenceFasta} \
~{"-o " + outputFileName} \ ~{"-o " + outputFileName} \
~{true="-b " false="" outputBam} \ ~{true="-b " false="" outputBam} \
~{true="-u " false="" uncompressedBamOutput} \ ~{true="-u " false="" uncompressedBamOutput} \
~{"-f " + includeFilter} \ ~{"-f " + includeFilter} \
~{"-F " + excludeFilter} \ ~{"-F " + excludeFilter} \
~{"-G " + excludeSpecificFilter} \ ~{"-G " + excludeSpecificFilter} \
~{"--threads " + threads - 1} \ ~{"--threads " + threads - 1} \
~{inFile} ~{inFile}
} }
output { output {
......
...@@ -23,8 +23,7 @@ task Stringtie { ...@@ -23,8 +23,7 @@ task Stringtie {
~{true="fr" false="" secondStranded} \ ~{true="fr" false="" secondStranded} \
-o ~{assembledTranscriptsFile} \ -o ~{assembledTranscriptsFile} \
~{"-A " + geneAbundanceFile} \ ~{"-A " + geneAbundanceFile} \
~{alignedReads} \ ~{alignedReads}
} }
output { output {
......
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