Debian Codegraph @

cwl_utils/testdata/workflows/clt1.cwl

raw
1 #!/usr/bin/env cwl-runner
2
3 class: CommandLineTool
4 cwlVersion: v1.0
5
6 requirements:
7 InitialWorkDirRequirement:
8 listing:
9 - entryname: inputs.txt
10 entry: |
11 $(inputs.in1.file.path)
12 $(inputs.in1.meta.species)
13 SchemaDefRequirement:
14 types:
15 - $import: ../types/recursive.yml
16 - $import: ../types/array.yml
17 - $import: ../types/singletype.yml
18 # - $import: ../types/singletype2.yml
19
20 inputs:
21 in1: ../types/recursive.yml#file_with_sample_meta
22 in2:
23 type: ../types/array.yml#study_meta_too
24 in3:
25 type: ../types/singletype.yml#simple_record
26 # in4:
27 # type: ../types/singletype2.yml#simple_record2
28 in4:
29 type: [string, ../types/recursive.yml#sample_meta]
30 in5:
31 type: Any?
32
33 outputs:
34 out1:
35 type: File
36 outputBinding:
37 glob: '*.txt'
38 out2:
39 type: ../types/array.yml#study_meta_too
40 outputBinding:
41 outputEval: $(inputs.in2)
42 out3: stdout
43
44 baseCommand: [echo]
45 arguments: [hello world]