# Workflow header cwlVersion: v1.2 class: Workflow label: RNAseq CWL practice workflow # Workflow Inputs inputs: fq: File genome: Directory gtf: File # Workflow Steps steps: fastqc: run: bio-cwl-tools/fastqc/fastqc_2.cwl in: reads_file: fq out: [html_file] # Running alignment with STAR STAR: run: bio-cwl-tools/STAR/STAR-Align.cwl in: RunThreadN: {default: 4} GenomeDir: genome ForwardReads: fq OutSAMtype: {default: BAM} SortedByCoordinate: {default: true} OutSAMunmapped: {default: Within} out: [alignment] # Running samtools samtools: run: bio-cwl-tools/samtools/samtools_index.cwl in: bam_sorted: STAR/alignment out: [bam_sorted_indexed] # Workflow Outputs outputs: qc_html: type: File outputSource: fastqc/html_file bam_sorted_indexed: type: File outputSource: samtools/bam_sorted_indexed