Mercurial > repos > marcel > caddsuite_linux_x86_64
annotate CADDSuite-1.5/galaxyconfigs/tools/DBImporter.xml @ 15:ac342506cd4e draft
CADDSuite version 1.5
author | Marcel Schumann <schumann.marcel@gmail.com> |
---|---|
date | Tue, 24 Jul 2012 11:08:49 -0400 |
parents | |
children |
rev | line source |
---|---|
15
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
1 |
ac342506cd4e
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.--> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
3 <tool id="dbimporter" name="DBImporter" version="1.5 (ob)"> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
4 <description>import molecules into data base</description> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
5 <command interpreter="bash"><![CDATA[../../DBImporter |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
6 #if str( $i ) != '' and str( $i ) != 'None' : |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
7 -i "$i" |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
8 #end if |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
9 #if str( $o ) != '' and str( $o ) != 'None' : |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
10 -o "$o" |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
11 #end if |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
12 #if str( $target ) != '' and str( $target ) != 'None' : |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
13 -target "$target" |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
14 #end if |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
15 #if str( $d ) != '' and str( $d ) != 'None' : |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
16 -d "$d" |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
17 #end if |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
18 #if str( $u ) != '' and str( $u ) != 'None' : |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
19 -u "$u" |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
20 #end if |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
21 #if str( $h ) != '' and str( $h ) != 'None' : |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
22 -h "$h" |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
23 #end if |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
24 #if str( $port ) != '' and str( $port ) != 'None' : |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
25 -port "$port" |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
26 #end if |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
27 #if str( $p ) != '' and str( $p ) != 'None' : |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
28 -p "$p" |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
29 #end if |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
30 #if str( $vn ) != '' and str( $vn ) != 'None' : |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
31 -vn "$vn" |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
32 #end if |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
33 #if str( $vid ) != '' and str( $vid ) != 'None' : |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
34 -vid "$vid" |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
35 #end if |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
36 #if str( $vd ) != '' and str( $vd ) != 'None' : |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
37 -vd "$vd" |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
38 #end if |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
39 #if str( $vu ) != '' and str( $vu ) != 'None' : |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
40 -vu "$vu" |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
41 #end if |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
42 #if str( $run_clustering ) != '' and str( $run_clustering ) != 'None' : |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
43 -run_clustering |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
44 #end if |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
45 | tail -n 5 |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
46 ]]></command> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
47 <inputs> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
48 <param name="i" optional="false" label="input file" type="data" format="mol2/sdf/drf"/> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
49 <param name="target" optional="true" label="Optional: target/dataset name whose molecules should be exported" area="true" type="text" size="1x15"/> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
50 <param name="d" optional="false" label="database name" area="true" type="text" size="1x15"/> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
51 <param name="u" optional="false" label="database username" area="true" type="text" size="1x15"/> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
52 <param name="h" optional="false" label="database host" area="true" type="text" size="1x15"/> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
53 <param name="port" optional="true" label="Optional: database port" type="text" area="true" size="1x5" value="3306"/> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
54 <param name="p" optional="false" label="database password" area="true" type="text" size="1x15"/> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
55 <param name="vn" optional="true" label="Optional: name of compound vendor" area="true" type="text" size="1x15"/> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
56 <param name="vid" optional="true" label="Optional: name of vendor's compound-ID tag in sd-file" area="true" type="text" size="1x15"/> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
57 <param name="vd" optional="true" label="Optional: vendor library date or version" area="true" type="text" size="1x15"/> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
58 <param name="vu" optional="true" label="Optional: url from wich vendor library was obtained" area="true" type="text" size="1x15"/> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
59 <param name="run_clustering" optional="true" label="cluster entire database after importing compounds" type="boolean" truevalue="true" falsevalue=""/> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
60 </inputs> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
61 <outputs> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
62 <data name="o" format="txt"/> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
63 </outputs> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
64 <help>This tool imports molecules into a database. |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
65 As input we need the file containing the molecules to be imported in sd-, mol2- or drf-format.</help> |
ac342506cd4e
CADDSuite version 1.5
Marcel Schumann <schumann.marcel@gmail.com>
parents:
diff
changeset
|
66 </tool> |