Adding RNA-Seq demo
[arvados-tutorial.git] / RNA-Seq / cwl / helper / featureCounts.cwl
diff --git a/RNA-Seq/cwl/helper/featureCounts.cwl b/RNA-Seq/cwl/helper/featureCounts.cwl
new file mode 100644 (file)
index 0000000..a17163f
--- /dev/null
@@ -0,0 +1,25 @@
+cwlVersion: v1.2
+class: CommandLineTool
+
+inputs:
+  gtf: File
+  counts_input_bam:
+   - File
+   - File[]
+
+baseCommand: featureCounts
+
+arguments: [-T, $(runtime.cores),
+            -a, $(inputs.gtf),
+            -o, featurecounts.tsv,
+            $(inputs.counts_input_bam)]
+
+outputs:
+  featurecounts:
+    type: File
+    outputBinding:
+      glob: featurecounts.tsv
+
+hints:
+  DockerRequirement:
+    dockerPull: quay.io/biocontainers/subread:1.5.0p3--0