| 1 |
#!/usr/bin/env cwl-runner |
| 2 |
$namespaces: |
| 3 |
edam: http://edamontology.org/ |
| 4 |
$schemas: |
| 5 |
- EDAM_subset.owl |
| 6 |
class: CommandLineTool |
| 7 |
cwlVersion: v1.2 |
| 8 |
doc: "Reverse each line using the `rev` command" |
| 9 |
hints: |
| 10 |
DockerRequirement: |
| 11 |
dockerPull: docker.io/debian:stable-slim |
| 12 |
|
| 13 |
inputs: |
| 14 |
input: |
| 15 |
type: File |
| 16 |
inputBinding: {} |
| 17 |
format: edam:format_2330 |
| 18 |
|
| 19 |
outputs: |
| 20 |
output: |
| 21 |
type: File |
| 22 |
outputBinding: |
| 23 |
glob: output.txt |
| 24 |
format: $(inputs.input.format) |
| 25 |
|
| 26 |
baseCommand: rev |
| 27 |
stdout: output.txt |