Adding cwl to annotate and generate report
[arvados-tutorial.git] / cwl / generate-report.cwl
diff --git a/cwl/generate-report.cwl b/cwl/generate-report.cwl
new file mode 100644 (file)
index 0000000..0c438d4
--- /dev/null
@@ -0,0 +1,36 @@
+cwlVersion: v1.1
+class: CommandLineTool
+
+requirements:
+  DockerRequirement:
+    dockerPull: curii/clinvar-report
+
+hints:
+  ResourceRequirement:
+    ramMin: 10000
+    coresMin: 4    
+
+baseCommand: python
+
+arguments:
+  - $(inputs.reportfunc)
+  - $(inputs.sampletxt)
+  - $(inputs.sampletxt.basename)
+  - $(inputs.headhtml)
+  - $(inputs.tailhtml)
+
+inputs:
+  reportfunc:
+    type: File
+  sampletxt:
+    type: File
+  headhtml:
+    type: File
+  tailhtml:
+    type: File
+    
+outputs:
+  report:
+    type: File
+    outputBinding:
+      glob: "*html"