about summary refs log tree commit diff
path: root/workflows/pangenome-generate/odgi-viz.cwl
diff options
context:
space:
mode:
Diffstat (limited to 'workflows/pangenome-generate/odgi-viz.cwl')
-rw-r--r--workflows/pangenome-generate/odgi-viz.cwl25
1 files changed, 25 insertions, 0 deletions
diff --git a/workflows/pangenome-generate/odgi-viz.cwl b/workflows/pangenome-generate/odgi-viz.cwl
new file mode 100644
index 0000000..d440fcb
--- /dev/null
+++ b/workflows/pangenome-generate/odgi-viz.cwl
@@ -0,0 +1,25 @@
+cwlVersion: v1.1
+class: CommandLineTool
+inputs:
+  inputODGI: File
+outputs:
+  odgiPNG:
+    type: File
+    outputBinding:
+      glob: $(inputs.inputODGI.nameroot).png
+requirements:
+  InlineJavascriptRequirement: {}
+hints:
+  DockerRequirement:
+    dockerPull: "quay.io/biocontainers/odgi:v0.3--py37h8b12597_0"
+  ResourceRequirement:
+    coresMin: 4
+    ramMin: $(7 * 1024)
+    outdirMin: 1
+baseCommand: [odgi, viz]
+arguments: [-i, $(inputs.inputODGI),
+            -o, $(inputs.inputODGI.nameroot).png,
+            -x, "50000",
+            -y, "500",
+            -R,
+            -P, "4"]