annotate TF_example_wf.ga @ 42:b938475235e3 draft

Uploaded
author fubar
date Sun, 16 Aug 2020 08:33:09 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
42
b938475235e3 Uploaded
fubar
parents:
diff changeset
1 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
2 "a_galaxy_workflow": "true",
b938475235e3 Uploaded
fubar
parents:
diff changeset
3 "annotation": "",
b938475235e3 Uploaded
fubar
parents:
diff changeset
4 "format-version": "0.1",
b938475235e3 Uploaded
fubar
parents:
diff changeset
5 "name": "TF examples",
b938475235e3 Uploaded
fubar
parents:
diff changeset
6 "steps": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
7 "0": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
8 "annotation": "a fasta file - gc ratio will be estimated",
b938475235e3 Uploaded
fubar
parents:
diff changeset
9 "content_id": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
10 "errors": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
11 "id": 0,
b938475235e3 Uploaded
fubar
parents:
diff changeset
12 "input_connections": {},
b938475235e3 Uploaded
fubar
parents:
diff changeset
13 "inputs": [
b938475235e3 Uploaded
fubar
parents:
diff changeset
14 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
15 "description": "a fasta file - gc ratio will be estimated",
b938475235e3 Uploaded
fubar
parents:
diff changeset
16 "name": "phiX.fasta"
b938475235e3 Uploaded
fubar
parents:
diff changeset
17 }
b938475235e3 Uploaded
fubar
parents:
diff changeset
18 ],
b938475235e3 Uploaded
fubar
parents:
diff changeset
19 "label": "phiX.fasta",
b938475235e3 Uploaded
fubar
parents:
diff changeset
20 "name": "Input dataset",
b938475235e3 Uploaded
fubar
parents:
diff changeset
21 "outputs": [],
b938475235e3 Uploaded
fubar
parents:
diff changeset
22 "position": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
23 "bottom": 231,
b938475235e3 Uploaded
fubar
parents:
diff changeset
24 "height": 61,
b938475235e3 Uploaded
fubar
parents:
diff changeset
25 "left": 393,
b938475235e3 Uploaded
fubar
parents:
diff changeset
26 "right": 593,
b938475235e3 Uploaded
fubar
parents:
diff changeset
27 "top": 170,
b938475235e3 Uploaded
fubar
parents:
diff changeset
28 "width": 200,
b938475235e3 Uploaded
fubar
parents:
diff changeset
29 "x": 393,
b938475235e3 Uploaded
fubar
parents:
diff changeset
30 "y": 170
b938475235e3 Uploaded
fubar
parents:
diff changeset
31 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
32 "tool_id": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
33 "tool_state": "{\"optional\": false}",
b938475235e3 Uploaded
fubar
parents:
diff changeset
34 "tool_version": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
35 "type": "data_input",
b938475235e3 Uploaded
fubar
parents:
diff changeset
36 "uuid": "7e2e24c8-2327-4893-a5b3-6b696a6ecd33",
b938475235e3 Uploaded
fubar
parents:
diff changeset
37 "workflow_outputs": [
b938475235e3 Uploaded
fubar
parents:
diff changeset
38 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
39 "label": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
40 "output_name": "output",
b938475235e3 Uploaded
fubar
parents:
diff changeset
41 "uuid": "f5ce2386-b80c-4691-a0a7-abeec8854461"
b938475235e3 Uploaded
fubar
parents:
diff changeset
42 }
b938475235e3 Uploaded
fubar
parents:
diff changeset
43 ]
b938475235e3 Uploaded
fubar
parents:
diff changeset
44 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
45 "1": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
46 "annotation": "Any text file to be reversed lots of times and bjorked once.",
b938475235e3 Uploaded
fubar
parents:
diff changeset
47 "content_id": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
48 "errors": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
49 "id": 1,
b938475235e3 Uploaded
fubar
parents:
diff changeset
50 "input_connections": {},
b938475235e3 Uploaded
fubar
parents:
diff changeset
51 "inputs": [
b938475235e3 Uploaded
fubar
parents:
diff changeset
52 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
53 "description": "Any text file to be reversed lots of times and bjorked once.",
b938475235e3 Uploaded
fubar
parents:
diff changeset
54 "name": "rgToolFactory2.py"
b938475235e3 Uploaded
fubar
parents:
diff changeset
55 }
b938475235e3 Uploaded
fubar
parents:
diff changeset
56 ],
b938475235e3 Uploaded
fubar
parents:
diff changeset
57 "label": "rgToolFactory2.py",
b938475235e3 Uploaded
fubar
parents:
diff changeset
58 "name": "Input dataset",
b938475235e3 Uploaded
fubar
parents:
diff changeset
59 "outputs": [],
b938475235e3 Uploaded
fubar
parents:
diff changeset
60 "position": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
61 "bottom": 371,
b938475235e3 Uploaded
fubar
parents:
diff changeset
62 "height": 81,
b938475235e3 Uploaded
fubar
parents:
diff changeset
63 "left": 393,
b938475235e3 Uploaded
fubar
parents:
diff changeset
64 "right": 593,
b938475235e3 Uploaded
fubar
parents:
diff changeset
65 "top": 290,
b938475235e3 Uploaded
fubar
parents:
diff changeset
66 "width": 200,
b938475235e3 Uploaded
fubar
parents:
diff changeset
67 "x": 393,
b938475235e3 Uploaded
fubar
parents:
diff changeset
68 "y": 290
b938475235e3 Uploaded
fubar
parents:
diff changeset
69 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
70 "tool_id": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
71 "tool_state": "{\"optional\": false}",
b938475235e3 Uploaded
fubar
parents:
diff changeset
72 "tool_version": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
73 "type": "data_input",
b938475235e3 Uploaded
fubar
parents:
diff changeset
74 "uuid": "f530b390-2424-4aae-8bd9-dd9d30277561",
b938475235e3 Uploaded
fubar
parents:
diff changeset
75 "workflow_outputs": [
b938475235e3 Uploaded
fubar
parents:
diff changeset
76 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
77 "label": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
78 "output_name": "output",
b938475235e3 Uploaded
fubar
parents:
diff changeset
79 "uuid": "3d2a1699-50af-46e1-8981-dc6c3de2cf6c"
b938475235e3 Uploaded
fubar
parents:
diff changeset
80 }
b938475235e3 Uploaded
fubar
parents:
diff changeset
81 ]
b938475235e3 Uploaded
fubar
parents:
diff changeset
82 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
83 "2": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
84 "annotation": "",
b938475235e3 Uploaded
fubar
parents:
diff changeset
85 "content_id": "rgTF2",
b938475235e3 Uploaded
fubar
parents:
diff changeset
86 "errors": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
87 "id": 2,
b938475235e3 Uploaded
fubar
parents:
diff changeset
88 "input_connections": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
89 "ppass|history_inputs_0|input_files": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
90 "id": 0,
b938475235e3 Uploaded
fubar
parents:
diff changeset
91 "output_name": "output"
b938475235e3 Uploaded
fubar
parents:
diff changeset
92 }
b938475235e3 Uploaded
fubar
parents:
diff changeset
93 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
94 "inputs": [],
b938475235e3 Uploaded
fubar
parents:
diff changeset
95 "label": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
96 "name": "toolfactory",
b938475235e3 Uploaded
fubar
parents:
diff changeset
97 "outputs": [
b938475235e3 Uploaded
fubar
parents:
diff changeset
98 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
99 "name": "TF_run_report",
b938475235e3 Uploaded
fubar
parents:
diff changeset
100 "type": "input"
b938475235e3 Uploaded
fubar
parents:
diff changeset
101 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
102 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
103 "name": "new_tool",
b938475235e3 Uploaded
fubar
parents:
diff changeset
104 "type": "tgz"
b938475235e3 Uploaded
fubar
parents:
diff changeset
105 }
b938475235e3 Uploaded
fubar
parents:
diff changeset
106 ],
b938475235e3 Uploaded
fubar
parents:
diff changeset
107 "position": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
108 "bottom": 372,
b938475235e3 Uploaded
fubar
parents:
diff changeset
109 "height": 202,
b938475235e3 Uploaded
fubar
parents:
diff changeset
110 "left": 613,
b938475235e3 Uploaded
fubar
parents:
diff changeset
111 "right": 813,
b938475235e3 Uploaded
fubar
parents:
diff changeset
112 "top": 170,
b938475235e3 Uploaded
fubar
parents:
diff changeset
113 "width": 200,
b938475235e3 Uploaded
fubar
parents:
diff changeset
114 "x": 613,
b938475235e3 Uploaded
fubar
parents:
diff changeset
115 "y": 170
b938475235e3 Uploaded
fubar
parents:
diff changeset
116 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
117 "post_job_actions": {},
b938475235e3 Uploaded
fubar
parents:
diff changeset
118 "tool_id": "rgTF2",
b938475235e3 Uploaded
fubar
parents:
diff changeset
119 "tool_state": "{\"__input_ext\": \"input\", \"chromInfo\": \"/home/ross/galaxy/tool-data/shared/ucsc/chrom/?.len\", \"interexe\": {\"interpreter\": \"perl\", \"__current_case__\": 4, \"interpreter_version\": \"\", \"exe_package_version\": \"\", \"dynScript\": \"\\n# usage : perl toolExample.pl <FASTA file> <output file>\\n\\nopen (IN, \\\"<$ARGV[0]\\\");\\nopen (OUT, \\\">$ARGV[1]\\\");\\nwhile (<IN>) {\\n chop;\\n if (m/^>/) {\\n s/^>//;\\n if ($. > 1) {\\n print OUT sprintf(\\\"%.3f\\\", $gc/$length) . \\\"\\\\n\\\";\\n }\\n $gc = 0;\\n $length = 0;\\n } else {\\n ++$gc while m/[gc]/ig;\\n $length += length $_;\\n }\\n}\\nprint OUT sprintf(\\\"%.3f\\\", $gc/$length) . \\\"\\\\n\\\";\\nclose( IN );\\nclose( OUT );\"}, \"makeMode\": {\"make_Tool\": \"yes\", \"__current_case__\": 0, \"tool_version\": \"0.01\", \"tool_desc\": \"perl version of gc counter from planemo example\", \"help_text\": \"**What it Does**\\ncounts gc using, ugh, perl...\\n\", \"citations\": []}, \"ppass\": {\"parampass\": \"positional\", \"__current_case__\": 1, \"history_inputs\": [{\"__index__\": 0, \"input_files\": {\"__class__\": \"ConnectedValue\"}, \"input_formats\": [\"fasta\"], \"input_label\": \"input fasta file\", \"input_help\": \"parameter_help\", \"input_CL\": \"1\"}], \"history_outputs\": [{\"__index__\": 0, \"history_name\": \"output\", \"history_format\": \"tsv\", \"history_CL\": \"2\"}], \"edit_params\": \"no\", \"additional_parameters\": []}, \"tool_name\": \"perlgc\", \"__page__\": null, \"__rerun_remap_job_id__\": null}",
b938475235e3 Uploaded
fubar
parents:
diff changeset
120 "tool_version": "2.00",
b938475235e3 Uploaded
fubar
parents:
diff changeset
121 "type": "tool",
b938475235e3 Uploaded
fubar
parents:
diff changeset
122 "uuid": "3b6aab01-4759-4df6-801f-626678639e51",
b938475235e3 Uploaded
fubar
parents:
diff changeset
123 "workflow_outputs": [
b938475235e3 Uploaded
fubar
parents:
diff changeset
124 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
125 "label": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
126 "output_name": "TF_run_report",
b938475235e3 Uploaded
fubar
parents:
diff changeset
127 "uuid": "7aea56bd-4f39-4d3b-8254-a6675161d059"
b938475235e3 Uploaded
fubar
parents:
diff changeset
128 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
129 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
130 "label": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
131 "output_name": "new_tool",
b938475235e3 Uploaded
fubar
parents:
diff changeset
132 "uuid": "f964e779-2f92-4c81-9819-3e1ebc156664"
b938475235e3 Uploaded
fubar
parents:
diff changeset
133 }
b938475235e3 Uploaded
fubar
parents:
diff changeset
134 ]
b938475235e3 Uploaded
fubar
parents:
diff changeset
135 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
136 "3": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
137 "annotation": "",
b938475235e3 Uploaded
fubar
parents:
diff changeset
138 "content_id": "rgTF2",
b938475235e3 Uploaded
fubar
parents:
diff changeset
139 "errors": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
140 "id": 3,
b938475235e3 Uploaded
fubar
parents:
diff changeset
141 "input_connections": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
142 "ppass|history_inputs_0|input_files": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
143 "id": 1,
b938475235e3 Uploaded
fubar
parents:
diff changeset
144 "output_name": "output"
b938475235e3 Uploaded
fubar
parents:
diff changeset
145 }
b938475235e3 Uploaded
fubar
parents:
diff changeset
146 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
147 "inputs": [],
b938475235e3 Uploaded
fubar
parents:
diff changeset
148 "label": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
149 "name": "toolfactory",
b938475235e3 Uploaded
fubar
parents:
diff changeset
150 "outputs": [
b938475235e3 Uploaded
fubar
parents:
diff changeset
151 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
152 "name": "TF_run_report",
b938475235e3 Uploaded
fubar
parents:
diff changeset
153 "type": "input"
b938475235e3 Uploaded
fubar
parents:
diff changeset
154 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
155 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
156 "name": "new_tool",
b938475235e3 Uploaded
fubar
parents:
diff changeset
157 "type": "tgz"
b938475235e3 Uploaded
fubar
parents:
diff changeset
158 }
b938475235e3 Uploaded
fubar
parents:
diff changeset
159 ],
b938475235e3 Uploaded
fubar
parents:
diff changeset
160 "position": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
161 "bottom": 492,
b938475235e3 Uploaded
fubar
parents:
diff changeset
162 "height": 202,
b938475235e3 Uploaded
fubar
parents:
diff changeset
163 "left": 613,
b938475235e3 Uploaded
fubar
parents:
diff changeset
164 "right": 813,
b938475235e3 Uploaded
fubar
parents:
diff changeset
165 "top": 290,
b938475235e3 Uploaded
fubar
parents:
diff changeset
166 "width": 200,
b938475235e3 Uploaded
fubar
parents:
diff changeset
167 "x": 613,
b938475235e3 Uploaded
fubar
parents:
diff changeset
168 "y": 290
b938475235e3 Uploaded
fubar
parents:
diff changeset
169 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
170 "post_job_actions": {},
b938475235e3 Uploaded
fubar
parents:
diff changeset
171 "tool_id": "rgTF2",
b938475235e3 Uploaded
fubar
parents:
diff changeset
172 "tool_state": "{\"__input_ext\": \"input\", \"chromInfo\": \"/home/ross/galaxy/tool-data/shared/ucsc/chrom/?.len\", \"interexe\": {\"interpreter\": \"system\", \"__current_case__\": 1, \"exe_package\": \"sed\", \"exe_package_version\": \"\"}, \"makeMode\": {\"make_Tool\": \"yes\", \"__current_case__\": 0, \"tool_version\": \"0.01\", \"tool_desc\": \"sed runner\", \"help_text\": \"sed '/old/new/g input.txt\", \"citations\": []}, \"ppass\": {\"parampass\": \"positional\", \"__current_case__\": 1, \"history_inputs\": [{\"__index__\": 0, \"input_files\": {\"__class__\": \"ConnectedValue\"}, \"input_formats\": [\"txt\"], \"input_label\": \"input text\", \"input_help\": \"parameter_help\", \"input_CL\": \"3\"}], \"history_outputs\": [{\"__index__\": 0, \"history_name\": \"output\", \"history_format\": \"txt\", \"history_CL\": \"STDOUT\"}], \"edit_params\": \"yes\", \"additional_parameters\": [{\"__index__\": 0, \"param_name\": \"sedstring\", \"param_type\": \"text\", \"param_value\": \"s/def/bjork!bjorkdef/g\", \"param_label\": \"parameter_label\", \"param_help\": \"parameter_help\", \"param_CL\": \"1\", \"param_CLprefixed\": \"\"}]}, \"tool_name\": \"sedtest\", \"__page__\": null, \"__rerun_remap_job_id__\": null}",
b938475235e3 Uploaded
fubar
parents:
diff changeset
173 "tool_version": "2.00",
b938475235e3 Uploaded
fubar
parents:
diff changeset
174 "type": "tool",
b938475235e3 Uploaded
fubar
parents:
diff changeset
175 "uuid": "2138c717-5128-4c4b-bc22-4809cd001c34",
b938475235e3 Uploaded
fubar
parents:
diff changeset
176 "workflow_outputs": [
b938475235e3 Uploaded
fubar
parents:
diff changeset
177 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
178 "label": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
179 "output_name": "TF_run_report",
b938475235e3 Uploaded
fubar
parents:
diff changeset
180 "uuid": "b0be8c95-7380-42b8-a16d-8e08578d4dd7"
b938475235e3 Uploaded
fubar
parents:
diff changeset
181 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
182 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
183 "label": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
184 "output_name": "new_tool",
b938475235e3 Uploaded
fubar
parents:
diff changeset
185 "uuid": "56635519-a9a0-49eb-8305-59cc1fcef99f"
b938475235e3 Uploaded
fubar
parents:
diff changeset
186 }
b938475235e3 Uploaded
fubar
parents:
diff changeset
187 ]
b938475235e3 Uploaded
fubar
parents:
diff changeset
188 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
189 "4": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
190 "annotation": "",
b938475235e3 Uploaded
fubar
parents:
diff changeset
191 "content_id": "rgTF2",
b938475235e3 Uploaded
fubar
parents:
diff changeset
192 "errors": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
193 "id": 4,
b938475235e3 Uploaded
fubar
parents:
diff changeset
194 "input_connections": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
195 "ppass|history_inputs_0|input_files": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
196 "id": 1,
b938475235e3 Uploaded
fubar
parents:
diff changeset
197 "output_name": "output"
b938475235e3 Uploaded
fubar
parents:
diff changeset
198 }
b938475235e3 Uploaded
fubar
parents:
diff changeset
199 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
200 "inputs": [],
b938475235e3 Uploaded
fubar
parents:
diff changeset
201 "label": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
202 "name": "toolfactory",
b938475235e3 Uploaded
fubar
parents:
diff changeset
203 "outputs": [
b938475235e3 Uploaded
fubar
parents:
diff changeset
204 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
205 "name": "TF_run_report",
b938475235e3 Uploaded
fubar
parents:
diff changeset
206 "type": "input"
b938475235e3 Uploaded
fubar
parents:
diff changeset
207 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
208 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
209 "name": "new_tool",
b938475235e3 Uploaded
fubar
parents:
diff changeset
210 "type": "tgz"
b938475235e3 Uploaded
fubar
parents:
diff changeset
211 }
b938475235e3 Uploaded
fubar
parents:
diff changeset
212 ],
b938475235e3 Uploaded
fubar
parents:
diff changeset
213 "position": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
214 "bottom": 652,
b938475235e3 Uploaded
fubar
parents:
diff changeset
215 "height": 242,
b938475235e3 Uploaded
fubar
parents:
diff changeset
216 "left": 613,
b938475235e3 Uploaded
fubar
parents:
diff changeset
217 "right": 813,
b938475235e3 Uploaded
fubar
parents:
diff changeset
218 "top": 410,
b938475235e3 Uploaded
fubar
parents:
diff changeset
219 "width": 200,
b938475235e3 Uploaded
fubar
parents:
diff changeset
220 "x": 613,
b938475235e3 Uploaded
fubar
parents:
diff changeset
221 "y": 410
b938475235e3 Uploaded
fubar
parents:
diff changeset
222 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
223 "post_job_actions": {},
b938475235e3 Uploaded
fubar
parents:
diff changeset
224 "tool_id": "rgTF2",
b938475235e3 Uploaded
fubar
parents:
diff changeset
225 "tool_state": "{\"__input_ext\": \"input\", \"chromInfo\": \"/home/ross/galaxy/tool-data/shared/ucsc/chrom/?.len\", \"interexe\": {\"interpreter\": \"python\", \"__current_case__\": 2, \"interpreter_version\": \"\", \"exe_package_version\": \"\", \"dynScript\": \"# reverse order of text by row\\nimport sys\\ninp = sys.argv[1]\\noutp = sys.argv[2]\\nappendme = sys.argv[3]\\ni = open(inp,'r').readlines()\\no = open(outp,'w')\\nfor row in i:\\n rs = row.rstrip()\\n rs = list(rs)\\n rs.reverse()\\n o.write(''.join(rs))\\n o.write(appendme)\\n o.write('\\\\n')\\no.close()\"}, \"makeMode\": {\"make_Tool\": \"yes\", \"__current_case__\": 0, \"tool_version\": \"0.01\", \"tool_desc\": \"pyrevpos\", \"help_text\": \"**What it Does**\", \"citations\": []}, \"ppass\": {\"parampass\": \"positional\", \"__current_case__\": 1, \"history_inputs\": [{\"__index__\": 0, \"input_files\": {\"__class__\": \"ConnectedValue\"}, \"input_formats\": [\"txt\"], \"input_label\": \"inputfile\", \"input_help\": \"parameter_help\", \"input_CL\": \"1\"}], \"history_outputs\": [{\"__index__\": 0, \"history_name\": \"output\", \"history_format\": \"txt\", \"history_CL\": \"2\"}], \"edit_params\": \"yes\", \"additional_parameters\": [{\"__index__\": 0, \"param_name\": \"appendme\", \"param_type\": \"text\", \"param_value\": \"added at the end\", \"param_label\": \"append string\", \"param_help\": \"parameter_help\", \"param_CL\": \"3\", \"param_CLprefixed\": \"\"}]}, \"tool_name\": \"pyrevaddpos\", \"__page__\": null, \"__rerun_remap_job_id__\": null}",
b938475235e3 Uploaded
fubar
parents:
diff changeset
226 "tool_version": "2.00",
b938475235e3 Uploaded
fubar
parents:
diff changeset
227 "type": "tool",
b938475235e3 Uploaded
fubar
parents:
diff changeset
228 "uuid": "30dbe033-30c4-4228-b0cb-854df30f5594",
b938475235e3 Uploaded
fubar
parents:
diff changeset
229 "workflow_outputs": [
b938475235e3 Uploaded
fubar
parents:
diff changeset
230 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
231 "label": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
232 "output_name": "TF_run_report",
b938475235e3 Uploaded
fubar
parents:
diff changeset
233 "uuid": "37fdd905-471d-4479-a98a-4dfbaa6314be"
b938475235e3 Uploaded
fubar
parents:
diff changeset
234 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
235 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
236 "label": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
237 "output_name": "new_tool",
b938475235e3 Uploaded
fubar
parents:
diff changeset
238 "uuid": "7c8a8dba-1e8c-49d5-b51d-a0ab09931932"
b938475235e3 Uploaded
fubar
parents:
diff changeset
239 }
b938475235e3 Uploaded
fubar
parents:
diff changeset
240 ]
b938475235e3 Uploaded
fubar
parents:
diff changeset
241 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
242 "5": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
243 "annotation": "",
b938475235e3 Uploaded
fubar
parents:
diff changeset
244 "content_id": "rgTF2",
b938475235e3 Uploaded
fubar
parents:
diff changeset
245 "errors": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
246 "id": 5,
b938475235e3 Uploaded
fubar
parents:
diff changeset
247 "input_connections": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
248 "ppass|history_inputs_0|input_files": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
249 "id": 1,
b938475235e3 Uploaded
fubar
parents:
diff changeset
250 "output_name": "output"
b938475235e3 Uploaded
fubar
parents:
diff changeset
251 }
b938475235e3 Uploaded
fubar
parents:
diff changeset
252 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
253 "inputs": [],
b938475235e3 Uploaded
fubar
parents:
diff changeset
254 "label": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
255 "name": "toolfactory",
b938475235e3 Uploaded
fubar
parents:
diff changeset
256 "outputs": [
b938475235e3 Uploaded
fubar
parents:
diff changeset
257 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
258 "name": "TF_run_report",
b938475235e3 Uploaded
fubar
parents:
diff changeset
259 "type": "input"
b938475235e3 Uploaded
fubar
parents:
diff changeset
260 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
261 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
262 "name": "new_tool",
b938475235e3 Uploaded
fubar
parents:
diff changeset
263 "type": "tgz"
b938475235e3 Uploaded
fubar
parents:
diff changeset
264 }
b938475235e3 Uploaded
fubar
parents:
diff changeset
265 ],
b938475235e3 Uploaded
fubar
parents:
diff changeset
266 "position": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
267 "bottom": 772,
b938475235e3 Uploaded
fubar
parents:
diff changeset
268 "height": 242,
b938475235e3 Uploaded
fubar
parents:
diff changeset
269 "left": 613,
b938475235e3 Uploaded
fubar
parents:
diff changeset
270 "right": 813,
b938475235e3 Uploaded
fubar
parents:
diff changeset
271 "top": 530,
b938475235e3 Uploaded
fubar
parents:
diff changeset
272 "width": 200,
b938475235e3 Uploaded
fubar
parents:
diff changeset
273 "x": 613,
b938475235e3 Uploaded
fubar
parents:
diff changeset
274 "y": 530
b938475235e3 Uploaded
fubar
parents:
diff changeset
275 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
276 "post_job_actions": {},
b938475235e3 Uploaded
fubar
parents:
diff changeset
277 "tool_id": "rgTF2",
b938475235e3 Uploaded
fubar
parents:
diff changeset
278 "tool_state": "{\"__input_ext\": \"input\", \"chromInfo\": \"/home/ross/galaxy/tool-data/shared/ucsc/chrom/?.len\", \"interexe\": {\"interpreter\": \"python\", \"__current_case__\": 2, \"interpreter_version\": \"\", \"exe_package_version\": \"\", \"dynScript\": \"# reverse order of text by row\\nimport sys\\nimport argparse\\nparser = argparse.ArgumentParser()\\na = parser.add_argument\\na('--infile',default='')\\na('--outfile',default=None)\\nargs = parser.parse_args()\\ninp = args.infile\\noutp = args.outfile\\ni = open(inp,'r').readlines()\\no = open(outp,'w')\\nfor row in i:\\n rs = row.rstrip()\\n rs = list(rs)\\n rs.reverse()\\n o.write(''.join(rs))\\n o.write('\\\\n')\\no.close()\"}, \"makeMode\": {\"make_Tool\": \"yes\", \"__current_case__\": 0, \"tool_version\": \"0.01\", \"tool_desc\": \"reverse argparse\", \"help_text\": \"**What it Does**\", \"citations\": []}, \"ppass\": {\"parampass\": \"argparse\", \"__current_case__\": 0, \"history_inputs\": [{\"__index__\": 0, \"input_files\": {\"__class__\": \"ConnectedValue\"}, \"input_formats\": [\"txt\"], \"input_label\": \"infile\", \"input_help\": \"parameter_help\", \"input_CL\": \"infile\"}], \"history_outputs\": [{\"__index__\": 0, \"history_name\": \"outfile\", \"history_format\": \"txt\", \"history_CL\": \"outfile\"}], \"edit_params\": \"yes\", \"additional_parameters\": []}, \"tool_name\": \"pyrevargparse\", \"__page__\": null, \"__rerun_remap_job_id__\": null}",
b938475235e3 Uploaded
fubar
parents:
diff changeset
279 "tool_version": "2.00",
b938475235e3 Uploaded
fubar
parents:
diff changeset
280 "type": "tool",
b938475235e3 Uploaded
fubar
parents:
diff changeset
281 "uuid": "91a0dccf-384c-491a-ae08-f426888d26cf",
b938475235e3 Uploaded
fubar
parents:
diff changeset
282 "workflow_outputs": [
b938475235e3 Uploaded
fubar
parents:
diff changeset
283 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
284 "label": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
285 "output_name": "TF_run_report",
b938475235e3 Uploaded
fubar
parents:
diff changeset
286 "uuid": "61a5271d-3940-4855-9093-a0710dc3fe08"
b938475235e3 Uploaded
fubar
parents:
diff changeset
287 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
288 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
289 "label": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
290 "output_name": "new_tool",
b938475235e3 Uploaded
fubar
parents:
diff changeset
291 "uuid": "a6602e23-dc1c-44b7-8ed7-cd9971ff9d30"
b938475235e3 Uploaded
fubar
parents:
diff changeset
292 }
b938475235e3 Uploaded
fubar
parents:
diff changeset
293 ]
b938475235e3 Uploaded
fubar
parents:
diff changeset
294 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
295 "6": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
296 "annotation": "",
b938475235e3 Uploaded
fubar
parents:
diff changeset
297 "content_id": "rgTF2",
b938475235e3 Uploaded
fubar
parents:
diff changeset
298 "errors": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
299 "id": 6,
b938475235e3 Uploaded
fubar
parents:
diff changeset
300 "input_connections": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
301 "ppass|history_inputs_0|input_files": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
302 "id": 1,
b938475235e3 Uploaded
fubar
parents:
diff changeset
303 "output_name": "output"
b938475235e3 Uploaded
fubar
parents:
diff changeset
304 }
b938475235e3 Uploaded
fubar
parents:
diff changeset
305 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
306 "inputs": [],
b938475235e3 Uploaded
fubar
parents:
diff changeset
307 "label": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
308 "name": "toolfactory",
b938475235e3 Uploaded
fubar
parents:
diff changeset
309 "outputs": [
b938475235e3 Uploaded
fubar
parents:
diff changeset
310 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
311 "name": "TF_run_report",
b938475235e3 Uploaded
fubar
parents:
diff changeset
312 "type": "input"
b938475235e3 Uploaded
fubar
parents:
diff changeset
313 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
314 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
315 "name": "new_tool",
b938475235e3 Uploaded
fubar
parents:
diff changeset
316 "type": "tgz"
b938475235e3 Uploaded
fubar
parents:
diff changeset
317 }
b938475235e3 Uploaded
fubar
parents:
diff changeset
318 ],
b938475235e3 Uploaded
fubar
parents:
diff changeset
319 "position": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
320 "bottom": 852,
b938475235e3 Uploaded
fubar
parents:
diff changeset
321 "height": 202,
b938475235e3 Uploaded
fubar
parents:
diff changeset
322 "left": 613,
b938475235e3 Uploaded
fubar
parents:
diff changeset
323 "right": 813,
b938475235e3 Uploaded
fubar
parents:
diff changeset
324 "top": 650,
b938475235e3 Uploaded
fubar
parents:
diff changeset
325 "width": 200,
b938475235e3 Uploaded
fubar
parents:
diff changeset
326 "x": 613,
b938475235e3 Uploaded
fubar
parents:
diff changeset
327 "y": 650
b938475235e3 Uploaded
fubar
parents:
diff changeset
328 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
329 "post_job_actions": {},
b938475235e3 Uploaded
fubar
parents:
diff changeset
330 "tool_id": "rgTF2",
b938475235e3 Uploaded
fubar
parents:
diff changeset
331 "tool_state": "{\"__input_ext\": \"input\", \"chromInfo\": \"/home/ross/galaxy/tool-data/shared/ucsc/chrom/?.len\", \"interexe\": {\"interpreter\": \"bash\", \"__current_case__\": 5, \"interpreter_version\": \"\", \"exe_package_version\": \"\", \"dynScript\": \"rev | tac\"}, \"makeMode\": {\"make_Tool\": \"yes\", \"__current_case__\": 0, \"tool_version\": \"0.01\", \"tool_desc\": \"tacrev\", \"help_text\": \"**What it Does**\", \"citations\": []}, \"ppass\": {\"parampass\": \"0\", \"__current_case__\": 2, \"history_inputs\": [{\"__index__\": 0, \"input_files\": {\"__class__\": \"ConnectedValue\"}, \"input_formats\": [\"txt\"], \"input_label\": \"input file\", \"input_help\": \"parameter_help\", \"input_CL\": \"1\"}], \"history_outputs\": [{\"__index__\": 0, \"history_name\": \"outfile\", \"history_format\": \"txt\", \"history_CL\": \"2\"}]}, \"tool_name\": \"tacrev\", \"__page__\": null, \"__rerun_remap_job_id__\": null}",
b938475235e3 Uploaded
fubar
parents:
diff changeset
332 "tool_version": "2.00",
b938475235e3 Uploaded
fubar
parents:
diff changeset
333 "type": "tool",
b938475235e3 Uploaded
fubar
parents:
diff changeset
334 "uuid": "edb5d852-908b-45bf-8892-e0e8c337c31d",
b938475235e3 Uploaded
fubar
parents:
diff changeset
335 "workflow_outputs": [
b938475235e3 Uploaded
fubar
parents:
diff changeset
336 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
337 "label": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
338 "output_name": "TF_run_report",
b938475235e3 Uploaded
fubar
parents:
diff changeset
339 "uuid": "c1394cf9-bb03-4ac3-8466-8ee0cc30c0a0"
b938475235e3 Uploaded
fubar
parents:
diff changeset
340 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
341 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
342 "label": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
343 "output_name": "new_tool",
b938475235e3 Uploaded
fubar
parents:
diff changeset
344 "uuid": "e45566f4-d40e-4ad0-ad27-72ce814b13da"
b938475235e3 Uploaded
fubar
parents:
diff changeset
345 }
b938475235e3 Uploaded
fubar
parents:
diff changeset
346 ]
b938475235e3 Uploaded
fubar
parents:
diff changeset
347 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
348 "7": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
349 "annotation": "",
b938475235e3 Uploaded
fubar
parents:
diff changeset
350 "content_id": "rgTF2",
b938475235e3 Uploaded
fubar
parents:
diff changeset
351 "errors": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
352 "id": 7,
b938475235e3 Uploaded
fubar
parents:
diff changeset
353 "input_connections": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
354 "ppass|history_inputs_0|input_files": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
355 "id": 1,
b938475235e3 Uploaded
fubar
parents:
diff changeset
356 "output_name": "output"
b938475235e3 Uploaded
fubar
parents:
diff changeset
357 }
b938475235e3 Uploaded
fubar
parents:
diff changeset
358 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
359 "inputs": [],
b938475235e3 Uploaded
fubar
parents:
diff changeset
360 "label": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
361 "name": "toolfactory",
b938475235e3 Uploaded
fubar
parents:
diff changeset
362 "outputs": [
b938475235e3 Uploaded
fubar
parents:
diff changeset
363 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
364 "name": "TF_run_report",
b938475235e3 Uploaded
fubar
parents:
diff changeset
365 "type": "input"
b938475235e3 Uploaded
fubar
parents:
diff changeset
366 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
367 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
368 "name": "new_tool",
b938475235e3 Uploaded
fubar
parents:
diff changeset
369 "type": "tgz"
b938475235e3 Uploaded
fubar
parents:
diff changeset
370 }
b938475235e3 Uploaded
fubar
parents:
diff changeset
371 ],
b938475235e3 Uploaded
fubar
parents:
diff changeset
372 "position": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
373 "bottom": 992,
b938475235e3 Uploaded
fubar
parents:
diff changeset
374 "height": 222,
b938475235e3 Uploaded
fubar
parents:
diff changeset
375 "left": 613,
b938475235e3 Uploaded
fubar
parents:
diff changeset
376 "right": 813,
b938475235e3 Uploaded
fubar
parents:
diff changeset
377 "top": 770,
b938475235e3 Uploaded
fubar
parents:
diff changeset
378 "width": 200,
b938475235e3 Uploaded
fubar
parents:
diff changeset
379 "x": 613,
b938475235e3 Uploaded
fubar
parents:
diff changeset
380 "y": 770
b938475235e3 Uploaded
fubar
parents:
diff changeset
381 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
382 "post_job_actions": {},
b938475235e3 Uploaded
fubar
parents:
diff changeset
383 "tool_id": "rgTF2",
b938475235e3 Uploaded
fubar
parents:
diff changeset
384 "tool_state": "{\"__input_ext\": \"input\", \"chromInfo\": \"/home/ross/galaxy/tool-data/shared/ucsc/chrom/?.len\", \"interexe\": {\"interpreter\": \"python\", \"__current_case__\": 2, \"interpreter_version\": \"\", \"exe_package_version\": \"\", \"dynScript\": \"# reverse order of text by row\\nimport sys\\ninp = sys.argv[1]\\noutp = sys.argv[2]\\ni = open(inp,'r').readlines()\\no = open(outp,'w')\\nfor row in i:\\n rs = row.rstrip()\\n rs = list(rs)\\n rs.reverse()\\n o.write(''.join(rs))\\n o.write('\\\\n')\\no.close()\"}, \"makeMode\": {\"make_Tool\": \"yes\", \"__current_case__\": 0, \"tool_version\": \"0.01\", \"tool_desc\": \"pyrevpos\", \"help_text\": \"**What it Does**\", \"citations\": []}, \"ppass\": {\"parampass\": \"positional\", \"__current_case__\": 1, \"history_inputs\": [{\"__index__\": 0, \"input_files\": {\"__class__\": \"ConnectedValue\"}, \"input_formats\": [\"txt\"], \"input_label\": \"inputfile\", \"input_help\": \"parameter_help\", \"input_CL\": \"1\"}], \"history_outputs\": [{\"__index__\": 0, \"history_name\": \"output\", \"history_format\": \"txt\", \"history_CL\": \"2\"}], \"edit_params\": \"yes\", \"additional_parameters\": []}, \"tool_name\": \"pyrevpos\", \"__page__\": null, \"__rerun_remap_job_id__\": null}",
b938475235e3 Uploaded
fubar
parents:
diff changeset
385 "tool_version": "2.00",
b938475235e3 Uploaded
fubar
parents:
diff changeset
386 "type": "tool",
b938475235e3 Uploaded
fubar
parents:
diff changeset
387 "uuid": "08a48555-8700-4652-a76b-df1f54197049",
b938475235e3 Uploaded
fubar
parents:
diff changeset
388 "workflow_outputs": [
b938475235e3 Uploaded
fubar
parents:
diff changeset
389 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
390 "label": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
391 "output_name": "TF_run_report",
b938475235e3 Uploaded
fubar
parents:
diff changeset
392 "uuid": "b5bd73bb-1ddc-4161-be2e-370bab9aebbe"
b938475235e3 Uploaded
fubar
parents:
diff changeset
393 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
394 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
395 "label": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
396 "output_name": "new_tool",
b938475235e3 Uploaded
fubar
parents:
diff changeset
397 "uuid": "e96ae086-a92a-4018-8f07-ebf4974807e6"
b938475235e3 Uploaded
fubar
parents:
diff changeset
398 }
b938475235e3 Uploaded
fubar
parents:
diff changeset
399 ]
b938475235e3 Uploaded
fubar
parents:
diff changeset
400 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
401 "8": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
402 "annotation": "",
b938475235e3 Uploaded
fubar
parents:
diff changeset
403 "content_id": "rgTF2",
b938475235e3 Uploaded
fubar
parents:
diff changeset
404 "errors": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
405 "id": 8,
b938475235e3 Uploaded
fubar
parents:
diff changeset
406 "input_connections": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
407 "ppass|history_inputs_0|input_files": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
408 "id": 7,
b938475235e3 Uploaded
fubar
parents:
diff changeset
409 "output_name": "new_tool"
b938475235e3 Uploaded
fubar
parents:
diff changeset
410 }
b938475235e3 Uploaded
fubar
parents:
diff changeset
411 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
412 "inputs": [],
b938475235e3 Uploaded
fubar
parents:
diff changeset
413 "label": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
414 "name": "toolfactory",
b938475235e3 Uploaded
fubar
parents:
diff changeset
415 "outputs": [
b938475235e3 Uploaded
fubar
parents:
diff changeset
416 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
417 "name": "TF_run_report",
b938475235e3 Uploaded
fubar
parents:
diff changeset
418 "type": "input"
b938475235e3 Uploaded
fubar
parents:
diff changeset
419 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
420 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
421 "name": "new_tool",
b938475235e3 Uploaded
fubar
parents:
diff changeset
422 "type": "tgz"
b938475235e3 Uploaded
fubar
parents:
diff changeset
423 }
b938475235e3 Uploaded
fubar
parents:
diff changeset
424 ],
b938475235e3 Uploaded
fubar
parents:
diff changeset
425 "position": {
b938475235e3 Uploaded
fubar
parents:
diff changeset
426 "bottom": 412,
b938475235e3 Uploaded
fubar
parents:
diff changeset
427 "height": 242,
b938475235e3 Uploaded
fubar
parents:
diff changeset
428 "left": 833,
b938475235e3 Uploaded
fubar
parents:
diff changeset
429 "right": 1033,
b938475235e3 Uploaded
fubar
parents:
diff changeset
430 "top": 170,
b938475235e3 Uploaded
fubar
parents:
diff changeset
431 "width": 200,
b938475235e3 Uploaded
fubar
parents:
diff changeset
432 "x": 833,
b938475235e3 Uploaded
fubar
parents:
diff changeset
433 "y": 170
b938475235e3 Uploaded
fubar
parents:
diff changeset
434 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
435 "post_job_actions": {},
b938475235e3 Uploaded
fubar
parents:
diff changeset
436 "tool_id": "rgTF2",
b938475235e3 Uploaded
fubar
parents:
diff changeset
437 "tool_state": "{\"__input_ext\": \"input\", \"chromInfo\": \"/home/ross/galaxy/tool-data/shared/ucsc/chrom/?.len\", \"interexe\": {\"interpreter\": \"python\", \"__current_case__\": 2, \"interpreter_version\": \"\", \"exe_package_version\": \"\", \"dynScript\": \"import argparse\\nimport tarfile\\nimport os\\nimport tempfile\\nimport subprocess\\n\\n\\\"\\\"\\\"\\nplanemo test --no_cleanup --no_dependency_resolution --skip_venv --galaxy_root ~/galaxy ~/galaxy/tools/tool_makers/pyrevargparse/ &> pyrevargparse\\n\\\"\\\"\\\"\\n\\nparser = argparse.ArgumentParser()\\na = parser.add_argument\\na('--tooltgz',default='')\\na('--report',default=None)\\na('--toolout',default=None)\\na('--galaxy_root',default=None)\\nargs = parser.parse_args()\\ntoolname = args.toolout.split(os.sep)[-1]\\ntoolpath = os.path.join(args.galaxy_root,args.toolout)\\ntf = tarfile.open(args.tooltgz,\\\"r:gz\\\")\\ntf.extractall(toolpath)\\ncl = \\\"planemo test --skip_venv --galaxy_root %s %s\\\" % (args.galaxy_root,toolpath)\\ncll = cl.split(' ')\\nsto = open(args.report, 'w')\\np = subprocess.run(cll, shell=False, stdout=sto)\\nretval = p.returncode\\nsto.close()\\n\"}, \"makeMode\": {\"make_Tool\": \"yes\", \"__current_case__\": 0, \"tool_version\": \"0.01\", \"tool_desc\": \"Tool to test toolshed tool archives generated by the tool factory.\", \"help_text\": \"**What it Does**\\n\\nGiven a toolshed tgz file generated by a tool factory run, this will unpack it and run planemo test, returning the planemo stdout as a report\\nIt was generated using the tool factory.\", \"citations\": []}, \"ppass\": {\"parampass\": \"argparse\", \"__current_case__\": 0, \"history_inputs\": [{\"__index__\": 0, \"input_files\": {\"__class__\": \"ConnectedValue\"}, \"input_formats\": [\"tgz\"], \"input_label\": \"tool toolshed tgz archive from history\", \"input_help\": \"Run planemo test on a tool shed tool archive tgz format file generated by the ToolFactory or Planemo\", \"input_CL\": \"tooltgz\"}], \"history_outputs\": [{\"__index__\": 0, \"history_name\": \"report\", \"history_format\": \"txt\", \"history_CL\": \"report\"}], \"edit_params\": \"yes\", \"additional_parameters\": [{\"__index__\": 0, \"param_name\": \"toolout\", \"param_type\": \"text\", \"param_value\": \"tools/toolmakers/planemotest\", \"param_label\": \"output path under galaxy root\", \"param_help\": \"This is where the tgz file will be extracted and tested by planemo\", \"param_CL\": \"toolout\", \"param_CLprefixed\": \"\"}, {\"__index__\": 1, \"param_name\": \"galaxy_root\", \"param_type\": \"text\", \"param_value\": \"/home/ross/galaxy\", \"param_label\": \"Galaxy source root directory to use for running planemo\", \"param_help\": \"This will form the galaxy_root parameter for rnning planemo using an existing Galaxy source tree, and the tgz will be extracted at a path relative to that rootu\", \"param_CL\": \"galaxy_root\", \"param_CLprefixed\": \"\"}]}, \"tool_name\": \"planemotest\", \"__page__\": null, \"__rerun_remap_job_id__\": null}",
b938475235e3 Uploaded
fubar
parents:
diff changeset
438 "tool_version": "2.00",
b938475235e3 Uploaded
fubar
parents:
diff changeset
439 "type": "tool",
b938475235e3 Uploaded
fubar
parents:
diff changeset
440 "uuid": "b9bfb1a4-4c0c-4d39-9e74-223da72f8abc",
b938475235e3 Uploaded
fubar
parents:
diff changeset
441 "workflow_outputs": [
b938475235e3 Uploaded
fubar
parents:
diff changeset
442 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
443 "label": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
444 "output_name": "TF_run_report",
b938475235e3 Uploaded
fubar
parents:
diff changeset
445 "uuid": "09ba44ea-4da8-46f5-a411-ca054ccedd3b"
b938475235e3 Uploaded
fubar
parents:
diff changeset
446 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
447 {
b938475235e3 Uploaded
fubar
parents:
diff changeset
448 "label": null,
b938475235e3 Uploaded
fubar
parents:
diff changeset
449 "output_name": "new_tool",
b938475235e3 Uploaded
fubar
parents:
diff changeset
450 "uuid": "50a8ff4a-702a-4983-8202-8a79c0a3c978"
b938475235e3 Uploaded
fubar
parents:
diff changeset
451 }
b938475235e3 Uploaded
fubar
parents:
diff changeset
452 ]
b938475235e3 Uploaded
fubar
parents:
diff changeset
453 }
b938475235e3 Uploaded
fubar
parents:
diff changeset
454 },
b938475235e3 Uploaded
fubar
parents:
diff changeset
455 "tags": [],
b938475235e3 Uploaded
fubar
parents:
diff changeset
456 "uuid": "321a7f9f-c287-453c-807a-43afd948770e",
b938475235e3 Uploaded
fubar
parents:
diff changeset
457 "version": 1
b938475235e3 Uploaded
fubar
parents:
diff changeset
458 }