aboutsummaryrefslogtreecommitdiff
path: root/workflows/pangenome-generate/odgi-build-from-spoa-gfa.cwl
diff options
context:
space:
mode:
authorPeter Amstutz2020-08-19 15:15:57 -0400
committerPeter Amstutz2020-08-19 16:31:38 -0400
commitd1e8809a15ae74d0b847abb80f9f63f53078e1d6 (patch)
tree77a62801b9e8928889d85dadccf1ffce85b2e0cb /workflows/pangenome-generate/odgi-build-from-spoa-gfa.cwl
parentb3d2ccf951903ac0b7d717357fb1cccca26fbd15 (diff)
downloadbh20-seq-resource-d1e8809a15ae74d0b847abb80f9f63f53078e1d6.tar.gz
bh20-seq-resource-d1e8809a15ae74d0b847abb80f9f63f53078e1d6.tar.lz
bh20-seq-resource-d1e8809a15ae74d0b847abb80f9f63f53078e1d6.zip
Scaling pangenome generation
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Diffstat (limited to 'workflows/pangenome-generate/odgi-build-from-spoa-gfa.cwl')
-rw-r--r--workflows/pangenome-generate/odgi-build-from-spoa-gfa.cwl16
1 files changed, 8 insertions, 8 deletions
diff --git a/workflows/pangenome-generate/odgi-build-from-spoa-gfa.cwl b/workflows/pangenome-generate/odgi-build-from-spoa-gfa.cwl
index 2459ce7..1eadc88 100644
--- a/workflows/pangenome-generate/odgi-build-from-spoa-gfa.cwl
+++ b/workflows/pangenome-generate/odgi-build-from-spoa-gfa.cwl
@@ -9,21 +9,21 @@ outputs:
glob: $(inputs.inputGFA.nameroot).unchop.sorted.odgi
requirements:
InlineJavascriptRequirement: {}
- ShellCommandRequirement: {}
hints:
DockerRequirement:
- dockerPull: "quay.io/biocontainers/odgi:v0.3--py37h8b12597_0"
+ dockerPull: "odgi-bash-binutils:latest"
ResourceRequirement:
coresMin: 4
ramMin: $(7 * 1024)
outdirMin: $(Math.ceil((inputs.inputGFA.size/(1024*1024*1024)+1) * 2))
InitialWorkDirRequirement:
+ # Will fail if input file is not writable (odgi bug)
listing:
- entry: $(inputs.inputGFA)
writable: true
-arguments: [odgi, build, -g, $(inputs.inputGFA), -o, -,
- {shellQuote: false, valueFrom: "|"},
- odgi, unchop, -i, -, -o, -,
- {shellQuote: false, valueFrom: "|"},
- odgi, sort, -i, -, -p, s, -o, $(inputs.inputGFA.nameroot).unchop.sorted.odgi
- ]
+arguments:
+ - "sh"
+ - "-c"
+ - >-
+ odgi build -g '$(inputs.inputGFA.path)' -o - | odgi unchop -i - -o - |
+ odgi sort -i - -p s -o $(inputs.inputGFA.nameroot).unchop.sorted.odgi