Add tabs, arvados specific instructions & links to solutions
[rnaseq-cwl-training.git] / assets / answers / ep5 / part1 / main.cwl
diff --git a/assets/answers/ep5/part1/main.cwl b/assets/answers/ep5/part1/main.cwl
new file mode 100644 (file)
index 0000000..33e0f05
--- /dev/null
@@ -0,0 +1,32 @@
+cwlVersion: v1.2
+class: Workflow
+label: RNAseq CWL practice workflow
+
+inputs:
+  fq: File
+  genome: Directory
+  gtf: File
+
+### 1. Subworkflows
+steps:
+  alignment:
+    run: alignment.cwl
+    in:
+      fq: fq
+      genome: genome
+      gtf: gtf
+    out: [qc_html, bam_sorted_indexed, featurecounts]
+
+outputs:
+  qc_html:
+    type: File
+    outputSource: alignment/qc_html
+  bam_sorted_indexed:
+    type: File
+    outputSource: alignment/bam_sorted_indexed
+  featurecounts:
+    type: File
+    outputSource: alignment/featurecounts
+
+requirements:
+  SubworkflowFeatureRequirement: {}