annotate galaxy_stubs/PropertyModifier.xml @ 2:605370bc1def draft default tip

Uploaded
author luis
date Tue, 12 Jul 2016 12:33:33 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
605370bc1def Uploaded
luis
parents:
diff changeset
1 <?xml version='1.0' encoding='UTF-8'?>
605370bc1def Uploaded
luis
parents:
diff changeset
2 <!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/). This file was automatically generated using CTD2Galaxy.-->
605370bc1def Uploaded
luis
parents:
diff changeset
3 <!--Proposed Tool Section: [Preparation]-->
605370bc1def Uploaded
luis
parents:
diff changeset
4 <tool id="PropertyModifier" name="PropertyModifier" version="1.1.0">
605370bc1def Uploaded
luis
parents:
diff changeset
5 <description>modify molecule property tags</description>
605370bc1def Uploaded
luis
parents:
diff changeset
6 <macros>
605370bc1def Uploaded
luis
parents:
diff changeset
7 <token name="@EXECUTABLE@">PropertyModifier</token>
605370bc1def Uploaded
luis
parents:
diff changeset
8 <import>macros.xml</import>
605370bc1def Uploaded
luis
parents:
diff changeset
9 </macros>
605370bc1def Uploaded
luis
parents:
diff changeset
10 <expand macro="stdio"/>
605370bc1def Uploaded
luis
parents:
diff changeset
11 <expand macro="requirements"/>
605370bc1def Uploaded
luis
parents:
diff changeset
12 <command>PropertyModifier
605370bc1def Uploaded
luis
parents:
diff changeset
13
605370bc1def Uploaded
luis
parents:
diff changeset
14 #if $param_i:
605370bc1def Uploaded
luis
parents:
diff changeset
15 -i $param_i
605370bc1def Uploaded
luis
parents:
diff changeset
16 #end if
605370bc1def Uploaded
luis
parents:
diff changeset
17 #if $param_o:
605370bc1def Uploaded
luis
parents:
diff changeset
18 -o $param_o
605370bc1def Uploaded
luis
parents:
diff changeset
19 #end if
605370bc1def Uploaded
luis
parents:
diff changeset
20 #if $param_mode:
605370bc1def Uploaded
luis
parents:
diff changeset
21 -mode
605370bc1def Uploaded
luis
parents:
diff changeset
22 #if " " in str($param_mode):
605370bc1def Uploaded
luis
parents:
diff changeset
23 "$param_mode"
605370bc1def Uploaded
luis
parents:
diff changeset
24 #else
605370bc1def Uploaded
luis
parents:
diff changeset
25 $param_mode
605370bc1def Uploaded
luis
parents:
diff changeset
26 #end if
605370bc1def Uploaded
luis
parents:
diff changeset
27 #end if
605370bc1def Uploaded
luis
parents:
diff changeset
28 #if $param_name:
605370bc1def Uploaded
luis
parents:
diff changeset
29 -name "$param_name"
605370bc1def Uploaded
luis
parents:
diff changeset
30 #end if
605370bc1def Uploaded
luis
parents:
diff changeset
31 #if $param_value:
605370bc1def Uploaded
luis
parents:
diff changeset
32 -value "$param_value"
605370bc1def Uploaded
luis
parents:
diff changeset
33 #end if
605370bc1def Uploaded
luis
parents:
diff changeset
34 #if $param_new_name:
605370bc1def Uploaded
luis
parents:
diff changeset
35 -new_name "$param_new_name"
605370bc1def Uploaded
luis
parents:
diff changeset
36 #end if
605370bc1def Uploaded
luis
parents:
diff changeset
37 #if $param_rm:
605370bc1def Uploaded
luis
parents:
diff changeset
38 -rm $param_rm
605370bc1def Uploaded
luis
parents:
diff changeset
39 #end if
605370bc1def Uploaded
luis
parents:
diff changeset
40 </command>
605370bc1def Uploaded
luis
parents:
diff changeset
41 <inputs>
605370bc1def Uploaded
luis
parents:
diff changeset
42 <param name="param_i" type="data" format="mol2,sdf,drf" optional="False" value="&lt;class 'CTDopts.CTDopts._Null'&gt;" label="input file" help="(-i) "/>
605370bc1def Uploaded
luis
parents:
diff changeset
43 <param name="param_mode" type="select" optional="False" value="&lt;class 'CTDopts.CTDopts._Null'&gt;" label="'delete', 'add' or 'rename' properties" help="(-mode) ">
605370bc1def Uploaded
luis
parents:
diff changeset
44 <option value="add">add</option>
605370bc1def Uploaded
luis
parents:
diff changeset
45 <option value=" rename"> rename</option>
605370bc1def Uploaded
luis
parents:
diff changeset
46 <option value=" delete"> delete</option>
605370bc1def Uploaded
luis
parents:
diff changeset
47 </param>
605370bc1def Uploaded
luis
parents:
diff changeset
48 <param name="param_name" type="text" size="30" value="&lt;class 'CTDopts.CTDopts._Null'&gt;" label="property name ('all' will erase all properties if in delete-mode)" help="(-name) ">
605370bc1def Uploaded
luis
parents:
diff changeset
49 <sanitizer>
605370bc1def Uploaded
luis
parents:
diff changeset
50 <valid initial="string.printable">
605370bc1def Uploaded
luis
parents:
diff changeset
51 <remove value="'"/>
605370bc1def Uploaded
luis
parents:
diff changeset
52 <remove value="&quot;"/>
605370bc1def Uploaded
luis
parents:
diff changeset
53 </valid>
605370bc1def Uploaded
luis
parents:
diff changeset
54 </sanitizer>
605370bc1def Uploaded
luis
parents:
diff changeset
55 </param>
605370bc1def Uploaded
luis
parents:
diff changeset
56 <param name="param_value" type="text" size="30" value="&lt;class 'CTDopts.CTDopts._Null'&gt;" label="property value (in case of prop. adding only)" help="(-value) ">
605370bc1def Uploaded
luis
parents:
diff changeset
57 <sanitizer>
605370bc1def Uploaded
luis
parents:
diff changeset
58 <valid initial="string.printable">
605370bc1def Uploaded
luis
parents:
diff changeset
59 <remove value="'"/>
605370bc1def Uploaded
luis
parents:
diff changeset
60 <remove value="&quot;"/>
605370bc1def Uploaded
luis
parents:
diff changeset
61 </valid>
605370bc1def Uploaded
luis
parents:
diff changeset
62 </sanitizer>
605370bc1def Uploaded
luis
parents:
diff changeset
63 </param>
605370bc1def Uploaded
luis
parents:
diff changeset
64 <param name="param_new_name" type="text" size="30" value="&lt;class 'CTDopts.CTDopts._Null'&gt;" label="new property name (in case of renaming only)" help="(-new_name) ">
605370bc1def Uploaded
luis
parents:
diff changeset
65 <sanitizer>
605370bc1def Uploaded
luis
parents:
diff changeset
66 <valid initial="string.printable">
605370bc1def Uploaded
luis
parents:
diff changeset
67 <remove value="'"/>
605370bc1def Uploaded
luis
parents:
diff changeset
68 <remove value="&quot;"/>
605370bc1def Uploaded
luis
parents:
diff changeset
69 </valid>
605370bc1def Uploaded
luis
parents:
diff changeset
70 </sanitizer>
605370bc1def Uploaded
luis
parents:
diff changeset
71 </param>
605370bc1def Uploaded
luis
parents:
diff changeset
72 <param name="param_rm" type="integer" min="0" max="1" optional="True" value="0" label="remove input file when finished" help="(-rm) "/>
605370bc1def Uploaded
luis
parents:
diff changeset
73 </inputs>
605370bc1def Uploaded
luis
parents:
diff changeset
74 <expand macro="advanced_options"/>
605370bc1def Uploaded
luis
parents:
diff changeset
75 <outputs>
605370bc1def Uploaded
luis
parents:
diff changeset
76 <data name="param_o" metadata_source="param_i" format="input"/>
605370bc1def Uploaded
luis
parents:
diff changeset
77 </outputs>
605370bc1def Uploaded
luis
parents:
diff changeset
78 <help>With this tools you can add, rename or delete molecule property tags.
605370bc1def Uploaded
luis
parents:
diff changeset
79 These tags can for example contain information about scores, binding-free-energy, IDs or names for the resp. molecule.
605370bc1def Uploaded
luis
parents:
diff changeset
80 The output of this tool is a molecule file in which the desired property tags have been added/renamed/deleted (as chosen).
605370bc1def Uploaded
luis
parents:
diff changeset
81
605370bc1def Uploaded
luis
parents:
diff changeset
82 </help>
605370bc1def Uploaded
luis
parents:
diff changeset
83 </tool>