From 2b903b2b34c4d3dac8047b3709d1dd69a9e86542 Mon Sep 17 00:00:00 2001
From: Ruben Vorderman <r.h.p.vorderman@lumc.nl>
Date: Mon, 23 Jul 2018 14:39:34 +0200
Subject: [PATCH] style fixes

---
 centrifuge.wdl |  2 +-
 fastqc.wdl     | 40 ++++++++++++++++++++--------------------
 samtools.wdl   | 24 ++++++++++++------------
 stringtie.wdl  |  3 +--
 4 files changed, 34 insertions(+), 35 deletions(-)

diff --git a/centrifuge.wdl b/centrifuge.wdl
index 49d095b..9a29ab3 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 a11e1bf..92baff8 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 07608e8..aa2c7d7 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 2c04233..9929b80 100644
--- a/stringtie.wdl
+++ b/stringtie.wdl
@@ -23,8 +23,7 @@ task Stringtie {
         ~{true="fr" false="" secondStranded} \
         -o ~{assembledTranscriptsFile} \
         ~{"-A " + geneAbundanceFile} \
-        ~{alignedReads} \
-
+        ~{alignedReads}
     }
 
     output {
-- 
GitLab