Adding files for gathering gvcfs and cleaning gvcfs
[arvados-tutorial.git] / cwl / helper / gather-vcf.cwl
index 7bba8a9a52c5bbab520c24557fd559f825b7968f..8e5b29a8c6063496f152e5533b49721f449f9a26 100644 (file)
@@ -11,7 +11,6 @@ requirements:
   ShellCommandRequirement: {}
   InitialWorkDirRequirement:
     listing:
-      - $(inputs.gvcflist)
       - $(inputs.gvcf1)
       - $(inputs.gvcf2)
 
@@ -27,8 +26,6 @@ inputs:
     type: File
   gvcf2:
     type: File
-  gvcflist:
-    type: File
   sample: string
   reference:
     type: File
@@ -44,7 +41,7 @@ outputs:
   gatheredgvcf:
     type: File
     outputBinding:
-      glob: "*g.vcf.gz"
+      glob: "*.g.vcf.gz"
 
 baseCommand: /gatk/gatk
 
@@ -52,7 +49,9 @@ arguments:
   - "--java-options"
   - "-Xmx8G" 
   - GatherVcfs
-  - prefix: "-I"
-    valueFrom: $(inputs.gvcflist.basename) 
+  - "-I"
+  - $(inputs.gvcf1.basename) 
+  - "-I"
+  - $(inputs.gvcf2.basename)
   - prefix: "-O"
-    valueFrom: $(inputs.sample)g.vcf.gz
+    valueFrom: $(inputs.sample).g.vcf.gz