comparison CADDSuite-1.5/galaxyconfigs/tools/PropertyModifier.xml @ 15:ac342506cd4e draft

CADDSuite version 1.5
author Marcel Schumann <schumann.marcel@gmail.com>
date Tue, 24 Jul 2012 11:08:49 -0400
parents
children
comparison
equal deleted inserted replaced
14:55c32b55c2c2 15:ac342506cd4e
1
2 <!--This is a configuration file for the integration of a CADDSuite tool into Galaxy (http://usegalaxy.org). This file was automatically generated using GalaxyConfigGenerator, so do not bother to make too many manual modifications.-->
3 <tool id="propertymodifier" name="PropertyModifier" version="1.5">
4 <description>modify molecule property tags</description>
5 <command interpreter="bash"><![CDATA[../../PropertyModifier
6 #if str( $i ) != '' and str( $i ) != 'None' :
7 -i "$i"
8 #end if
9 #if str( $o ) != '' and str( $o ) != 'None' :
10 -o "$o"
11 #end if
12 #if str( $mode ) != '' and str( $mode ) != 'None' :
13 -mode "$mode"
14 #end if
15 #if str( $name ) != '' and str( $name ) != 'None' :
16 -name "$name"
17 #end if
18 #if str( $value ) != '' and str( $value ) != 'None' :
19 -value "$value"
20 #end if
21 #if str( $new_name ) != '' and str( $new_name ) != 'None' :
22 -new_name "$new_name"
23 #end if
24 #if str( $rm ) != '' and str( $rm ) != 'None' :
25 -rm
26 #end if
27 | tail -n 5
28 ]]></command>
29 <inputs>
30 <param name="i" optional="false" label="input file" type="data" format="mol2/sdf/drf"/>
31 <param name="mode" optional="false" label="'delete', 'add' or 'rename' properties" type="select">
32 <option value="add">add</option>
33 <option value="rename">rename</option>
34 <option value="delete">delete</option>
35 </param>
36 <param name="name" optional="false" label="property name ('all' will erase all properties if in delete-mode)" area="true" type="text" size="1x15"/>
37 <param name="value" optional="true" label="Optional: property value (in case of prop. adding only)" area="true" type="text" size="1x15"/>
38 <param name="new_name" optional="true" label="Optional: new property name (in case of renaming only)" area="true" type="text" size="1x15"/>
39 <param name="rm" optional="true" label="remove input file when finished" type="boolean" truevalue="true" falsevalue=""/>
40 </inputs>
41 <outputs>
42 <data name="o" format="mol2/sdf/drf" format_source="i"/>
43 </outputs>
44 <help>With this tools you can add, rename or delete molecule property tags.
45 These tags can for example contain information about scores, binding-free-energy, IDs or names for the resp. molecule.
46 The output of this tool is a molecule file in which the desired property tags have been added/renamed/deleted (as chosen).</help>
47 </tool>