#!/usr/bin/env cwl-runner cwlVersion: v1.0 class: Workflow label: "bgzip and index VCF" inputs: vcf: type: File outputs: indexed_vcf: type: File outputSource: index/indexed_vcf secondaryFiles: [.tbi] steps: bgzip: run: ../detect_variants/bgzip.cwl in: file: vcf out: [bgzipped_file] index: run: ../detect_variants/index_vcf.cwl in: vcf: bgzip/bgzipped_file out: [indexed_vcf]