view CADDSuite/galaxyconfigs/tools/Converter.xml @ 1:0dcf542923ab

Uploaded
author g2cmnty@test-web1.g2.bx.psu.edu
date Tue, 28 Jun 2011 10:39:47 -0400
parents 8ce0411aaeb3
children
line wrap: on
line source


<!--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.-->
<tool id="converter" name="Converter" version="0.94">
    <description>interconvert molecular file-formats</description>
    <command interpreter="bash"><![CDATA[../../Converter 
#if str( $i ) != ''  and str( $i ) != 'None' :
   -i "$i"
#end if
#if str( $o ) != ''  and str( $o ) != 'None' :
   -o "$o"
#end if
#if str( $f ) != ''  and str( $f ) != 'None' :
   -f "$f"
#end if
 | tail -n 5
]]></command>
    <inputs>
        <param name="i" label="input file" optional="false" type="data" format="mol2/sdf/drf"/>
        <param name="f" label="output format" optional="true" type="select">
            <option value="mol2">mol2</option>
            <option value="sdf">sdf</option>
            <option value="drf">drf</option>
            <option value="pdb">pdb</option>
            <option value="ac">ac</option>
            <option value="ent">ent</option>
            <option value="brk">brk</option>
            <option value="hin">hin</option>
            <option value="mol">mol</option>
            <option value="xyz">xyz</option>
        </param>
    </inputs>
    <outputs>
        <data name="o" format="mol2/sdf/drf">
            <change_format>
                <when input="f" value="mol2" format="mol2"/>
                <when input="f" value="sdf" format="sdf"/>
                <when input="f" value="drf" format="drf"/>
                <when input="f" value="pdb" format="pdb"/>
                <when input="f" value="ac" format="ac"/>
                <when input="f" value="ent" format="ent"/>
                <when input="f" value="brk" format="brk"/>
                <when input="f" value="hin" format="hin"/>
                <when input="f" value="mol" format="mol"/>
                <when input="f" value="xyz" format="xyz"/>
            </change_format>
        </data>
    </outputs>
    <help>This tool can be used to convert between different molecular file-formats.
Supported formats are mol2, sdf, drf, pdb, ac, ent, brk, hin, mol, xyz.</help>
</tool>