comparison env/lib/python3.9/site-packages/cwltool/tests/wf/scatter-wf4.cwl @ 0:4f3585e2f14b draft default tip

"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author shellac
date Mon, 22 Mar 2021 18:12:50 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4f3585e2f14b
1 #!/usr/bin/env cwl-runner
2 cwlVersion: v1.0
3 $graph:
4 - id: echo
5 class: CommandLineTool
6 requirements:
7 ResourceRequirement:
8 ramMin: 10
9 inputs:
10 echo_in1:
11 type: string
12 inputBinding: {}
13 echo_in2:
14 type: string
15 inputBinding: {}
16 outputs:
17 echo_out:
18 type: string
19 outputBinding:
20 glob: "step1_out"
21 loadContents: true
22 outputEval: $(self[0].contents)
23 baseCommand: "echo"
24 arguments: ["-n", "foo"]
25 stdout: step1_out
26
27 - id: main
28 class: Workflow
29 inputs:
30 inp1: string[]
31 inp2: string[]
32 requirements:
33 - class: ScatterFeatureRequirement
34 steps:
35 step1:
36 scatter: [echo_in1, echo_in2]
37 scatterMethod: dotproduct
38 in:
39 echo_in1: inp1
40 echo_in2: inp2
41 out: [echo_out]
42 run: "#echo"
43
44 outputs:
45 - id: out
46 outputSource: step1/echo_out
47 type:
48 type: array
49 items: string