File: wf2.cwl

package info (click to toggle)
cwl-utils 0.40-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,164 kB
  • sloc: python: 88,875; makefile: 141; javascript: 91
file content (30 lines) | stat: -rwxr-xr-x 494 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env cwl-runner
class: Workflow
cwlVersion: v1.2
inputs:
  in1: types/testtypes.yml#my_boolean_array
  in2: 
    type: types/testtypes.yml#my_enum

steps:
  s1:
    run: remote-cwl/wf1.cwl
    in:
      - id: in1
        source: "#in1"
    out: [out1]
  s2:
    run: remote-cwl/tool1.cwl
    in:
      in1: s1/out1
    out: [out1]

outputs:
  out1: 
    type: string 
    outputSource: "#s2/out1"

requirements:
  SchemaDefRequirement:
    types:
      - $import: types/testtypes.yml