| 1 |
#!/usr/bin/env cwl-runner |
| 2 |
cwlVersion: v1.2 |
| 3 |
$graph: |
| 4 |
- class: CommandLineTool |
| 5 |
id: first |
| 6 |
inputs: |
| 7 |
in: |
| 8 |
type: Any |
| 9 |
outputs: |
| 10 |
out: |
| 11 |
type: string |
| 12 |
outputBinding: |
| 13 |
glob: out.txt |
| 14 |
loadContents: true |
| 15 |
outputEval: $(self[0].contents) |
| 16 |
baseCommand: [ echo, first ] |
| 17 |
stdout: out.txt |
| 18 |
- class: CommandLineTool |
| 19 |
id: main |
| 20 |
inputs: |
| 21 |
in: |
| 22 |
type: Any |
| 23 |
inputBinding: {} |
| 24 |
outputs: |
| 25 |
out: |
| 26 |
type: string |
| 27 |
outputBinding: |
| 28 |
glob: out.txt |
| 29 |
loadContents: true |
| 30 |
outputEval: $(self[0].contents) |
| 31 |
baseCommand: echo |
| 32 |
stdout: out.txt |