Updating to allow for two vcfs of known sites
[arvados-tutorial.git] / WGS-processing / cwl / helper / bwamem-gatk-report-wf.cwl
index ea5b93b53224b3cdf7b79dfab25c8d8a7351657c..76e4798bf270315a57d10a2363aa203487feedc1 100644 (file)
@@ -26,15 +26,24 @@ inputs:
       - .sa
       - .fai
       - ^.dict
+  fullintervallist:
+    type: File
+    label: Full list of intervals to operate over
   sample: 
     type: string
     label: Sample Name
-  knownsites:
+  knownsites1:
+    type: File
+    format: edam:format_3016 # VCF
+    label: VCF of known polymorphic sites for BQSR
+    secondaryFiles:
+      - .idx 
+  knownsites2:
     type: File
     format: edam:format_3016 # VCF
     label: VCF of known polymorphic sites for BQSR
     secondaryFiles:
-      - .tbi   
+      - .tbi  
   scattercount: 
     type: string
     label: Desired split for variant calling
@@ -47,18 +56,18 @@ inputs:
     label: Function used to create HTML report
   headhtml:
     type: File
-    format: edam:format_1964 # HTML
+    format: edam:format_2331 # HTML
     label: Header for HTML report
   tailhtml:
     type: File
-    format: edam:format_1964 # HTML
+    format: edam:format_2331 # HTML
     label: Footer for HTML report
 
 outputs:
   qc-html:
     type: File[]
     label: FASTQ QC reports
-    format: edam:format_1964 # HTML
+    format: edam:format_2331 # HTML
     outputSource: fastqc/out-html
   qc-zip:
     type: File[]
@@ -72,7 +81,7 @@ outputs:
   report:
     type: File  
     outputSource: generate-report/report
-    format: edam:format_1964 # HTML
+    format: edam:format_2331 # HTML
     label: ClinVar variant report
 
 steps:
@@ -110,10 +119,12 @@ steps:
     run: scatter-gatk-wf-with-interval.cwl 
     in:
       reference: reference
+      fullintervallist: fullintervallist
       bam: samtools-index/indexedbam
       sample: sample
       scattercount: scattercount
-      knownsites: knownsites
+      knownsites1: knownsites1
+      knownsites2: knownsites2
     out: [gatheredgvcf]
   generate-report:
     run: report-wf.cwl