X-Git-Url: https://git.arvados.org/arvados-tutorial.git/blobdiff_plain/8d016e850b2ae0ed8170d44de36ec476f2a5c836..37c7841cd802e86ef51046b56331c1fd39b9a853:/WGS-processing/cwl/helper/scatter-gatk-wf-with-interval.cwl diff --git a/WGS-processing/cwl/helper/scatter-gatk-wf-with-interval.cwl b/WGS-processing/cwl/helper/scatter-gatk-wf-with-interval.cwl index 17bb13e..7e48e04 100644 --- a/WGS-processing/cwl/helper/scatter-gatk-wf-with-interval.cwl +++ b/WGS-processing/cwl/helper/scatter-gatk-wf-with-interval.cwl @@ -1,10 +1,10 @@ cwlVersion: v1.1 class: Workflow -label: Scattered variant calling workflow +label: Scattered variant calling workflow requirements: - - class: SubworkflowFeatureRequirement - - class: ScatterFeatureRequirement + SubworkflowFeatureRequirement: {} + ScatterFeatureRequirement: {} inputs: bam: @@ -25,16 +25,25 @@ inputs: - .sa - .fai - ^.dict - sample: + fullintervallist: + type: File + label: Full list of intervals to operate over + sample: type: string label: Sample Name knownsites1: type: File format: edam:format_3016 # VCF - label: VCF of known polymorphic sites for BQSR + label: VCF of known SNPS sites for BQSR + secondaryFiles: + - .idx + knownsites2: + type: File + format: edam:format_3016 # VCF + label: VCF of known indel sites for BQSR secondaryFiles: - .tbi - scattercount: + scattercount: type: string label: Desired split for variant calling @@ -42,21 +51,22 @@ outputs: gatheredgvcf: type: File format: edam:format_3016 # GVCF - label: GVCF generated from GATK Haplotype Caller - secondaryFiles: + label: Gathered GVCF + secondaryFiles: - .tbi - outputSource: merge-GVCFs/gatheredgvcf + outputSource: gather-GVCFs/gatheredgvcf steps: splitintervals: run: gatk-splitintervals.cwl in: reference: reference + fullintervallist: fullintervallist sample: sample scattercount: scattercount out: [intervalfiles] - recal-haplotypecaller: + recal-haplotypecaller: run: gatk-wf-with-interval.cwl scatter: intervallist in: @@ -64,16 +74,17 @@ steps: reference: reference sample: sample knownsites1: knownsites1 + knownsites2: knownsites2 intervallist: splitintervals/intervalfiles out: [gvcf] - merge-GVCFs: + gather-GVCFs: run: gather-array-vcf.cwl in: gvcfarray: recal-haplotypecaller/gvcf sample: sample reference: reference - out: [gatheredgvcf] + out: [gatheredgvcf] s:codeRepository: https://github.com/arvados/arvados-tutorial s:license: https://www.gnu.org/licenses/agpl-3.0.en.html @@ -82,6 +93,6 @@ $namespaces: s: https://schema.org/ edam: http://edamontology.org/ -$schemas: - - https://schema.org/version/latest/schema.rdf - - http://edamontology.org/EDAM_1.18.owl +#$schemas: +# - https://schema.org/version/latest/schema.rdf +# - http://edamontology.org/EDAM_1.18.owl