aboutsummaryrefslogtreecommitdiff
path: root/workflows/pangenome-generate/pangenome-generate.cwl
diff options
context:
space:
mode:
authorPeter Amstutz2020-04-20 12:55:18 -0400
committerPeter Amstutz2020-04-20 12:55:18 -0400
commitd781e42c9adac07253cb928ae66e9b7314710267 (patch)
tree4718165cbc069169eaff98080c61c5f07763ffc1 /workflows/pangenome-generate/pangenome-generate.cwl
parent1219eaf496c899f3043b90e30eb956f0f363bfb3 (diff)
downloadbh20-seq-resource-d781e42c9adac07253cb928ae66e9b7314710267.tar.gz
bh20-seq-resource-d781e42c9adac07253cb928ae66e9b7314710267.tar.lz
bh20-seq-resource-d781e42c9adac07253cb928ae66e9b7314710267.zip
Move workflows into main repo
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Diffstat (limited to 'workflows/pangenome-generate/pangenome-generate.cwl')
-rw-r--r--workflows/pangenome-generate/pangenome-generate.cwl57
1 files changed, 57 insertions, 0 deletions
diff --git a/workflows/pangenome-generate/pangenome-generate.cwl b/workflows/pangenome-generate/pangenome-generate.cwl
new file mode 100644
index 0000000..2710743
--- /dev/null
+++ b/workflows/pangenome-generate/pangenome-generate.cwl
@@ -0,0 +1,57 @@
+cwlVersion: v1.1
+class: Workflow
+inputs:
+ inputReads: File[]
+ metadata: File[]
+ metadataSchema: File
+ subjects: string[]
+outputs:
+ odgiGraph:
+ type: File
+ outputSource: buildGraph/odgiGraph
+ odgiPNG:
+ type: File
+ outputSource: vizGraph/odgiPNG
+ seqwishGFA:
+ type: File
+ outputSource: induceGraph/seqwishGFA
+ odgiRDF:
+ type: File
+ outputSource: odgi2rdf/rdf
+ mergedMetadata:
+ type: File
+ outputSource: mergeMetadata/merged
+steps:
+ dedup:
+ in: {readsFA: inputReads}
+ out: [readsMergeDedup]
+ run: seqkit-rmdup.cwl
+ overlapReads:
+ in: {readsFA: dedup/readsMergeDedup}
+ out: [readsPAF]
+ run: minimap2.cwl
+ induceGraph:
+ in:
+ readsFA: dedup/readsMergeDedup
+ readsPAF: overlapReads/readsPAF
+ out: [seqwishGFA]
+ run: seqwish.cwl
+ buildGraph:
+ in: {inputGFA: induceGraph/seqwishGFA}
+ out: [odgiGraph]
+ run: odgi-build.cwl
+ vizGraph:
+ in: {inputODGI: buildGraph/odgiGraph}
+ out: [odgiPNG]
+ run: odgi-viz.cwl
+ odgi2rdf:
+ in: {odgi: buildGraph/odgiGraph}
+ out: [rdf]
+ run: odgi_to_rdf.cwl
+ mergeMetadata:
+ in:
+ metadata: metadata
+ metadataSchema: metadataSchema
+ subjects: subjects
+ out: [merged]
+ run: merge-metadata.cwl