From b9ab2f022039e19dcb8cd5214a3e9b19c623b77a Mon Sep 17 00:00:00 2001
From: pjvan_thof <pjrvanthof@gmail.com>
Date: Thu, 1 Mar 2018 15:53:33 +0100
Subject: [PATCH] Fixed sep

---
 samtools.wdl | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/samtools.wdl b/samtools.wdl
index 6fee4d0..8cc6c47 100644
--- a/samtools.wdl
+++ b/samtools.wdl
@@ -1,4 +1,4 @@
-task SamtoolsIndex {
+task Index {
     String bamFilePath
 
     command {
@@ -10,15 +10,15 @@ task SamtoolsIndex {
     }
 }
 
-task SamtoolsMerge {
-    Array[File] bamFiles
+task Merge {
+    Array[File]+ bamFiles
     String outputBamPath
 
     command {
-        samtools merge ${outputBamPath} ${bamFiles}
+        samtools merge ${outputBamPath} ${sep=' ' bamFiles}
     }
 
     output {
-        File bamFile = outputBamPath
+        File outputBam = outputBamPath
     }
 }
\ No newline at end of file
-- 
GitLab