aboutsummaryrefslogtreecommitdiff
path: root/workflows/pangenome-generate/spoa.cwl
blob: 150227d07e529c72e17c15b908168ea5ce7c23da (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
cwlVersion: v1.1
class: CommandLineTool
inputs:
  readsFA: File
  script:
    type: File
    default: {class: File, location: relabel-seqs.py}
outputs:
  spoaGFA:
    type: stdout
requirements:
  InlineJavascriptRequirement: {}
hints:
  DockerRequirement:
    dockerPull: "quay.io/biocontainers/spoa:3.4.0--hc9558a2_0"
  ResourceRequirement:
    coresMin: 1
    ramMin: $(15 * 1024)
    outdirMin: $(Math.ceil(inputs.readsFA.size/(1024*1024*1024) + 20))
baseCommand: spoa
stdout: $(inputs.readsFA.nameroot).g6.gfa
arguments: [
    $(inputs.readsFA),
    -G,
    -g, '-6'
]