aboutsummaryrefslogtreecommitdiff
path: root/workflows/pangenome-generate/spoa.cwl
blob: 1e390d85c4f4132f83f716c1fa1dead52872ba5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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'
]