X-Git-Url: https://git.arvados.org/arvados-tutorial.git/blobdiff_plain/cac99e0d9185a3817a89a245921bbf25c946434d..5b4f2a85bedfad9e72e406e3e1990afc913c9da2:/RNA-Seq/cwl/RNA-seq-wf.cwl diff --git a/RNA-Seq/cwl/RNA-seq-wf.cwl b/RNA-Seq/cwl/RNA-seq-wf.cwl new file mode 100644 index 0000000..97461ce --- /dev/null +++ b/RNA-Seq/cwl/RNA-seq-wf.cwl @@ -0,0 +1,50 @@ +cwlVersion: v1.2 +class: Workflow +label: RNAseq CWL practice workflow + +inputs: + fq: File[] + genome: Directory + gtf: File + +steps: + alignment: + run: alignment.cwl + scatter: fq + in: + fq: fq + genome: genome + gtf: gtf + out: [qc_html, bam_sorted_indexed] + + featureCounts: + requirements: + ResourceRequirement: + ramMin: 500 + run: featureCounts.cwl + in: + counts_input_bam: alignment/bam_sorted_indexed + gtf: gtf + out: [featurecounts] + + ### 2. Organizing output files into Directories + output-subdirs: + run: subdirs.cwl + in: + fq: 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: {}