updating for metadata and yml to check command line cwl
[arvados-tutorial.git] / WGS-processing / cwl / helper / gatk-selectvariants.cwl
index 66b5d5c0bb552cb89237881dbd54a41dff198e76..8e7031abe7581905650ac2cd220689357856aaf5 100644 (file)
@@ -1,9 +1,6 @@
 cwlVersion: v1.1
 class: CommandLineTool
-
-$namespaces:
-  arv: "http://arvados.org/cwl#"
-  cwltool: "http://commonwl.org/cwltool#"
+label: Filter unused alternates 
 
 requirements:
   DockerRequirement:
@@ -16,14 +13,23 @@ hints:
   ResourceRequirement:
     ramMin: 5000
     coresMin: 2
+  SoftwareRequirement:
+    packages:
+      GATK:
+        specs: [ "https://identifiers.org/rrid/RRID:SCR_001876" ]
+        version: [ "4.1.7" ]
 
 inputs:
   gvcf:
     type: File
+    format: edam:format_3016 # GVCF
+    label: GVCF for given interval
     secondaryFiles:
       - .tbi
   reference:
     type: File
+    format: edam:format_1929 # FASTA
+    label: Reference genome
     secondaryFiles:
       - .amb
       - .ann
@@ -32,11 +38,15 @@ inputs:
       - .sa
       - .fai
       - ^.dict
-  sample: string
+  sample: 
+    type: string
+    label: Sample Name
 
 outputs:
   filteredgvcf:
     type: File
+    format: edam:format_3016 # GVCF
+    label: Given interval filtered GVCF 
     outputBinding:
       glob: "*g.vcf.gz"
 
@@ -54,3 +64,16 @@ arguments:
     valueFrom: $(inputs.gvcf.path)
   - prefix: "-O"
     valueFrom: selected$(inputs.gvcf.basename)
+
+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/
+ arv: "http://arvados.org/cwl#"
+ cwltool: "http://commonwl.org/cwltool#"
+
+$schemas:
+ - https://schema.org/version/latest/schema.rdf
+ - http://edamontology.org/EDAM_1.18.owl