X-Git-Url: https://git.arvados.org/arvados-tutorial.git/blobdiff_plain/a5a391be09c8e08c5b35ac0ba76f5d9634e6ed41..c604c42bb92a6301b13a250582eabed509adaae1:/WGS-processing/cwl/helper/annotate-vcf.cwl diff --git a/WGS-processing/cwl/helper/annotate-vcf.cwl b/WGS-processing/cwl/helper/annotate-vcf.cwl index 310753c..1e028c4 100644 --- a/WGS-processing/cwl/helper/annotate-vcf.cwl +++ b/WGS-processing/cwl/helper/annotate-vcf.cwl @@ -3,22 +3,32 @@ class: CommandLineTool label: Annotate and filter VCF requirements: - - class: DockerRequirement + DockerRequirement: dockerPull: curii/clinvar-report - - class: ShellCommandRequirement + ShellCommandRequirement: {} hints: ResourceRequirement: ramMin: 10000 coresMin: 4 + SoftwareRequirement: + packages: + BCFtools: + specs: [ "https://identifiers.org/rrid/RRID:SCR_005227" ] + version: [ "1.10.2" ] stdout: $(inputs.vcf.nameroot).txt inputs: vcf: type: File + format: edam:format_3016 # VCF + label: VCF extracted from GVCF + secondaryFiles: [.tbi] clinvarvcf: type: File + format: edam:format_3016 # VCF + label: Reference VCF for ClinVar outputs: reporttxt: stdout @@ -41,3 +51,11 @@ arguments: - query - prefix: "-f" valueFrom: "%ID\t%CHROM\t%POS\t%REF\t%ALT\t%INFO/ALLELEID\t%INFO/CLNSIG\t%INFO/CLNDN\t%INFO/AF_ESP\t%INFO/AF_EXAC\t%INFO/AF_TGP[\t%GT]\n" + +$namespaces: + s: https://schema.org/ + edam: http://edamontology.org/ + +#$schemas: +# - https://schema.org/version/latest/schema.rdf +# - http://edamontology.org/EDAM_1.18.owl