aboutsummaryrefslogtreecommitdiff
path: root/workflows/phylogeny/newick.cwl
diff options
context:
space:
mode:
authorNjagi Mwaniki2021-01-26 13:44:01 +0300
committerNjagi Mwaniki2021-01-26 15:06:57 +0300
commit4842117f530aba08b4a253aee533a8d4802b1c12 (patch)
tree150bef4a574486db9e7c16d87be89ad219d84bb1 /workflows/phylogeny/newick.cwl
parentb112b3203e34ea61dfdf802bce5036f938eaa774 (diff)
downloadbh20-seq-resource-4842117f530aba08b4a253aee533a8d4802b1c12.tar.gz
bh20-seq-resource-4842117f530aba08b4a253aee533a8d4802b1c12.tar.lz
bh20-seq-resource-4842117f530aba08b4a253aee533a8d4802b1c12.zip
Add phylogeny workflow
Signed-off-by: Njagi Mwaniki <njagi@urbanslug.com>
Diffstat (limited to 'workflows/phylogeny/newick.cwl')
-rw-r--r--workflows/phylogeny/newick.cwl49
1 files changed, 49 insertions, 0 deletions
diff --git a/workflows/phylogeny/newick.cwl b/workflows/phylogeny/newick.cwl
new file mode 100644
index 0000000..e1e78f7
--- /dev/null
+++ b/workflows/phylogeny/newick.cwl
@@ -0,0 +1,49 @@
+#!/usr/bin/env cwl-runner
+
+cwlVersion: v1.1
+
+class: CommandLineTool
+baseCommand: python
+
+inputs:
+ main_py_script:
+ type: File
+ inputBinding:
+ position: 1
+
+ newick:
+ type: string
+ inputBinding:
+ position: 2
+
+ newick_dimensions:
+ type: int
+ inputBinding:
+ position: 3
+ prefix: -d
+
+ newick_coverage_matrix:
+ type: File
+ inputBinding:
+ position: 3
+
+ newick_metadata:
+ type: string
+ inputBinding:
+ position: 4
+
+ newick_tree:
+ type: string
+ inputBinding:
+ position: 5
+
+outputs:
+ metadata_out:
+ type: File
+ outputBinding:
+ glob: 'metadata.tsv'
+
+ newick_tree_out:
+ type: File
+ outputBinding:
+ glob: '*.nwk' \ No newline at end of file