view CADDSuite/galaxyconfigs/tools/PropertyModifier.xml @ 3:bb26168c5715

author marcel
date Tue, 12 Jul 2011 10:53:07 -0400
children af446ca2d5c6
line wrap: on
line source

<!--This is a configuration file for the integration of a CADDSuite tool into Galaxy ( This file was automatically generated using GalaxyConfigGenerator, so do not bother to make too many manual modifications.-->
<tool id="propertymodifier" name="PropertyModifier" version="0.95">
    <description>modify molecule property tags</description>
    <command interpreter="bash"><![CDATA[../../PropertyModifier 
#if str( $i ) != ''  and str( $i ) != 'None' :
   -i "$i"
#end if
#if str( $o ) != ''  and str( $o ) != 'None' :
   -o "$o"
#end if
#if str( $mode ) != ''  and str( $mode ) != 'None' :
   -mode "$mode"
#end if
#if str( $name ) != ''  and str( $name ) != 'None' :
   -name "$name"
#end if
#if str( $value ) != ''  and str( $value ) != 'None' :
   -value "$value"
#end if
#if str( $new_name ) != ''  and str( $new_name ) != 'None' :
   -new_name "$new_name"
#end if
 | tail -n 5
        <param name="i" optional="false" label="input file" type="data" format="mol2/sdf/drf"/>
        <param name="mode" optional="false" label="'delete', 'add' or 'rename' properties" type="select">
            <option value="add">add</option>
            <option value="rename">rename</option>
            <option value="delete">delete</option>
        <param name="name" optional="false" label="property name ('all' will erase all properties if in delete-mode)" area="true" type="text" size="1x15"/>
        <param name="value" optional="true" label="Optional: property value (in case of prop. adding only)" area="true" type="text" size="1x15"/>
        <param name="new_name" optional="true" label="Optional: new property name (in case of renaming only)" area="true" type="text" size="1x15"/>
        <data name="o" format="mol2/sdf/drf" format_source="i"/>
    <help>With this tools you can add, rename or delete molecule property tags.
These tags can for example contain information about scores, binding-free-energy, IDs or names for the resp. molecule.
The output of this tool is a molecule file in which the desired property tags have been added/renamed/deleted (as chosen).</help>