aboutsummaryrefslogtreecommitdiff
path: root/workflows/pangenome-generate/pangenome-generate.cwl
diff options
context:
space:
mode:
authorPeter Amstutz2020-04-20 13:41:56 -0400
committerPeter Amstutz2020-04-20 13:41:56 -0400
commitd29dfd593233541b85c1cefb239650279d57d59f (patch)
tree51fa615a05a2606021bdf8c537ad8b36ae4e0a8c /workflows/pangenome-generate/pangenome-generate.cwl
parentd781e42c9adac07253cb928ae66e9b7314710267 (diff)
downloadbh20-seq-resource-d29dfd593233541b85c1cefb239650279d57d59f.tar.gz
bh20-seq-resource-d29dfd593233541b85c1cefb239650279d57d59f.tar.lz
bh20-seq-resource-d29dfd593233541b85c1cefb239650279d57d59f.zip
Relabel sequences to match metadata subjects.
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.cwl12
1 files changed, 11 insertions, 1 deletions
diff --git a/workflows/pangenome-generate/pangenome-generate.cwl b/workflows/pangenome-generate/pangenome-generate.cwl
index 2710743..896f936 100644
--- a/workflows/pangenome-generate/pangenome-generate.cwl
+++ b/workflows/pangenome-generate/pangenome-generate.cwl
@@ -22,8 +22,18 @@ outputs:
type: File
outputSource: mergeMetadata/merged
steps:
+ relabel:
+ in:
+ readsFA: inputReads
+ subjects: subjects
+ out: [relabeledSeqs]
+ run: relabel-seqs.cwl
+ common:
+ in: {readsFA: relabel/relabeledSeqs}
+ out: [duplicatedReads]
+ run: seqkit-common.cwl
dedup:
- in: {readsFA: inputReads}
+ in: {readsFA: relabel/relabeledSeqs}
out: [readsMergeDedup]
run: seqkit-rmdup.cwl
overlapReads: