aboutsummaryrefslogtreecommitdiff
path: root/workflows/pangenome-generate/odgi_to_rdf.cwl
blob: 9a2e9125281402d04e6371a86b8a1dcb0134d577 (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
#!/usr/bin/env cwl-runner
class: CommandLineTool
cwlVersion: v1.1
hints:
  DockerRequirement:
    dockerPull: jerven/spodgi:0.0.6
requirements:
  InlineJavascriptRequirement: {}
  ShellCommandRequirement: {}
  ResourceRequirement:
    ramMin: $((2 * 1024) + 1)
inputs:
  odgi: File
  output_name: string?

stdout: $(inputs.output_name || inputs.odgi.nameroot+'.ttl.xz')

arguments:
  [odgi_to_rdf.py, $(inputs.odgi), "-",
   {valueFrom: "|", shellQuote: false},
   xz, --stdout]

outputs:
  rdf: stdout