Updating HTML edam comments
[arvados-tutorial.git] / WGS-processing / cwl / helper / report-wf.cwl
index de8ab3f67ce9b20bfd392a1ce31c2300926a00a6..9e675ff81e6408446c66bdc056040d3169b39d25 100644 (file)
@@ -1,23 +1,36 @@
 cwlVersion: v1.1
 class: Workflow
+label: Report generation workflow
 
 inputs:
-  gvcf: 
+  gvcf:
     type: File
-  samplename:
+    format: edam:format_3016 # GVCF
+    label: Gathered GVCF
+  sample:
     type: string
+    label: Sample Name
   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
-  tailhtml:   
+    format: edam:format_2331 # HTML
+    label: Header for HTML report
+  tailhtml:
     type: File
+    format: edam:format_2331 # HTML
+    label: Footer for HTML report
 
 outputs:
   report:
     type: File
+    format: edam:format_2331 # HTML
+    label: ClinVar variant report
     outputSource: generate-report/report
 
 steps:
@@ -25,21 +38,31 @@ steps:
     run: gvcf-to-vcf.cwl
     in:
       gvcf: gvcf
-      samplename: samplename
+      sample: sample
     out: [vcf]
-
   annotate:
     run: annotate-vcf.cwl
     in:
       vcf: gvcf-to-vcf/vcf
       clinvarvcf: clinvarvcf
     out: [reporttxt]
-
   generate-report:
     run: generate-report.cwl
     in:
       reportfunc: reportfunc
       sampletxt: annotate/reporttxt
+      sample: sample
       headhtml: headhtml
       tailhtml: tailhtml
     out: [report]
+
+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/
+ edam: http://edamontology.org/
+
+#$schemas:
+# - https://schema.org/version/latest/schema.rdf
+# - http://edamontology.org/EDAM_1.18.owl