17
|
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="vendorfinder" name="VendorFinder" version="1.6">
|
|
4 <description>search vendors for compounds</description>
|
|
5 <command interpreter="bash"><![CDATA[../../VendorFinder
|
|
6 #if str( $i ) != '' and str( $i ) != 'None' :
|
|
7 -i "$i"
|
|
8 #end if
|
|
9 #if str( $d ) != '' and str( $d ) != 'None' :
|
|
10 -d "$d"
|
|
11 #end if
|
|
12 #if str( $u ) != '' and str( $u ) != 'None' :
|
|
13 -u "$u"
|
|
14 #end if
|
|
15 #if str( $h ) != '' and str( $h ) != 'None' :
|
|
16 -h "$h"
|
|
17 #end if
|
|
18 #if str( $port ) != '' and str( $port ) != 'None' :
|
|
19 -port "$port"
|
|
20 #end if
|
|
21 #if str( $p ) != '' and str( $p ) != 'None' :
|
|
22 -p "$p"
|
|
23 #end if
|
|
24 #if str( $o ) != '' and str( $o ) != 'None' :
|
|
25 -o "$o"
|
|
26 #end if
|
|
27 #if str( $opt ) != '' and str( $opt ) != 'None' :
|
|
28 -opt
|
|
29 #end if
|
|
30 | tail -n 5
|
|
31 ]]></command>
|
|
32 <inputs>
|
|
33 <param name="i" optional="false" label="input file containing compounds" type="data" format="mol2/sdf/drf"/>
|
|
34 <param name="d" optional="false" label="database name" area="true" type="text" size="1x15"/>
|
|
35 <param name="u" optional="false" label="database username" area="true" type="text" size="1x15"/>
|
|
36 <param name="h" optional="false" label="database host" area="true" type="text" size="1x15"/>
|
|
37 <param name="port" optional="true" label="Optional: database port" type="text" area="true" size="1x5" value="3306"/>
|
|
38 <param name="p" optional="false" label="database password" area="true" type="text" size="1x15"/>
|
|
39 <param name="opt" optional="true" label="optimize purchase, i.e. select cheapest sources and sort by vendor" type="boolean" truevalue="true" falsevalue=""/>
|
|
40 </inputs>
|
|
41 <outputs>
|
|
42 <data name="o" format="txt"/>
|
|
43 </outputs>
|
|
44 <help>This tool can be used to fetch information about vendors for each compound in the given input file from a data base.
|
|
45
|
|
46 Of course, vendors can only be found if they have been stored in the database that is to be used here. Use DBImporter with molecules files obtained from the compound vendors of your choice in order to create such a database.
|
|
47
|
|
48 Output of this tool is a text-file containing a list of vendor-name and vendor's compound-ID for each compound in the input file for which vendor-information was found in the database.</help>
|
|
49 </tool> |