Fixing labels for knownsites
[arvados-tutorial.git] / WGS-processing / cwl / helper / gatk-wf-with-interval.cwl
index cf815a5178cb9ab03c769f5acc11de7fe5f8fd8e..b3ea17f6eefda46ac0616ae4eeee0d4507768d73 100644 (file)
@@ -1,9 +1,9 @@
 cwlVersion: v1.1
 class: Workflow
-label: Variant calling workflow for given interval 
+label: Variant calling workflow for given interval
 
 requirements:
-  - class: SubworkflowFeatureRequirement
+  SubworkflowFeatureRequirement: {}
 
 inputs:
   bam:
@@ -24,18 +24,24 @@ inputs:
       - .sa
       - .fai
       - ^.dict
-  sample: 
+  sample:
     type: string
     label: Sample Name
   knownsites1:
     type: File
     format: edam:format_3016 # VCF
-    label: VCF of known polymorphic sites for BQSR
+    label: VCF of known SNPS sites for BQSR
+    secondaryFiles:
+      - .idx
+  knownsites2:
+    type: File
+    format: edam:format_3016 # VCF
+    label: VCF of known indel sites for BQSR
     secondaryFiles:
       - .tbi
   intervallist:
     type: File
-    label: Scatter intervals file 
+    label: Scatter intervals file
 
 outputs:
   gvcf:
@@ -52,11 +58,12 @@ steps:
       reference: reference
       sample: sample
       knownsites1: knownsites1
+      knownsites2: knownsites2
       intervallist: intervallist
     out: [recaltable]
   applyBQSR:
     run: gatk-applyBSQR-with-interval.cwl
-    in: 
+    in:
       reference: reference
       bam: bam
       sample: sample
@@ -73,7 +80,7 @@ steps:
     out: [gvcf]
   selectvariants:
     run: gatk-selectvariants.cwl
-    in: 
+    in:
       gvcf: haplotypecaller/gvcf
       reference: reference
       sample: sample
@@ -86,6 +93,6 @@ $namespaces:
  s: https://schema.org/
  edam: http://edamontology.org/
 
-$schemas:
- - https://schema.org/version/latest/schema.rdf
- - http://edamontology.org/EDAM_1.18.owl
+#$schemas:
+# - https://schema.org/version/latest/schema.rdf
+# - http://edamontology.org/EDAM_1.18.owl