From b8a53604de36eb2db95b492a5b5f74128a84aebf Mon Sep 17 00:00:00 2001 From: Sarah Wait Zaranek Date: Wed, 24 Jun 2020 15:25:10 +0000 Subject: [PATCH] Adding labels and formats to cwl Arvados-DCO-1.1-Signed-off-by: Sarah Wait Zaranek no issue # --- WGS-processing/cwl/helper/annotate-vcf.cwl | 1 + .../cwl/helper/bwamem-samtools-view.cwl | 3 +- WGS-processing/cwl/wgs-processing-wf.cwl | 49 +++++++++++++++---- 3 files changed, 43 insertions(+), 10 deletions(-) diff --git a/WGS-processing/cwl/helper/annotate-vcf.cwl b/WGS-processing/cwl/helper/annotate-vcf.cwl index 019fa1a..be3483c 100644 --- a/WGS-processing/cwl/helper/annotate-vcf.cwl +++ b/WGS-processing/cwl/helper/annotate-vcf.cwl @@ -1,5 +1,6 @@ cwlVersion: v1.1 class: CommandLineTool +label: Annotating and Filtering VCF requirements: - class: DockerRequirement diff --git a/WGS-processing/cwl/helper/bwamem-samtools-view.cwl b/WGS-processing/cwl/helper/bwamem-samtools-view.cwl index f53516b..c539325 100644 --- a/WGS-processing/cwl/helper/bwamem-samtools-view.cwl +++ b/WGS-processing/cwl/helper/bwamem-samtools-view.cwl @@ -1,6 +1,7 @@ cwlVersion: v1.1 class: CommandLineTool -label: Realigning fastqs and converting output to bam +label: Aligning fastqs with BWA + $namespaces: arv: "http://arvados.org/cwl#" cwltool: "http://commonwl.org/cwltool#" diff --git a/WGS-processing/cwl/wgs-processing-wf.cwl b/WGS-processing/cwl/wgs-processing-wf.cwl index 89237b1..a6218bd 100644 --- a/WGS-processing/cwl/wgs-processing-wf.cwl +++ b/WGS-processing/cwl/wgs-processing-wf.cwl @@ -1,15 +1,19 @@ cwlVersion: v1.1 class: Workflow -label: Main WGS Processing Workflow +label: WGS processing workflow scattered over samples requirements: - class: SubworkflowFeatureRequirement - class: ScatterFeatureRequirement inputs: - fastqdir: Directory + fastqdir: + type: Directory + label: Directory of paired FASTQ files reference: type: File + format: edam:format_1929 # FASTA + label: Reference genome secondaryFiles: - .amb - .ann @@ -18,24 +22,46 @@ inputs: - .sa - .fai - ^.dict - sample: string + sample: + type: string + label: Sample name knownsites: type: File + format: edam:format_3016 # VCF + label: VCF of known polymorphic sites for BQSR secondaryFiles: - .tbi - scattercount: string - clinvarvcf: File - reportfunc: File - headhtml: File - tailhtml: File + scattercount: + type: string + label: Desired split for variant calling + clinvarvcf: + type: File + format: edam:format_3016 # VCF + label: Reference VCF for ClinVar + reportfunc: + type: File + label: Function used to create HTML report + headhtml: + type: File + format: edam:format_1964 # HTML + label: Header for HTML report + tailhtml: + type: File + format: edam:format_1964 # HTML + label: Footer for HTML report outputs: gvcf: type: File[] outputSource: bwamem-gatk-report/gvcf + format: edam:format_3016 # GVCF + label: GVCFs generated from sets of fastqs + report: type: File[] outputSource: bwamem-gatk-report/report + format: edam:format_1964 # HTML + label: ClinVar variant reports steps: getfastq: @@ -65,4 +91,9 @@ s:codeRepository: https://github.com/arvados/arvados-tutorial s:license: https://www.gnu.org/licenses/agpl-3.0.en.html $namespaces: - s: https://schema.org/ + s: https://schema.org/ + edam: http://edamontology.org/ + +$schemas: + - https://schema.org/version/latest/schema.rdf + - http://edamontology.org/EDAM_1.18.owl -- 2.30.2