| 1 |
#!/usr/bin/env cwl-runner |
| 2 |
class: Workflow |
| 3 |
cwlVersion: v1.2 |
| 4 |
inputs: |
| 5 |
file1: File |
| 6 |
outputs: |
| 7 |
count_output: {type: int, outputSource: step1/count_output} |
| 8 |
requirements: |
| 9 |
SubworkflowFeatureRequirement: {} |
| 10 |
steps: |
| 11 |
step1: |
| 12 |
in: {file1: file1} |
| 13 |
out: [count_output] |
| 14 |
run: |
| 15 |
class: Workflow |
| 16 |
inputs: |
| 17 |
file1: File |
| 18 |
outputs: |
| 19 |
count_output: {type: int, outputSource: step2/count_output} |
| 20 |
steps: |
| 21 |
step1: {run: wc-tool.cwl, in: {file1: file1}, out: [output]} |
| 22 |
step2: |
| 23 |
in: {file1: step1/output} |
| 24 |
out: [count_output] |
| 25 |
run: |
| 26 |
class: Workflow |
| 27 |
inputs: |
| 28 |
file1: File |
| 29 |
outputs: |
| 30 |
count_output: {type: int, outputSource: step1/output} |
| 31 |
steps: |
| 32 |
step1: {run: parseInt-tool.cwl, in: {file1: file1}, out: [output]} |