Updating annotation and gatk code
[arvados-tutorial.git] / cwl / annotate-vcf.cwl
index 5a5c84f6e48630596d283a2ba6dd45e7881adf8a..019fa1ab5d53f65982928ec7a74197e76340a321 100644 (file)
@@ -13,6 +13,14 @@ hints:
 
 stdout: $(inputs.vcf.nameroot).txt
 
+inputs:
+  vcf:
+    type: File
+  clinvarvcf:
+    type: File
+outputs:
+  reporttxt: stdout
+
 arguments:
   - bcftools
   - annotate
@@ -26,12 +34,8 @@ arguments:
   - filter
   - prefix: "-i"
     valueFrom: "INFO/ALLELEID>=1"
-
-inputs: 
-  vcf:
-    type: File
-  clinvarvcf:
-    type: File
-  
-outputs:
-  report: stdout
+  - {valueFrom: '|', shellQuote: false}
+  - bcftools
+  - query
+  - prefix: "-f"
+    valueFrom: "%ID\t%CHROM\t%POS\t%REF\t%ALT\t%INFO/ALLELEID\t%INFO/CLNSIG\t%INFO/CLNDN\t%INFO/AF_ESP\t%INFO/AF_EXAC\t%INFO/AF_TGP[\t%GT]\n"