Second pass. Lots of work.
[rnaseq-cwl-training.git] / answers / ep2 / main.cwl
index bad27f4f21a58fc3763459d9387e6503d5d5c5a5..cb1ef842a3f114e321b2aa8bfb19f99e5d62c844 100644 (file)
@@ -1,15 +1,15 @@
-### 1. File header
+# Workflow header
 cwlVersion: v1.2
 class: Workflow
 label: RNAseq CWL practice workflow
 
-### 2. Workflow Inputs
+# Workflow Inputs
 inputs:
   fq: File
   genome: Directory
   gtf: File
 
-### 3. Workflow Steps
+# Workflow Steps
 steps:
   fastqc:
     run: bio-cwl-tools/fastqc/fastqc_2.cwl
@@ -17,11 +17,8 @@ steps:
       reads_file: fq
     out: [html_file]
 
-  ### 4. Running alignment with STAR
+  # Running alignment with STAR
   STAR:
-    requirements:
-      ResourceRequirement:
-        ramMin: 6000
     run: bio-cwl-tools/STAR/STAR-Align.cwl
     in:
       RunThreadN: {default: 4}
@@ -31,14 +28,14 @@ steps:
       OutSAMunmapped: {default: Within}
     out: [alignment]
 
-  ### 5. Running samtools
+  # Running samtools
   samtools:
     run: bio-cwl-tools/samtools/samtools_index.cwl
     in:
       bam_sorted: STAR/alignment
     out: [bam_sorted_indexed]
 
-### 7. Workflow Outputs
+# Workflow Outputs
 outputs:
   qc_html:
     type: File