aboutsummaryrefslogtreecommitdiff
path: root/workflows/pangenome-generate/query-to-gfa.cwl
diff options
context:
space:
mode:
authorPeter Amstutz2020-11-18 17:03:01 -0500
committerPeter Amstutz2020-11-18 17:05:12 -0500
commit81daa0acc4c4a0827e1c1198f054f4d4dacd1daf (patch)
treeb1370c876394e36cb65947dbb37b094536d117ed /workflows/pangenome-generate/query-to-gfa.cwl
parentee8ea88dd6b372143c6b08f56856666ce2d0b622 (diff)
downloadbh20-seq-resource-81daa0acc4c4a0827e1c1198f054f4d4dacd1daf.tar.gz
bh20-seq-resource-81daa0acc4c4a0827e1c1198f054f4d4dacd1daf.tar.lz
bh20-seq-resource-81daa0acc4c4a0827e1c1198f054f4d4dacd1daf.zip
Add query-to-gfa workflow
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Diffstat (limited to 'workflows/pangenome-generate/query-to-gfa.cwl')
-rw-r--r--workflows/pangenome-generate/query-to-gfa.cwl32
1 files changed, 32 insertions, 0 deletions
diff --git a/workflows/pangenome-generate/query-to-gfa.cwl b/workflows/pangenome-generate/query-to-gfa.cwl
new file mode 100644
index 0000000..2f3a20a
--- /dev/null
+++ b/workflows/pangenome-generate/query-to-gfa.cwl
@@ -0,0 +1,32 @@
+cwlVersion: v1.1
+class: Workflow
+requirements:
+ SubworkflowFeatureRequirement: {}
+inputs:
+ metadata: File
+ fasta:
+ type: File
+ secondaryFiles: [.fai]
+ query: string
+outputs:
+ odgiGraph:
+ type: File
+ outputSource: make-gfa/odgiGraph
+ spoaGFA:
+ type: File
+ outputSource: make-gfa/spoaGFA
+ readsMergeDedupSortedByQualAndLen:
+ type: File
+ outputSource: make-gfa/readsMergeDedupSortedByQualAndLen
+ mergedMetadata:
+ type: File
+ outputSource: make-gfa/mergedMetadata
+steps:
+ get-subset:
+ run: from_sparql.cwl
+ in: {metadata: metadata, query: query, fasta: fasta}
+ out: [selected]
+ make-gfa:
+ run: pangenome-generate_spoa.cwl
+ in: {metadata: metadata, seqs: get-subset/selected}
+ out: [odgiGraph, spoaGFA, readsMergeDedupSortedByQualAndLen, mergedMetadata]