view CADDSuite/galaxyconfigs/tools/DBImporter.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="dbimporter" name="DBImporter" version="0.94 (ob)">
    <description>import molecules into data base</description>
    <command interpreter="bash"><![CDATA[../../DBImporter 
#if str( $i ) != ''  and str( $i ) != 'None' :
   -i "$i"
#end if
#if str( $target ) != ''  and str( $target ) != 'None' :
   -target "$target"
#end if
#if str( $d ) != ''  and str( $d ) != 'None' :
   -d "$d"
#end if
#if str( $u ) != ''  and str( $u ) != 'None' :
   -u "$u"
#end if
#if str( $h ) != ''  and str( $h ) != 'None' :
   -h "$h"
#end if
#if str( $port ) != ''  and str( $port ) != 'None' :
   -port "$port"
#end if
#if str( $p ) != ''  and str( $p ) != 'None' :
   -p "$p"
#end if
#if str( $vn ) != ''  and str( $vn ) != 'None' :
   -vn "$vn"
#end if
#if str( $vid ) != ''  and str( $vid ) != 'None' :
   -vid "$vid"
#end if
#if str( $vd ) != ''  and str( $vd ) != 'None' :
   -vd "$vd"
#end if
#if str( $vu ) != ''  and str( $vu ) != 'None' :
   -vu "$vu"
#end if
 | tail -n 5
]]></command>
    <inputs>
        <param name="i" label="input file" optional="false" type="data" format="mol2/sdf/drf"/>
        <param name="target" label="target/dataset name whose molecules should be exported" optional="true" area="true" type="text" size="1x15"/>
        <param name="d" label="database name" optional="false" area="true" type="text" size="1x15"/>
        <param name="u" label="database username" optional="false" area="true" type="text" size="1x15"/>
        <param name="h" label="database host" optional="false" area="true" type="text" size="1x15"/>
        <param name="port" label="database port" optional="true" type="text" area="true" size="1x5" value="3306"/>
        <param name="p" label="database password" optional="false" area="true" type="text" size="1x15"/>
        <param name="vn" label="name of compound vendor" optional="true" area="true" type="text" size="1x15"/>
        <param name="vid" label="name of vendor's compound-ID tag in sd-file" optional="true" area="true" type="text" size="1x15"/>
        <param name="vd" label="vendor library date or version" optional="true" area="true" type="text" size="1x15"/>
        <param name="vu" label="url from wich vendor library was obtained" optional="true" area="true" type="text" size="1x15"/>
    </inputs>
    <outputs/>
    <help>This tool imports molecules into a database.
As input we need the file containing the molecules to be imported in sd-, mol2- or drf-format.</help>
</tool>