From e31d89f6b4c0d2a99eb6df90b85b4e51cb584817 Mon Sep 17 00:00:00 2001 From: AndreaGuarracino Date: Mon, 27 Jul 2020 17:04:00 +0200 Subject: added spoa workflow in a low memory consumption mode --- workflows/pangenome-generate/spoa.cwl | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 workflows/pangenome-generate/spoa.cwl diff --git a/workflows/pangenome-generate/spoa.cwl b/workflows/pangenome-generate/spoa.cwl new file mode 100644 index 0000000..1e390d8 --- /dev/null +++ b/workflows/pangenome-generate/spoa.cwl @@ -0,0 +1,27 @@ +cwlVersion: v1.1 +class: CommandLineTool +inputs: + readsFA: File +stdout: $(inputs.readsFA.nameroot).g6.gfa +script: + type: File + default: {class: File, location: relabel-seqs.py} +outputs: + spoaGFA: + type: stdout +requirements: + InlineJavascriptRequirement: {} + ShellCommandRequirement: {} +hints: + DockerRequirement: + dockerPull: "quay.io/biocontainers/spoa:3.0.2--hc9558a2_0" + ResourceRequirement: + coresMin: 1 + ramMin: $(15 * 1024) + outdirMin: $(Math.ceil(inputs.readsFA.size/(1024*1024*1024) + 20)) +baseCommand: spoa +arguments: [ + $(inputs.readsFA), + -G, + -g, '-6' +] -- cgit v1.2.3