aboutsummaryrefslogtreecommitdiff
path: root/workflows/pangenome-generate/odgi-build.cwl
blob: b594438feeeb47e8b59573ab27489b7ae91d22c1 (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:
  inputGFA: File
outputs:
  odgiGraph:
    type: File
    outputBinding:
      glob: $(inputs.inputGFA.nameroot).odgi
requirements:
  InlineJavascriptRequirement: {}
  ShellCommandRequirement: {}
hints:
  DockerRequirement:
    dockerPull: "quay.io/biocontainers/odgi:v0.3--py37h8b12597_0"
  ResourceRequirement:
    coresMin: 4
    ramMin: $(7 * 1024)
    outdirMin: $(Math.ceil((inputs.inputGFA.size/(1024*1024*1024)+1) * 2))
  InitialWorkDirRequirement:
    listing:
      - entry: $(inputs.inputGFA)
        writable: true
arguments: [odgi, build, -g, $(inputs.inputGFA), -o, -,
            {shellQuote: false, valueFrom: "|"},
            odgi, sort, -i, -, -p, s, -o, $(inputs.inputGFA.nameroot).odgi]