X-Git-Url: https://git.arvados.org/arvados-tutorial.git/blobdiff_plain/7a2d69e125ee52fd3a7a6eeca6f673c6a083033e..c604c42bb92a6301b13a250582eabed509adaae1:/WGS-processing/cwl/helper/gatk-baserecalibrator-with-interval.cwl diff --git a/WGS-processing/cwl/helper/gatk-baserecalibrator-with-interval.cwl b/WGS-processing/cwl/helper/gatk-baserecalibrator-with-interval.cwl index 6df9de1..ea00e91 100644 --- a/WGS-processing/cwl/helper/gatk-baserecalibrator-with-interval.cwl +++ b/WGS-processing/cwl/helper/gatk-baserecalibrator-with-interval.cwl @@ -1,13 +1,10 @@ cwlVersion: v1.1 class: CommandLineTool -label: Generate recalibration table for BQSR +label: Generate recalibration table for BQSR requirements: DockerRequirement: dockerPull: broadinstitute/gatk:4.1.7.0 - InitialWorkDirRequirement: - listing: - - $(inputs.bam) hints: arv:RuntimeConstraints: @@ -44,10 +41,16 @@ inputs: sample: type: string label: Sample Name - knownsites: + 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 intervallist: @@ -70,9 +73,11 @@ arguments: - prefix: "-R" valueFrom: $(inputs.reference) - prefix: "-I" - valueFrom: $(inputs.bam.basename) + valueFrom: $(inputs.bam) + - prefix: "--known-sites" + valueFrom: $(inputs.knownsites1) - prefix: "--known-sites" - valueFrom: $(inputs.knownsites) + valueFrom: $(inputs.knownsites2) - prefix: "-L" valueFrom: $(inputs.intervallist) - prefix: "-O" @@ -87,6 +92,6 @@ $namespaces: arv: "http://arvados.org/cwl#" cwltool: "http://commonwl.org/cwltool#" -$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