| 1 |
#!/usr/bin/env cwl-runner |
| 2 |
|
| 3 |
class: CommandLineTool |
| 4 |
cwlVersion: v1.2 |
| 5 |
id: stage_array |
| 6 |
arguments: |
| 7 |
- {shellQuote: false, valueFrom: "ls | grep -v lsout"} |
| 8 |
inputs: |
| 9 |
- id: input_file |
| 10 |
type: File |
| 11 |
- id: optional_file |
| 12 |
type: File? |
| 13 |
- id: input_list |
| 14 |
type: 'File[]' |
| 15 |
secondaryFiles: |
| 16 |
- ^.tar |
| 17 |
stdout: lsout |
| 18 |
outputs: |
| 19 |
- id: output |
| 20 |
type: File? |
| 21 |
outputBinding: |
| 22 |
glob: lsout |
| 23 |
label: stage-array.cwl |
| 24 |
requirements: |
| 25 |
- class: InitialWorkDirRequirement |
| 26 |
listing: |
| 27 |
- $(inputs.input_file) |
| 28 |
- $(inputs.optional_file) |
| 29 |
- entry: $(inputs.input_list) |
| 30 |
- entry: $(null) |
| 31 |
- entryname: a |
| 32 |
entry: b |
| 33 |
- class: ShellCommandRequirement |