Mercurial > repos > marcel > caddsuite_mac10_6
annotate CADDSuite-1.5/galaxyconfigs/tools/DBExporter.xml @ 7:bfab27640f5e draft
CADDSuite version 1.5
author | Marcel Schumann <schumann.marcel@gmail.com> |
---|---|
date | Tue, 24 Jul 2012 11:13:59 -0400 |
parents | |
children |
rev | line source |
---|---|
7
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
1 |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
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.--> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
3 <tool id="dbexporter" name="DBExporter" version="1.5 (ob)"> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
4 <description>export molecules from data base</description> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
5 <command interpreter="bash"><![CDATA[../../DBExporter |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
6 #if str( $o ) != '' and str( $o ) != 'None' : |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
7 -o "$o" |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
8 #end if |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
9 #if str( $min_logP ) != '' and str( $min_logP ) != 'None' : |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
10 -min_logP "$min_logP" |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
11 #end if |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
12 #if str( $max_logP ) != '' and str( $max_logP ) != 'None' : |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
13 -max_logP "$max_logP" |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
14 #end if |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
15 #if str( $min_MW ) != '' and str( $min_MW ) != 'None' : |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
16 -min_MW "$min_MW" |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
17 #end if |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
18 #if str( $max_MW ) != '' and str( $max_MW ) != 'None' : |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
19 -max_MW "$max_MW" |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
20 #end if |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
21 #if str( $target ) != '' and str( $target ) != 'None' : |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
22 -target "$target" |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
23 #end if |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
24 #if str( $vendors ) != '' and str( $vendors ) != 'None' : |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
25 -vendors "$vendors" |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
26 #end if |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
27 #if str( $q ) != '' and str( $q ) != 'None' : |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
28 -q "$q" |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
29 #end if |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
30 #if str( $min_sim ) != '' and str( $min_sim ) != 'None' : |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
31 -min_sim "$min_sim" |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
32 #end if |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
33 #if str( $max_sim ) != '' and str( $max_sim ) != 'None' : |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
34 -max_sim "$max_sim" |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
35 #end if |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
36 #if str( $MW_dev ) != '' and str( $MW_dev ) != 'None' : |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
37 -MW_dev "$MW_dev" |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
38 #end if |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
39 #if str( $max_mols_per_query ) != '' and str( $max_mols_per_query ) != 'None' : |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
40 -max_mols_per_query "$max_mols_per_query" |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
41 #end if |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
42 #if str( $smarts ) != '' and str( $smarts ) != 'None' : |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
43 -smarts "$smarts" |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
44 #end if |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
45 #if str( $smarts_file ) != '' and str( $smarts_file ) != 'None' : |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
46 -smarts_file "$smarts_file" |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
47 #end if |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
48 #if str( $min_div ) != '' and str( $min_div ) != 'None' : |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
49 -min_div "$min_div" |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
50 #end if |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
51 #if str( $max_mols ) != '' and str( $max_mols ) != 'None' : |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
52 -max_mols "$max_mols" |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
53 #end if |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
54 #if str( $d ) != '' and str( $d ) != 'None' : |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
55 -d "$d" |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
56 #end if |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
57 #if str( $u ) != '' and str( $u ) != 'None' : |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
58 -u "$u" |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
59 #end if |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
60 #if str( $h ) != '' and str( $h ) != 'None' : |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
61 -h "$h" |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
62 #end if |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
63 #if str( $port ) != '' and str( $port ) != 'None' : |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
64 -port "$port" |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
65 #end if |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
66 #if str( $p ) != '' and str( $p ) != 'None' : |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
67 -p "$p" |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
68 #end if |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
69 #if str( $s ) != '' and str( $s ) != 'None' : |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
70 -s |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
71 #end if |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
72 | tail -n 5 |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
73 ]]></command> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
74 <inputs> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
75 <param name="q" optional="true" label="query molecules for similarity searching" type="data" format="mol2/sdf/drf"/> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
76 <param name="smarts_file" optional="true" label="SMARTS pattern" type="data" format="txt"/> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
77 <param name="min_logP" optional="true" label="Optional: minimal logP value" type="text" min="-10.000000" max="10.000000" area="true" size="1x5" value=""/> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
78 <param name="max_logP" optional="true" label="Optional: maximal logP value" type="text" min="-10.000000" max="10.000000" area="true" size="1x5" value=""/> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
79 <param name="min_MW" optional="true" label="Optional: minimal molecular weight" type="text" area="true" size="1x5" value=""/> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
80 <param name="max_MW" optional="true" label="Optional: maximal molecular weight" type="text" area="true" size="1x5" value=""/> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
81 <param name="target" optional="true" label="Optional: target/dataset name whose molecules should be exported" area="true" type="text" size="1x15"/> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
82 <param name="vendors" optional="true" label="Optional: use only compounds supplied by specified vendors" area="true" type="text" size="1x15"/> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
83 <param name="min_sim" optional="true" label="Optional: minimal similarity to a query molecule" type="text" min="0.000000" max="1.000000" area="true" size="1x5" value=""/> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
84 <param name="max_sim" optional="true" label="Optional: maximal similarity to a query molecule" type="text" min="0.000000" max="1.000000" area="true" size="1x5" value=""/> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
85 <param name="MW_dev" optional="true" label="Optional: maximal molecular weight deviation between hit and query" type="text" area="true" size="1x5" value=""/> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
86 <param name="max_mols_per_query" optional="true" label="Optional: max. number of mols for each query mol" type="text" area="true" size="1x5" value=""/> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
87 <param name="smarts" optional="true" label="Optional: SMARTS pattern" area="true" type="text" size="1x15"/> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
88 <param name="min_div" optional="true" label="Optional: min. pairwise diversity between hits" type="text" min="0.000000" max="1.000000" area="true" size="1x5" value=""/> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
89 <param name="max_mols" optional="true" label="Optional: max. total number of molecules to be exported" type="text" area="true" size="1x5" value=""/> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
90 <param name="d" optional="false" label="database name" area="true" type="text" size="1x15"/> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
91 <param name="u" optional="false" label="database username" area="true" type="text" size="1x15"/> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
92 <param name="h" optional="false" label="database host" area="true" type="text" size="1x15"/> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
93 <param name="port" optional="true" label="Optional: database port" type="text" area="true" size="1x5" value="3306"/> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
94 <param name="p" optional="false" label="database password" area="true" type="text" size="1x15"/> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
95 <param name="s" optional="true" label="show summary of datasets in database" type="boolean" truevalue="true" falsevalue=""/> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
96 </inputs> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
97 <outputs> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
98 <data name="o" format="mol2/sdf/drf"/> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
99 </outputs> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
100 <help>This tool exports compounds from a database to a molecular file. Compounds can be filtered according to (among others) SMARTS expressions, logP, molecular weight, or similarity to query molecule(s) and dataset name.</help> |
bfab27640f5e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
101 </tool> |