cwlVersion: v1.2 class: Workflow label: RNAseq workflow inputs: fqdir: type: Directory loadListing: shallow_listing genome: Directory gtf: File steps: splitDir: in: fqdir: fqdir run: helper/splitDir.cwl out: [fq] alignment: run: helper/alignment.cwl scatter: fq in: fq: splitDir/fq genome: genome gtf: gtf out: [qc_html, bam_sorted_indexed] featureCounts: requirements: ResourceRequirement: ramMin: 500 run: helper/featureCounts.cwl in: counts_input_bam: alignment/bam_sorted_indexed gtf: gtf out: [featurecounts] output-subdirs: run: helper/subdirs.cwl in: fq: splitDir/fq bams: alignment/bam_sorted_indexed qc: alignment/qc_html out: [dirs] outputs: dirs: type: Directory[] outputSource: output-subdirs/dirs featurecounts: type: File outputSource: featureCounts/featurecounts requirements: SubworkflowFeatureRequirement: {} ScatterFeatureRequirement: {} StepInputExpressionRequirement: {}