Adding cwl to convert gvcf to vcf
[arvados-tutorial.git] / cwl / report-wf.cwl
index f02dca752165ae28c359d5f9a86fc3137d5da7cb..de8ab3f67ce9b20bfd392a1ce31c2300926a00a6 100644 (file)
@@ -2,8 +2,10 @@ cwlVersion: v1.1
 class: Workflow
 
 inputs:
-  vcf: 
+  gvcf: 
     type: File
+  samplename:
+    type: string
   clinvarvcf:
     type: File
   reportfunc:
@@ -19,10 +21,17 @@ outputs:
     outputSource: generate-report/report
 
 steps:
+  gvcf-to-vcf:
+    run: gvcf-to-vcf.cwl
+    in:
+      gvcf: gvcf
+      samplename: samplename
+    out: [vcf]
+
   annotate:
     run: annotate-vcf.cwl
     in:
-      vcf: vcf
+      vcf: gvcf-to-vcf/vcf
       clinvarvcf: clinvarvcf
     out: [reporttxt]