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