comparison toolfactory_docker/rgToolFactory2.xml @ 2:a5c5652823a6 draft

Uploaded
author fubar
date Tue, 05 Jan 2021 00:35:40 +0000
parents
children b4985006fb05
comparison
equal deleted inserted replaced
1:0778fb523693 2:a5c5652823a6
1 <tool id="rgtfd" name="toolfactory" version="2.00" profile="16.04" >
2 <description>Scripts into tools v2.0</description>
3 <macros>
4 <xml name="tool_metadata">
5 <param name="tool_version" label="Tool Version - bump this to warn users trying to redo old analyses" type="text" value="0.01"
6 help="If you change your script and regenerate the 'same' tool, you should inform Galaxy (and users) by changing (bumping is traditional) this number"/>
7 <param name="tool_desc" label="Tool Synopsis" type="text" value=""
8 help="Supply a brief tool description for the Galaxy tool menu entry" />
9 <param name="help_text" label="Tool form documentation and help text for users" type="text" area="true"
10 value="**What it Does**"
11 help="Supply user documentation to appear on the new tool form as reStructured text - http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html" >
12 <sanitizer>
13 <valid initial="string.printable" />
14 <mapping initial="none"/>
15 </sanitizer>
16 </param>
17 <repeat name="citations" title="Citation">
18 <conditional name="citation_type">
19 <param name="type" type="select" display="radio" label="Citation Type">
20 <option value="doi">DOI</option>
21 <option value="bibtex">BibTeX</option>
22 </param>
23 <when value="doi">
24 <param name="doi" label="DOI" type="text" value=""
25 help="Supply a DOI (e.g. doi: 10.1111/j.1740-9713.2007.00258.x) to be cited when this tool is used in published research." />
26 </when>
27 <when value="bibtex">
28 <param name="bibtex" label="BibTex" type="text" area="true"
29 help="Supply a BibTex entry that should be cited when this tool is used in published research." value="" >
30 <sanitizer>
31 <valid initial="string.printable" />
32 <mapping initial="none"/>
33 </sanitizer>
34 </param>
35 </when>
36 </conditional>
37 </repeat>
38 </xml>
39 <xml name="io">
40 <section name="io" title="Input and output files" expanded="true">
41 <repeat name="history_inputs" title="zero or more input data files to pass as parameters to the executable."
42 help="USE SMALL SAMPLES for the new tool's test. Prompts will form a history item selector as input for users of this new tool">
43 <param name="input_files" type="data" format="data" label="Select an input file from your history" optional="true" multiple="false"
44 help=""/>
45 <param name="input_formats" type="select" multiple="true" label="Select the datatype(s) that your tool/script accepts as input"
46 help="If your datatype is not listed here, it has to be added in galaxy's datatypes_conf.xml" value="tabular">
47 <options from_parameter="tool.app.datatypes_registry.upload_file_formats">
48 <column name="value" index="0"/>
49 </options>
50 </param>
51 <param name="input_label" type="text" value="" label="This will become the user prompt for the form so please make it informative"
52 help="Note that '~~~' is an internal delimiter so must not appear in this text field - please work around this technical limitation" >
53 <sanitizer invalid_char="">
54 <valid initial="string.printable">
55 <remove value='~~~' />
56 </valid>
57 <mapping initial="none"/>
58 </sanitizer>
59 </param>
60 <param name="input_help" type="text" value="" label="This will become help text on the form."
61 help="Note that three consecutive ~ cannot be used in this text field - please work around this technical limitation">
62 <sanitizer invalid_char="">
63 <valid initial="string.printable">
64 <remove value='~~~' />
65 </valid>
66 <mapping initial="none"/>
67 </sanitizer>
68 </param>
69 <param name="input_CL" type="text" label="Positional: ordinal integer. Argparse: argument name. STDIN if the executable/script expects it"
70 help="If you will pass positional parameters, enter the integer ordinal for this parameter. If Argparse style, '--' will be prepended or '-' if single character" value="">
71 </param>
72 </repeat>
73 <repeat name="history_outputs" title="one or more new history items output by the executable to appear in the user history after the tool runs"
74 help="The name will become a history item for users of the new tool you are making containing one of it's outputs">
75 <param name="history_name" type="text" label="Name for this output to appear in new history" optional="false"
76 help="No spaces! Argparse will also use this name as --[name]">
77 <sanitizer invalid_char="_">
78 <valid initial="string.ascii_letters,string.digits" >
79 <add value="_" />
80 </valid>
81 </sanitizer>
82 </param>
83 <param name="history_format" type="select" multiple="false" label="Select the datatype for this output"
84 help="If your datatype is not listed here, it has to be added in galaxy's datatypes_conf.xml" value="tabular">
85 <options from_parameter="tool.app.datatypes_registry.upload_file_formats">
86 <column name="value" index="0"/>
87 </options>
88 </param>
89 <param name="history_CL" type="text" label="Positional: ordinal integer. Use STDOUT if '>' required. Otherwise ignored if argparse because name is used"
90 help="If positional parameters, enter the integer ordinal expected for this parameter. If argparse, ignore unless STDOUT needed" value=""/>
91 <param name="history_test" type="text" label="Test pass decision criterion for this output compared to test generation"
92 help="Available options are diff:[lines], sim_size:[delta (integer) or delta_frac (float)" value="diff:0"/>
93 </repeat>
94 </section>
95 </xml>
96 <xml name="additparam">
97 <section name="addparam" title="Executable or script settings passed on the command line other than I/O files" expanded="true">
98 <param name="edit_params" type="select" display="radio" label="Make these settings on the generated tool form user editable?"
99 help="If no, users will NOT be able to alter any additional parameters. If yes, these will appear on the tool form as text fields with no validation or sanitizing">
100 <option value="yes" selected="true">Yes, allow user to edit all additional parameters on the generated tool form</option>
101 <option value="no">No - use the fixed values for all additional parameters - no user editing</option>
102 </param>
103
104 <repeat name="additional_parameters" title="zero or more settings to be set by the tool user and passed on the command line"
105 help="See examples below to see how these can be parsed by scripts in the various languages">
106 <param name="param_name" type="text" value="" label="Choose the name for this parameter - MUST not be blank!">
107 <sanitizer invalid_char="">
108 <valid initial="string.ascii_letters,string.digits"/>
109 <mapping initial="none"/>
110 </sanitizer>
111 </param>
112 <param name="param_type" type="select" label="Select the type for this parameter">
113 <option value="text" selected="true">text</option>
114 <option value="integer">integer</option>
115 <option value="float">float</option>
116 </param>
117 <param name="param_value" type="text" value="" label="Enter this parameter's default value"
118 help="Note that '~~~' is an internal delimiter must not appear in this text field - please work around this technical limitation" >
119 <sanitizer invalid_char="">
120 <valid initial="string.printable">
121 <remove value='~~~' />
122 </valid>
123 <mapping initial="none"/>
124 </sanitizer>
125 </param>
126 <param name="param_label" type="text" value="" label="Enter this parameter's label for the form"
127 help="Note that '~~~' is an internal delimiter so must not appear in this text field - please work around this technical limitation" >
128 <sanitizer invalid_char="">
129 <valid initial="string.printable">
130 <remove value='~~~'/>
131 </valid>
132 <mapping initial="none"/>
133 </sanitizer>
134 </param>
135 <param name="param_help" type="text" value="" label="Help for this parameter"
136 help="Note that three consecutive ~ cannot be used in this text field - please work around this technical limitation" >
137 <sanitizer invalid_char="">
138 <valid initial="string.printable">
139 <remove value='~~~'/>
140 </valid>
141 <mapping initial="none"/>
142 </sanitizer>
143 </param>
144 <param name="param_CL" type="text" label="Positional ordinal | argparse argument name"
145 help="Using positional parameters, enter the integer ordinal for this parameter on the command line. Using Argparse style, '--' will be prepended on the CL" value="" />
146 <param name="param_CLprefixed" type="text" label="Override the generated default argparse name prefix if not empty - eg ----foo if needed"
147 help="Some targets like Planemo expect an unadorned action like 'test' before --galaxy_root." value="" />
148 </repeat>
149 </section>
150 </xml>
151 </macros>
152
153 <requirements>
154 <requirement type="package" version="0.4.11">galaxyxml</requirement>
155 <requirement type="package" version="0.14.0">bioblend</requirement>
156 <requirement type="package" version="0.10.6">ephemeris</requirement>
157 <requirement type="package" version="4.4.0">docker-py</requirement>
158 <container type="docker">quay.io/fubar2/planemo-biocontainer:latest</container>
159 </requirements>
160
161 <command ><![CDATA[
162 #import os
163 #set dev_env = os.environ.get('GALAXY_DEVELOPMENT_ENVIRONMENT', '0') == '1'
164 #if not $dev_env and ( $__user_email__ not in $__admin_users__ ):
165 python3 $__tool_directory__/rgToolFactory2.py --bad_user $__user_email__
166 #else:
167 python3 $__tool_directory__/rgToolFactory2.py
168 #if len(str($cl_prefix)) > 3:
169 --cl_prefix "$cl_prefix"
170 #end if
171 #if $cover.commover == "yes":
172 #if len(str($cover.command_override)) > 10:
173 --command_override "$commandoverride"
174 #end if
175 #if len(str($cover.test_override)) > 10:
176 --test_override "$testoverride"
177 #end if
178 #end if
179 --packages "$deps.packages"
180 #if $deps.usescript.choosescript == "yes":
181 --script_path "$runme"
182 --sysexe "$deps.usescript.scriptrunner"
183 #end if
184 --tool_name "$tool_name" --user_email "$__user_email__" --citations "$citeme" --parampass "$io_param.ppass.parampass"
185
186 #if str($make.makeMode.make_Tool)!="runonly":
187 --make_Tool "$make.makeMode.make_Tool"
188 --tool_desc "$make.makeMode.tool_desc"
189 --tool_version "$make.makeMode.tool_version"
190 --help_text "$helpme"
191 --new_tool "$new_tool"
192 --toolshed_api_key "$make.makeMode.toolshed_apikey"
193 --galaxy_api_key "$make.makeMode.galaxy_apikey"
194 --toolshed_url "$make.makeMode.toolshed_url"
195 --galaxy_url "$make.makeMode.galaxy_url"
196 #end if
197 #if $io_param.ppass.parampass != '0':
198 #if str($io_param.ppass.addparam.edit_params) == "yes":
199 --edit_additional_parameters
200 #end if
201 #for apar in $io_param.ppass.addparam.additional_parameters:
202 --additional_parameters "$apar.param_name~~~$apar.param_value~~~$apar.param_label~~~$apar.param_help~~~$apar.param_type~~~$apar.param_CL~~~$apar.param_CLprefixed"
203 #end for
204 #end if
205 #for $intab in $io_param.ppass.io.history_inputs:
206 --input_files "$intab.input_files~~~$intab.input_CL~~~$intab.input_formats~~~$intab.input_label~~~$intab.input_help"
207 #end for
208 #for $otab in $io_param.ppass.io.history_outputs:
209 --output_files "$otab.history_name~~~$otab.history_format~~~$otab.history_CL~~~$otab.history_test"
210 #end for
211 --galaxy_root "$__root_dir__"
212 --tool_dir "$__tool_directory__"
213 #end if
214 ]]></command>
215 <configfiles>
216 <configfile name="runme">
217 $deps.usescript.dynScript
218 </configfile>
219 <configfile name="commandoverride">
220 #if $cover.commover == "yes" and len(str($cover.command_override).strip()) > 1:
221 $cover.command_override
222 #end if
223 </configfile>
224 <configfile name="testoverride">
225 #if $cover.commover == "yes" and len(str($cover.test_override).strip()) > 1:
226 $cover.test_override
227 #end if
228 </configfile>
229 <configfile name="helpme">
230 #if $make.makeMode.make_Tool != "runonly":
231 ${make.makeMode.help_text}
232 #else
233 $tool_name help goes here
234 #end if
235 </configfile>
236 <configfile name="citeme">
237 #if $make.makeMode.make_Tool != "runonly":
238 #for $citation in $make.makeMode.citations:
239 #if $citation.citation_type.type == "bibtex":
240 **ENTRY**bibtex
241 ${citation.citation_type.bibtex}
242 #else
243 **ENTRY**doi
244 ${citation.citation_type.doi}
245 #end if
246 #end for
247 #end if
248 </configfile>
249 </configfiles>
250 <inputs>
251 <param name="tool_name" type="text" value="tool1" label="New tool ID and title for outputs"
252 help="Toolshed repository name. Choose thoughtfully to avoid namespace clashes with other tool writers. Lower case, digits and underscores only">
253 <sanitizer invalid_char="">
254 <valid initial="string.ascii_lowercase,string.digits">
255 <add value="_"/>
256 </valid>
257 </sanitizer>
258 </param>
259
260 <section name="deps" title="Dependencies, optional script and script interpreter" expanded="true">
261
262 <param name="packages" type="text" value="" label="Conda dependencies as package name[:version, name:version...]. These will always be available when this tool executes"
263 optional="false" help="Use =[ver] or :[ver] for specific version - 'bwa=0.17.0'. Default is latest. Will be used every time the tool is (re)run. Only Conda is currently supported" />
264
265 <conditional name="usescript">
266 <param name="choosescript" type="select" display="radio" label="Supply a script for a dependency (e.g. python/R/bash) or a system executable such as Bash"
267 help = "For script interpreters like Python or bash, parameters and i/o specified below must match script's expectations - if you pass parameters, the script must deal with them">
268 <option value="no">No script required for this tool - just pass parameters on the command line to the first dependency listed above</option>
269 <option value="yes" selected="true">Yes, a script is ready to be pasted below</option>
270 </param>
271 <when value="no">
272 <param name="dynScript" type="hidden" value="" />
273 <param name="scriptrunner" type="hidden" value="" />
274 </when>
275 <when value="yes">
276 <param name="scriptrunner" type="text" value="" label="Interpreter for the script - eg bash or python. Can be one of the dependencies named above or a system executable"
277 help="Scripts are interpreted by the executable named here. Use bash for bash scripts, or a conda dependency such as R or Python for those scripts">
278 <sanitizer invalid_char="">
279 <valid initial="string.ascii_letters,string.digits">
280 <add value="_"/>
281 </valid>
282 </sanitizer>
283 </param>
284 <param name="dynScript" type="text" area="True" value="" label="Script for executable above to interpret. It can be one of the Conda dependency names "
285 help="Script must handle all i/o and parameters as specified below using the parameters and passing method chosen below">
286 <sanitizer>
287 <valid initial="string.printable"/>
288 <mapping initial="none"/>
289 </sanitizer>
290 </param>
291 </when>
292 </conditional>
293 </section>
294 <section name="io_param" title="Data file input, output and settings forming the executable or script command line" expanded="true">
295 <conditional name="ppass">
296 <param name="parampass" type="select" display="radio" label="Command line parameter passing method to use">
297 <option value="argparse" selected="true">Argparse: passed in the form of --clname value</option>
298 <option value="positional">Positional: Passed in the order of positional ordinals ...foo.bam bar.idx zot.xls</option>
299 <option value="0">Tool reads selected input file from STDIN and writes STDOUT with no parameters</option>
300 </param>
301 <when value="argparse">
302 <expand macro="io" />
303 <expand macro="additparam" />
304 </when>
305 <when value="positional">
306 <expand macro="io" />
307 <expand macro="additparam" />
308 </when>
309 <when value="0">
310 <expand macro="io"/>
311 </when>
312 </conditional>
313 </section>
314 <param name="cl_prefix" type="text" value="" label="Prefix for generated command line. Prepends generated i/o and parameter CL. Use override below to replace completely"
315 help="Text will replace generated executable/script elements. Sometimes required before i/o and parameters in the generated command line." />
316 <conditional name="cover">
317 <param name="commover" type="select" display="radio" label="Add Human wrought code to override the generated XML command and/or test section - DIY"
318 help = "For arbitrary and artfull command lines. All i/o and parameters must be passed. Choose No unless needed. Not for the faint of heart">
319 <option value="no" selected="true">No. Use automatically generated command/test XML </option>
320 <option value="yes">Yes. XML needed to override autogenerated command and/or test segments will be pasted below</option>
321 </param>
322 <when value="no">
323 <param name="command_override" type="hidden" value="" />
324 <param name="test_override" type="hidden" value="" />
325 </when>
326 <when value="yes">
327 <param name="command_override" type="text" area="True" value="" label="Optional. Human wrought command element override XML/template - e.g. for bwa"
328 help="For arbitrary and artfull command lines. All i/o and parameters must be passed. Leave blank unless needed. Not for the faint of heart">
329 <sanitizer>
330 <valid initial="string.printable"/>
331 <mapping initial="none"/>
332 </sanitizer>
333 </param>
334 <param name="test_override" type="text" area="True" value="" label="Optional. Human wrought test element override XML/template - e.g. for bwa"
335 help="For arbitrary and artfull scripts. Leave blank unless needed. Not for the faint of heart">
336 <sanitizer>
337 <valid initial="string.printable" />
338 <mapping initial="none"/>
339 </sanitizer>
340 </param>
341 </when>
342 </conditional>
343 <section name="make" title="Generate, toolshed and local Galaxy installation options" expanded="true">
344 <conditional name="makeMode">
345 <param name="make_Tool" type="select" display="radio" label="Choose the steps you want to run. The TF Docker container is recommended for local installation"
346 help="Installation in this Galaxy is optional" >
347 <option value="generate" >Run to generate tests only. Should fail if dependencies needed.</option>
348 <option value="gentest">Test with planemo after generating.</option>
349 <option value="gentestinstall" selected="true">Install in this Galaxy after generation and testing. Must have local ToolShed as in the TF Docker container</option>
350 </param>
351 <when value="generate">
352 <param name="galaxy_apikey" value="" type="hidden" ></param>
353 <param name="toolshed_apikey" value="" type="hidden" ></param>
354 <param name="galaxy_url" value="" type="hidden" ></param>
355 <param name="toolshed_url" value="" type="hidden" ></param>
356 <expand macro="tool_metadata" />
357 </when>
358 <when value="gentest">
359 <param name="galaxy_apikey" value="" type="hidden" ></param>
360 <param name="toolshed_apikey" value="" type="hidden" ></param>
361 <param name="galaxy_url" value="" type="hidden" ></param>
362 <param name="toolshed_url" value="" type="hidden" ></param>
363 <expand macro="tool_metadata" />
364 </when>
365 <when value="gentestinstall">
366 <param name="galaxy_url" type="text" value="http://localhost:8080" label="URL for the Galaxy server where the new tool should be installed"
367 help="Default is localhost">
368 <sanitizer>
369 <valid initial="string.printable" />
370 <mapping initial="none"/>
371 </sanitizer>
372 </param>
373 <param name="galaxy_apikey" type="text" value="fakekey" label="API key for the Galaxy to install the new tool"
374 help="Cut and paste from the admin user properties screen">
375 <sanitizer>
376 <valid initial="string.ascii_letters,string.digits" />
377 <mapping initial="none"/>
378 </sanitizer>
379 </param>
380 <param name="toolshed_url" type="text" value="http://localhost:9009" label="URL for the Toolshed where the new tool should be installed"
381 help="Default value is localhost:9009">
382 <sanitizer>
383 <valid initial="string.printable" />
384 <mapping initial="none"/>
385 </sanitizer>
386 </param>
387 <param name="toolshed_apikey" type="text" value="fakekey" label="API key for the local toolshed to use when installing the tool"
388 help="Cut and paste from the admin user properties screen">
389 <sanitizer>
390 <valid initial="string.ascii_letters,string.digits" />
391 <mapping initial="none"/>
392 </sanitizer>
393 </param>
394 <expand macro="tool_metadata" />
395 </when>
396 </conditional>
397 </section>
398 </inputs>
399 <outputs>
400
401 <data format="tgz" name="new_tool" label="${tool_name}_toolshed.tgz" >
402 <filter>makeMode['make_Tool'] != "runonly"</filter>
403 </data>
404
405 <collection name="TF_run_report" type="list" label="${tool_name} outputs">
406 <discover_datasets pattern="__name_and_ext__" directory="TF_run_report_tempdir" />
407 </collection>
408 </outputs>
409 <tests>
410 <test>
411 <param name="user_email" value="admin@galaxy.org"/>
412 <param name="input_files" value="input1_sample" />
413 <param name="input_CL" value="1" />
414 <param name="input_formats" value="txt" />
415 <param name="input_label" value="input" />
416 <param name="input_help" value="help" />
417 <param name="tool_name" value="pyrevpos" />
418 <param name="parampass" value="positional" />
419 <param name="make_Tool" value="generate" />
420 <param name="tool_version" value="0.01" />
421 <param name="tool_desc" value="positional reverse" />
422 <param name="help_text" value="help text goes here" />
423 <param name="packages" value="python"/>
424 <param name="history_name" value="output2" />
425 <param name="history_format" value="txt" />
426 <param name="history_CL" value="2" />
427 <param name="dynScript" value="import sys; inp = sys.argv[1]; outp = sys.argv[2]; inlist = open(inp,'r').readlines(); o = open(outp,'w'); rs = [''.join(list(reversed(x.rstrip()))) for x in inlist]; o.write('\n'.join(rs)); o.close()"/>
428 <param name="choosescript" value="yes" />
429 <param name="script_path" value="$runme"/>
430 <output name="new_tool" file="toolfactory_pyrevpos_tgz_sample" compare="sim_size" delta="6000" />
431 </test>
432 </tests>
433 <help>
434
435 .. class:: warningmark
436
437 **Details and attribution**
438 (see GTF_)
439
440 **Local Admins ONLY**
441 Only users whose IDs found in the local admin_user configuration setting in universe_wsgi.ini can run this tool.
442
443 **If you find a bug**
444 Please raise an issue, or even better, submit a pull request fixing it, on the github repository GTF_
445
446 **What it does**
447 This tool optionally generates normal workflow compatible first class Galaxy tools
448
449 Generated tools can run existing binary packages that become requirements, existing scripts, or new scripts pasted into this tool form.
450 Pasted scripts are written so they are part of the new tool and cannot be adjusted by the downstream user.
451 Binary packages are managed by the dependency subsystem - conda usually, so anything in bioconda or conda_forge is available for example.
452
453 Any number of parameters can be built into the new tool form for passing in to the script or executable at runtime.
454 These can be editable by the downstream user or baked in.
455
456 When you run this tool, your executable or script and supplied parameter values will be run to produce a canonical
457 set of outputs - these are used to construct a test for the new tool.
458
459 If tool generation is required, a new tarball compatible with any Galaxy toolshed is created.
460 It can be unpacked in your galaxy/tools directory and manually added to tool_conf.xml, or
461 installed into any toolshed from where it can be installed into your Galaxy.
462
463
464 .. class:: warningmark
465
466 **Note to system administrators**
467 This tool offers *NO* built in protection against malicious scripts. It should only be installed on private/personnal Galaxy instances.
468 Admin_users will have the power to do anything they want as the Galaxy user if you install this tool.
469
470 .. class:: warningmark
471
472 **Use on public servers** is STRONGLY discouraged for obvious reasons
473
474 The tools generated by this tool will run just as securely as any other normal installed Galaxy tool but like any other new tools, should always be checked carefully before installation.
475 We recommend that you follow the good code hygiene practices associated with safe toolshed practices.
476
477 Here's a sample python script that can be cut and pasted into the tool form, suitable for positional parameter passing:
478
479 ::
480
481 # reverse order of text by row
482 import sys
483 inp = sys.argv[1]
484 outp = sys.argv[2]
485 i = open(inp,'r').readlines()
486 o = open(outp,'w')
487 for row in i:
488 rs = row.rstrip()
489 rs = list(rs)
490 rs.reverse()
491 o.write(''.join(rs))
492 o.write('\n')
493 o.close()
494
495 With argparse style parameters:
496
497 ::
498
499 # reverse order of text by row
500 import argparse
501 parser = argparse.ArgumentParser()
502 a = parser.add_argument
503 a('--infile',default='')
504 a('--outfile',default=None)
505 args = parser.parse_args()
506 inp = args.infile
507 outp = args.outfile
508 i = open(inp,'r').readlines()
509 o = open(outp,'w')
510 for row in i:
511 rs = row.rstrip()
512 rs = list(rs)
513 rs.reverse()
514 o.write(''.join(rs))
515 o.write('\n')
516 o.close()
517
518
519
520 Paper_
521
522 *Licensing*
523
524 Copyright Ross Lazarus (ross period lazarus at gmail period com) May 2012
525 All rights reserved.
526 Licensed under the LGPL_
527
528 .. _LGPL: http://www.gnu.org/copyleft/lesser.html
529 .. _GTF: https://github.com/fubar2/toolfactory
530 .. _Paper: http://bioinformatics.oxfordjournals.org/cgi/reprint/bts573
531
532
533 </help>
534 <citations>
535 <citation type="doi">10.1093/bioinformatics/bts573</citation>
536 </citations>
537 </tool>
538
539