Mercurial > repos > shellac > sam_consensus_v3
comparison env/lib/python3.9/site-packages/cwltool/tests/wf/scatter2_subwf.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 # Copyright (C) The Arvados Authors. All rights reserved. | |
3 # | |
4 # SPDX-License-Identifier: Apache-2.0 | |
5 | |
6 { | |
7 "$graph": [ | |
8 { | |
9 "$namespaces": { | |
10 "arv": "http://arvados.org/cwl#" | |
11 }, | |
12 "class": "Workflow", | |
13 "cwlVersion": "v1.0", | |
14 "id": "#main", | |
15 "inputs": [ | |
16 { | |
17 "id": "#main/fileblub", | |
18 "type": "File" | |
19 }, | |
20 { | |
21 "id": "#main/sleeptime", | |
22 "type": "int" | |
23 } | |
24 ], | |
25 "outputs": [ | |
26 { | |
27 "id": "#main/out", | |
28 "outputSource": "#main/sleep1/out", | |
29 "type": "string" | |
30 } | |
31 ], | |
32 "steps": [ | |
33 { | |
34 "id": "#main/sleep1", | |
35 "in": [ | |
36 { | |
37 "id": "#main/sleep1/blurb", | |
38 "valueFrom": "${\n return String(inputs.sleeptime) + \"b\";\n}\n" | |
39 }, | |
40 { | |
41 "id": "#main/sleep1/sleeptime", | |
42 "source": "#main/sleeptime" | |
43 } | |
44 ], | |
45 "out": [ | |
46 "#main/sleep1/out" | |
47 ], | |
48 "run": { | |
49 "baseCommand": "sleep", | |
50 "class": "CommandLineTool", | |
51 "id": "#main/sleep1/subtool", | |
52 "inputs": [ | |
53 { | |
54 "id": "#main/sleep1/subtool/sleeptime", | |
55 "inputBinding": { | |
56 "position": 1 | |
57 }, | |
58 "type": "int" | |
59 } | |
60 ], | |
61 "outputs": [ | |
62 { | |
63 "id": "#main/sleep1/subtool/out", | |
64 "outputBinding": { | |
65 "outputEval": "out" | |
66 }, | |
67 "type": "string" | |
68 } | |
69 ] | |
70 } | |
71 } | |
72 ] | |
73 } | |
74 ], | |
75 "cwlVersion": "v1.0" | |
76 } |