comparison env/lib/python3.7/site-packages/cwltool/tests/wf/scatter-wf4.cwl @ 2:6af9afd405e9 draft

"planemo upload commit 0a63dd5f4d38a1f6944587f52a8cd79874177fc1"
author shellac
date Thu, 14 May 2020 14:56:58 -0400
parents 26e78fe6e8c4
children
comparison
equal deleted inserted replaced
1:75ca89e9b81c 2:6af9afd405e9
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