aboutsummaryrefslogtreecommitdiff
path: root/workflows/pangenome-generate/odgi_to_rdf.cwl
blob: 079d6fba30c538d8f025d940285466f12a69582f (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
#!/usr/bin/env cwl-runner
class: CommandLineTool
cwlVersion: v1.1
hints:
  DockerRequirement:
    dockerPull: spodgi/spodgi
requirements:
  InlineJavascriptRequirement: {}
  ShellCommandRequirement: {}
inputs:
  - id: odgi
    type: File
  - id: output_name
    type: string?

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

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

outputs:
  - id: rdf
    type: stdout