File: formattest2.cwl

package info (click to toggle)
cwl-utils 0.40-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,164 kB
  • sloc: python: 88,875; makefile: 141; javascript: 91
file content (27 lines) | stat: -rwxr-xr-x 496 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/env cwl-runner
$namespaces:
  edam: http://edamontology.org/
$schemas:
  - EDAM_subset.owl
class: CommandLineTool
cwlVersion: v1.2
doc: "Reverse each line using the `rev` command"
hints:
  DockerRequirement:
    dockerPull: docker.io/debian:stable-slim

inputs:
  input:
    type: File
    inputBinding: {}
    format: edam:format_2330

outputs:
  output:
    type: File
    outputBinding:
      glob: output.txt
    format: $(inputs.input.format)

baseCommand: rev
stdout: output.txt