Removing white space and commenting out schemas
[arvados-tutorial.git] / WGS-processing / cwl / helper / gatk-wf-with-interval.cwl
index 4e9f456b24fec167cc3098a71560395254dd74da..a5d1993652859aacc0430f982f2b50851336d8ac 100644 (file)
@@ -1,5 +1,6 @@
 cwlVersion: v1.1
 class: Workflow
+label: Variant calling workflow for given interval
 
 requirements:
   - class: SubworkflowFeatureRequirement
@@ -7,10 +8,14 @@ requirements:
 inputs:
   bam:
     type: File
+    format: edam:format_2572 # BAM
+    label: Indexed sorted BAM with labeled duplicates
     secondaryFiles:
       - .bai
   reference:
     type: File
+    format: edam:format_1929 # FASTA
+    label: Reference genome
     secondaryFiles:
       - .amb
       - .ann
@@ -19,17 +24,24 @@ inputs:
       - .sa
       - .fai
       - ^.dict
-  sample: string
-  knownsites1:
+  sample:
+    type: string
+    label: Sample Name
+  knownsites:
     type: File
+    format: edam:format_3016 # VCF
+    label: VCF of known polymorphic sites for BQSR
     secondaryFiles:
       - .tbi
   intervallist:
     type: File
+    label: Scatter intervals file
 
 outputs:
   gvcf:
     type: File
+    format: edam:format_3016 # GVCF
+    label: Given interval filtered GVCF
     outputSource: selectvariants/filteredgvcf
 
 steps:
@@ -39,12 +51,12 @@ steps:
       bam: bam
       reference: reference
       sample: sample
-      knownsites1: knownsites1
+      knownsites: knownsites
       intervallist: intervallist
     out: [recaltable]
   applyBQSR:
     run: gatk-applyBSQR-with-interval.cwl
-    in: 
+    in:
       reference: reference
       bam: bam
       sample: sample
@@ -61,8 +73,19 @@ steps:
     out: [gvcf]
   selectvariants:
     run: gatk-selectvariants.cwl
-    in: 
+    in:
       gvcf: haplotypecaller/gvcf
       reference: reference
       sample: sample
     out: [filteredgvcf]
+
+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