removing unnecessary step, renaming cwl file
[arvados-tutorial.git] / cwl / gatk-haplotypecaller.cwl
index f10178301ae677c272e949e81bae0ff1dfd41689..1169f451eb127bffeb412c15b9fd3e811a123074 100644 (file)
@@ -2,17 +2,24 @@ cwlVersion: v1.1
 class: CommandLineTool
 label: Germline variant calling using GATK with output gvcf
 
+$namespaces:
+  arv: "http://arvados.org/cwl#"
+  cwltool: "http://commonwl.org/cwltool#"
+
 requirements:
   DockerRequirement:
-    dockerPull: broadinstitute/gatk
+    dockerPull: broadinstitute/gatk:4.1.7.0
   InitialWorkDirRequirement:
     listing:
       - $(inputs.bam)
 
 hints:
+  arv:RuntimeConstraints:
+    outputDirType: keep_output_dir
+    keep_cache: 1024 
   ResourceRequirement:
-    ramMin: 20000
-    coresMin: 4    
+    ramMin: 5000
+    coresMin: 2    
 
 inputs:
   bam:
@@ -41,7 +48,7 @@ baseCommand: /gatk/gatk
 
 arguments:
   - "--java-options"
-  - "-Xmx8G" 
+  - "-Xmx4G" 
   - HaplotypeCaller
   - prefix: "-R"
     valueFrom: $(inputs.reference)