comparison docker/TF_example_wf2.ga @ 42:b938475235e3 draft

Uploaded
author fubar
date Sun, 16 Aug 2020 08:33:09 -0400
parents
children
comparison
equal deleted inserted replaced
41:f8c1694190f0 42:b938475235e3
1 {
2 "a_galaxy_workflow": "true",
3 "annotation": "",
4 "format-version": "0.1",
5 "name": "TF examples (imported from uploaded file)",
6 "steps": {
7 "0": {
8 "annotation": "a fasta file - gc ratio will be estimated",
9 "content_id": null,
10 "errors": null,
11 "id": 0,
12 "input_connections": {},
13 "inputs": [
14 {
15 "description": "a fasta file - gc ratio will be estimated",
16 "name": "phiX.fasta"
17 }
18 ],
19 "label": "phiX.fasta",
20 "name": "Input dataset",
21 "outputs": [],
22 "position": {
23 "bottom": 231,
24 "height": 61,
25 "left": 393,
26 "right": 593,
27 "top": 170,
28 "width": 200,
29 "x": 393,
30 "y": 170
31 },
32 "tool_id": null,
33 "tool_state": "{\"optional\": false}",
34 "tool_version": null,
35 "type": "data_input",
36 "uuid": "7e2e24c8-2327-4893-a5b3-6b696a6ecd33",
37 "workflow_outputs": [
38 {
39 "label": null,
40 "output_name": "output",
41 "uuid": "f5ce2386-b80c-4691-a0a7-abeec8854461"
42 }
43 ]
44 },
45 "1": {
46 "annotation": "Any text file to be reversed lots of times and bjorked once.",
47 "content_id": null,
48 "errors": null,
49 "id": 1,
50 "input_connections": {},
51 "inputs": [
52 {
53 "description": "Any text file to be reversed lots of times and bjorked once.",
54 "name": "rgToolFactory2.py"
55 }
56 ],
57 "label": "rgToolFactory2.py",
58 "name": "Input dataset",
59 "outputs": [],
60 "position": {
61 "bottom": 371,
62 "height": 81,
63 "left": 393,
64 "right": 593,
65 "top": 290,
66 "width": 200,
67 "x": 393,
68 "y": 290
69 },
70 "tool_id": null,
71 "tool_state": "{\"optional\": false}",
72 "tool_version": null,
73 "type": "data_input",
74 "uuid": "f530b390-2424-4aae-8bd9-dd9d30277561",
75 "workflow_outputs": [
76 {
77 "label": null,
78 "output_name": "output",
79 "uuid": "3d2a1699-50af-46e1-8981-dc6c3de2cf6c"
80 }
81 ]
82 },
83 "2": {
84 "annotation": "",
85 "content_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_2/rgTF2/2.00",
86 "errors": null,
87 "id": 2,
88 "input_connections": {
89 "ppass|history_inputs_0|input_files": {
90 "id": 0,
91 "output_name": "output"
92 }
93 },
94 "inputs": [],
95 "label": null,
96 "name": "toolfactory",
97 "outputs": [
98 {
99 "name": "TF_run_report",
100 "type": "input"
101 },
102 {
103 "name": "new_tool",
104 "type": "tgz"
105 }
106 ],
107 "position": {
108 "bottom": 372,
109 "height": 202,
110 "left": 613,
111 "right": 813,
112 "top": 170,
113 "width": 200,
114 "x": 613,
115 "y": 170
116 },
117 "post_job_actions": {},
118 "tool_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_2/rgTF2/2.00",
119 "tool_shed_repository": {
120 "changeset_revision": "51fa77152988",
121 "name": "tool_factory_2",
122 "owner": "fubar",
123 "tool_shed": "toolshed.g2.bx.psu.edu"
124 },
125 "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}",
126 "tool_version": "2.00",
127 "type": "tool",
128 "uuid": "3b6aab01-4759-4df6-801f-626678639e51",
129 "workflow_outputs": [
130 {
131 "label": null,
132 "output_name": "new_tool",
133 "uuid": "f964e779-2f92-4c81-9819-3e1ebc156664"
134 },
135 {
136 "label": null,
137 "output_name": "TF_run_report",
138 "uuid": "7aea56bd-4f39-4d3b-8254-a6675161d059"
139 }
140 ]
141 },
142 "3": {
143 "annotation": "",
144 "content_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_2/rgTF2/2.00",
145 "errors": null,
146 "id": 3,
147 "input_connections": {
148 "ppass|history_inputs_0|input_files": {
149 "id": 1,
150 "output_name": "output"
151 }
152 },
153 "inputs": [],
154 "label": null,
155 "name": "toolfactory",
156 "outputs": [
157 {
158 "name": "TF_run_report",
159 "type": "input"
160 },
161 {
162 "name": "new_tool",
163 "type": "tgz"
164 }
165 ],
166 "position": {
167 "bottom": 492,
168 "height": 202,
169 "left": 613,
170 "right": 813,
171 "top": 290,
172 "width": 200,
173 "x": 613,
174 "y": 290
175 },
176 "post_job_actions": {},
177 "tool_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_2/rgTF2/2.00",
178 "tool_shed_repository": {
179 "changeset_revision": "51fa77152988",
180 "name": "tool_factory_2",
181 "owner": "fubar",
182 "tool_shed": "toolshed.g2.bx.psu.edu"
183 },
184 "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}",
185 "tool_version": "2.00",
186 "type": "tool",
187 "uuid": "2138c717-5128-4c4b-bc22-4809cd001c34",
188 "workflow_outputs": [
189 {
190 "label": null,
191 "output_name": "TF_run_report",
192 "uuid": "b0be8c95-7380-42b8-a16d-8e08578d4dd7"
193 },
194 {
195 "label": null,
196 "output_name": "new_tool",
197 "uuid": "56635519-a9a0-49eb-8305-59cc1fcef99f"
198 }
199 ]
200 },
201 "4": {
202 "annotation": "",
203 "content_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_2/rgTF2/2.00",
204 "errors": null,
205 "id": 4,
206 "input_connections": {
207 "ppass|history_inputs_0|input_files": {
208 "id": 1,
209 "output_name": "output"
210 }
211 },
212 "inputs": [],
213 "label": null,
214 "name": "toolfactory",
215 "outputs": [
216 {
217 "name": "TF_run_report",
218 "type": "input"
219 },
220 {
221 "name": "new_tool",
222 "type": "tgz"
223 }
224 ],
225 "position": {
226 "bottom": 652,
227 "height": 242,
228 "left": 613,
229 "right": 813,
230 "top": 410,
231 "width": 200,
232 "x": 613,
233 "y": 410
234 },
235 "post_job_actions": {},
236 "tool_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_2/rgTF2/2.00",
237 "tool_shed_repository": {
238 "changeset_revision": "51fa77152988",
239 "name": "tool_factory_2",
240 "owner": "fubar",
241 "tool_shed": "toolshed.g2.bx.psu.edu"
242 },
243 "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}",
244 "tool_version": "2.00",
245 "type": "tool",
246 "uuid": "30dbe033-30c4-4228-b0cb-854df30f5594",
247 "workflow_outputs": [
248 {
249 "label": null,
250 "output_name": "TF_run_report",
251 "uuid": "37fdd905-471d-4479-a98a-4dfbaa6314be"
252 },
253 {
254 "label": null,
255 "output_name": "new_tool",
256 "uuid": "7c8a8dba-1e8c-49d5-b51d-a0ab09931932"
257 }
258 ]
259 },
260 "5": {
261 "annotation": "",
262 "content_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_2/rgTF2/2.00",
263 "errors": null,
264 "id": 5,
265 "input_connections": {
266 "ppass|history_inputs_0|input_files": {
267 "id": 1,
268 "output_name": "output"
269 }
270 },
271 "inputs": [],
272 "label": null,
273 "name": "toolfactory",
274 "outputs": [
275 {
276 "name": "TF_run_report",
277 "type": "input"
278 },
279 {
280 "name": "new_tool",
281 "type": "tgz"
282 }
283 ],
284 "position": {
285 "bottom": 772,
286 "height": 242,
287 "left": 613,
288 "right": 813,
289 "top": 530,
290 "width": 200,
291 "x": 613,
292 "y": 530
293 },
294 "post_job_actions": {},
295 "tool_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_2/rgTF2/2.00",
296 "tool_shed_repository": {
297 "changeset_revision": "51fa77152988",
298 "name": "tool_factory_2",
299 "owner": "fubar",
300 "tool_shed": "toolshed.g2.bx.psu.edu"
301 },
302 "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}",
303 "tool_version": "2.00",
304 "type": "tool",
305 "uuid": "91a0dccf-384c-491a-ae08-f426888d26cf",
306 "workflow_outputs": [
307 {
308 "label": null,
309 "output_name": "TF_run_report",
310 "uuid": "61a5271d-3940-4855-9093-a0710dc3fe08"
311 },
312 {
313 "label": null,
314 "output_name": "new_tool",
315 "uuid": "a6602e23-dc1c-44b7-8ed7-cd9971ff9d30"
316 }
317 ]
318 },
319 "6": {
320 "annotation": "",
321 "content_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_2/rgTF2/2.00",
322 "errors": null,
323 "id": 6,
324 "input_connections": {
325 "ppass|history_inputs_0|input_files": {
326 "id": 1,
327 "output_name": "output"
328 }
329 },
330 "inputs": [],
331 "label": null,
332 "name": "toolfactory",
333 "outputs": [
334 {
335 "name": "TF_run_report",
336 "type": "input"
337 },
338 {
339 "name": "new_tool",
340 "type": "tgz"
341 }
342 ],
343 "position": {
344 "bottom": 852,
345 "height": 202,
346 "left": 613,
347 "right": 813,
348 "top": 650,
349 "width": 200,
350 "x": 613,
351 "y": 650
352 },
353 "post_job_actions": {},
354 "tool_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_2/rgTF2/2.00",
355 "tool_shed_repository": {
356 "changeset_revision": "51fa77152988",
357 "name": "tool_factory_2",
358 "owner": "fubar",
359 "tool_shed": "toolshed.g2.bx.psu.edu"
360 },
361 "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}",
362 "tool_version": "2.00",
363 "type": "tool",
364 "uuid": "edb5d852-908b-45bf-8892-e0e8c337c31d",
365 "workflow_outputs": [
366 {
367 "label": null,
368 "output_name": "TF_run_report",
369 "uuid": "c1394cf9-bb03-4ac3-8466-8ee0cc30c0a0"
370 },
371 {
372 "label": null,
373 "output_name": "new_tool",
374 "uuid": "e45566f4-d40e-4ad0-ad27-72ce814b13da"
375 }
376 ]
377 },
378 "7": {
379 "annotation": "",
380 "content_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_2/rgTF2/2.00",
381 "errors": null,
382 "id": 7,
383 "input_connections": {
384 "ppass|history_inputs_0|input_files": {
385 "id": 1,
386 "output_name": "output"
387 }
388 },
389 "inputs": [],
390 "label": null,
391 "name": "toolfactory",
392 "outputs": [
393 {
394 "name": "TF_run_report",
395 "type": "input"
396 },
397 {
398 "name": "new_tool",
399 "type": "tgz"
400 }
401 ],
402 "position": {
403 "bottom": 992,
404 "height": 222,
405 "left": 613,
406 "right": 813,
407 "top": 770,
408 "width": 200,
409 "x": 613,
410 "y": 770
411 },
412 "post_job_actions": {},
413 "tool_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_2/rgTF2/2.00",
414 "tool_shed_repository": {
415 "changeset_revision": "51fa77152988",
416 "name": "tool_factory_2",
417 "owner": "fubar",
418 "tool_shed": "toolshed.g2.bx.psu.edu"
419 },
420 "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}",
421 "tool_version": "2.00",
422 "type": "tool",
423 "uuid": "08a48555-8700-4652-a76b-df1f54197049",
424 "workflow_outputs": [
425 {
426 "label": null,
427 "output_name": "new_tool",
428 "uuid": "e96ae086-a92a-4018-8f07-ebf4974807e6"
429 },
430 {
431 "label": null,
432 "output_name": "TF_run_report",
433 "uuid": "b5bd73bb-1ddc-4161-be2e-370bab9aebbe"
434 }
435 ]
436 },
437 "8": {
438 "annotation": "",
439 "content_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_2/rgTF2/2.00",
440 "errors": null,
441 "id": 8,
442 "input_connections": {
443 "ppass|history_inputs_0|input_files": {
444 "id": 7,
445 "output_name": "new_tool"
446 }
447 },
448 "inputs": [],
449 "label": null,
450 "name": "toolfactory",
451 "outputs": [
452 {
453 "name": "TF_run_report",
454 "type": "input"
455 },
456 {
457 "name": "new_tool",
458 "type": "tgz"
459 }
460 ],
461 "position": {
462 "bottom": 412,
463 "height": 242,
464 "left": 833,
465 "right": 1033,
466 "top": 170,
467 "width": 200,
468 "x": 833,
469 "y": 170
470 },
471 "post_job_actions": {},
472 "tool_id": "toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_2/rgTF2/2.00",
473 "tool_shed_repository": {
474 "changeset_revision": "51fa77152988",
475 "name": "tool_factory_2",
476 "owner": "fubar",
477 "tool_shed": "toolshed.g2.bx.psu.edu"
478 },
479 "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}",
480 "tool_version": "2.00",
481 "type": "tool",
482 "uuid": "b9bfb1a4-4c0c-4d39-9e74-223da72f8abc",
483 "workflow_outputs": [
484 {
485 "label": null,
486 "output_name": "TF_run_report",
487 "uuid": "09ba44ea-4da8-46f5-a411-ca054ccedd3b"
488 },
489 {
490 "label": null,
491 "output_name": "new_tool",
492 "uuid": "50a8ff4a-702a-4983-8202-8a79c0a3c978"
493 }
494 ]
495 }
496 },
497 "tags": [],
498 "uuid": "321a7f9f-c287-453c-807a-43afd948770e",
499 "version": 0
500 }