aboutsummaryrefslogtreecommitdiff
path: root/workflows/pangenome-generate/relabel-seqs.cwl
diff options
context:
space:
mode:
authorPeter Amstutz2020-04-20 14:57:25 -0400
committerPeter Amstutz2020-04-20 14:57:25 -0400
commit9ddcfeacb3191638f42b08af999889d867f0f81c (patch)
tree4cfe4c2b1df38bf6e5c79f5f8c0700407f76a472 /workflows/pangenome-generate/relabel-seqs.cwl
parentd29dfd593233541b85c1cefb239650279d57d59f (diff)
downloadbh20-seq-resource-9ddcfeacb3191638f42b08af999889d867f0f81c.tar.gz
bh20-seq-resource-9ddcfeacb3191638f42b08af999889d867f0f81c.tar.lz
bh20-seq-resource-9ddcfeacb3191638f42b08af999889d867f0f81c.zip
Better handling of duplicate sequences
Also save original fasta label in metadata
Diffstat (limited to 'workflows/pangenome-generate/relabel-seqs.cwl')
-rw-r--r--workflows/pangenome-generate/relabel-seqs.cwl10
1 files changed, 8 insertions, 2 deletions
diff --git a/workflows/pangenome-generate/relabel-seqs.cwl b/workflows/pangenome-generate/relabel-seqs.cwl
index b5b7231..2b780d4 100644
--- a/workflows/pangenome-generate/relabel-seqs.cwl
+++ b/workflows/pangenome-generate/relabel-seqs.cwl
@@ -5,7 +5,13 @@ inputs:
subjects: string[]
outputs:
relabeledSeqs:
- type: stdout
+ type: File
+ outputBinding:
+ glob: relabeledSeqs.fasta
+ originalLabels:
+ type: File
+ outputBinding:
+ glob: originalLabels.ttl
requirements:
InlineJavascriptRequirement: {}
InitialWorkDirRequirement:
@@ -15,5 +21,5 @@ requirements:
hints:
DockerRequirement:
dockerPull: commonworkflowlanguage/cwltool_module
-stdout: relabeledSeqs.fasta
+stdout:
baseCommand: [python, relabel-seqs.py]