Updating cwl
[arvados-tutorial.git] / cwl / samtools-sort.cwl
index 79837b5932646ec3f9a513322f686e18bdee4886..8f1f273adbc063596355066c05a3f69d36612c31 100644 (file)
@@ -9,15 +9,6 @@ requirements:
     ramMin: 10000
     coresMin: 4
 
-arguments:
-  - samtools
-  - sort
-  - -t
-  - $(runtime.cores)
-  - $(inputs.bam)
-  - -o
-  - $(runtime.outdir)/$(inputs.sample).sorted.bam
-
 inputs:
   bam: File
   sample: string
@@ -26,4 +17,14 @@ outputs:
   out:
     type: File
     outputBinding:
-      glob: "*sorted.bam"
+      glob: "*sorted.bam
+
+runcommand: samtools
+
+arguments:
+  - sort
+  - -t
+  - $(runtime.cores)
+  - $(inputs.bam)
+  - -o
+  - $(runtime.outdir)/$(inputs.sample).sorted.bam