comparison env/lib/python3.9/site-packages/cwltool/tests/wf/expect_trick_packed.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 {
2 "$graph": [
3 {
4 "class": "CommandLineTool",
5 "doc": "Reverse each line using the `rev` command",
6 "inputs": [
7 {
8 "type": "File",
9 "inputBinding": {},
10 "id": "#revtool.cwl/revtool_input"
11 }
12 ],
13 "outputs": [
14 {
15 "type": "File",
16 "outputBinding": {
17 "glob": "output.txt"
18 },
19 "id": "#revtool.cwl/revtool_output"
20 }
21 ],
22 "baseCommand": "rev",
23 "stdout": "output.txt",
24 "id": "#revtool.cwl",
25 "$namespaces": {
26 "iana": "https://www.iana.org/assignments/media-types/"
27 }
28 },
29 {
30 "class": "CommandLineTool",
31 "doc": "Sort lines using the `sort` command",
32 "inputs": [
33 {
34 "id": "#sorttool.cwl/reverse",
35 "type": "boolean",
36 "inputBinding": {
37 "position": 1,
38 "prefix": "--reverse"
39 }
40 },
41 {
42 "id": "#sorttool.cwl/sorted_input",
43 "type": "File",
44 "inputBinding": {
45 "position": 2
46 }
47 }
48 ],
49 "outputs": [
50 {
51 "id": "#sorttool.cwl/sorted_output",
52 "type": "File",
53 "outputBinding": {
54 "glob": "output.txt"
55 }
56 }
57 ],
58 "baseCommand": "sort",
59 "stdout": "output.txt",
60 "id": "#sorttool.cwl"
61 },
62 {
63 "class": "Workflow",
64 "doc": "Reverse the lines in a document, then sort those lines.",
65 "hints": [
66 {
67 "class": "DockerRequirement",
68 "dockerPull": "debian:8"
69 }
70 ],
71 "inputs": [
72 {
73 "type": "string",
74 "doc": "Here to test for a bug in --pack",
75 "id": "#main/name"
76 },
77 {
78 "type": "boolean",
79 "default": true,
80 "doc": "If true, reverse (decending) sort",
81 "id": "#main/reverse_sort"
82 },
83 {
84 "type": "File",
85 "doc": "The input file to be processed.",
86 "format": "https://www.iana.org/assignments/media-types/text/plain",
87 "default": {
88 "class": "File",
89 "location": "hello.txt"
90 },
91 "id": "#main/workflow_input"
92 }
93 ],
94 "outputs": [
95 {
96 "type": "File",
97 "outputSource": "#main/sorted/sorted_output",
98 "doc": "The output with the lines reversed and sorted.",
99 "id": "#main/sorted_output"
100 }
101 ],
102 "steps": [
103 {
104 "in": [
105 {
106 "source": "#main/workflow_input",
107 "id": "#main/rev/revtool_input"
108 }
109 ],
110 "out": [
111 "#main/rev/revtool_output"
112 ],
113 "run": "#revtool.cwl",
114 "id": "#main/rev"
115 },
116 {
117 "in": [
118 {
119 "source": "#main/reverse_sort",
120 "id": "#main/sorted/reverse"
121 },
122 {
123 "source": "#main/rev/revtool_output",
124 "id": "#main/sorted/sorted_input"
125 }
126 ],
127 "out": [
128 "#main/sorted/sorted_output"
129 ],
130 "run": "#sorttool.cwl",
131 "id": "#main/sorted"
132 }
133 ],
134 "id": "#main"
135 }
136 ],
137 "cwlVersion": "v1.0",
138 "$schemas": [
139 "empty2.ttl",
140 "empty.ttl"
141 ]
142 }