Add more background to lesson 1.
[rnaseq-cwl-training.git] / lesson4 / answers / part2 / main.cwl
1 cwlVersion: v1.2
2 class: Workflow
3 label: RNAseq CWL practice workflow
4
5 ### 2. Scattering
6 inputs:
7   fq: File[]
8   genome: Directory
9   gtf: File
10
11 steps:
12   alignment:
13     run: alignment.cwl
14     scatter: fq
15     in:
16       fq: fq
17       genome: genome
18       gtf: gtf
19     out: [qc_html, bam_sorted_indexed, featurecounts]
20
21 outputs:
22   qc_html:
23     type: File[]
24     outputSource: alignment/qc_html
25   bam_sorted_indexed:
26     type: File[]
27     outputSource: alignment/bam_sorted_indexed
28   featurecounts:
29     type: File[]
30     outputSource: alignment/featurecounts
31
32 requirements:
33   SubworkflowFeatureRequirement: {}
34   ScatterFeatureRequirement: {}