annotate subsearch/subsearch.xml @ 2:125da3a296ca draft default tip

Uploaded
author bgruening
date Wed, 15 Jul 2015 12:13:08 -0400
parents 527ecd2fc500
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
1 <tool id="ctb_subsearch" name="Substructure Search" version="0.1">
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
2 <description>of fingerprint data sets</description>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
3 <requirements>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
4 <requirement type="package" version="2.3.2">openbabel</requirement>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
5 </requirements>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
6 <command interpreter="python">
2
125da3a296ca Uploaded
bgruening
parents: 0
diff changeset
7 <![CDATA[
0
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
8
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
9 subsearch.py
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
10 -i $query
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
11 --iformat "${query.ext}"
2
125da3a296ca Uploaded
bgruening
parents: 0
diff changeset
12 --fastsearch-index "${os.path.join($fastsearch.files_path,'molecule.fs')}"
0
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
13 -o "${outfile}"
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
14 --oformat $oformat
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
15 --max-candidates $max_candidates
2
125da3a296ca Uploaded
bgruening
parents: 0
diff changeset
16 --processors "\${GALAXY_SLOTS:-12}"
0
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
17
2
125da3a296ca Uploaded
bgruening
parents: 0
diff changeset
18 ]]>
0
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
19 </command>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
20 <inputs>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
21 <param name="query" type='data' format="tabular,smi,sdf,inchi,text" label="query"/>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
22 <param name="fastsearch" type='data' format="obfs" label="OpenBabel Fastsearch Index"/>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
23 <param name="max_candidates" size="6" type="integer" value="4000" label="The maximum number of candidates"/>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
24 <param name='oformat' type='select' format='text' label="Output format.">
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
25 <option value='smi'>SMILES</option>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
26 <option value='inchi'>InChI</option>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
27 <option value='sdf'>SD-Files</option>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
28 <option value='mol2'>mol2</option>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
29 <option value='names'>Return the molecule names only</option>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
30 </param>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
31 </inputs>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
32 <outputs>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
33 <data format="smi" name="outfile">
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
34 <change_format>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
35 <when input="oformat" value="inchi" format="inchi"/>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
36 <when input="oformat" value="sdf" format="sdf"/>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
37 <when input="oformat" value="mol2" format="mol2"/>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
38 <when input="oformat" value="names" format="tabular"/>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
39 </change_format>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
40 </data>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
41 </outputs>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
42 <tests>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
43 <test>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
44 </test>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
45 </tests>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
46 <help>
2
125da3a296ca Uploaded
bgruening
parents: 0
diff changeset
47 <![CDATA[
0
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
48
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
49 .. class:: infomark
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
50
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
51 **What this tool does**
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
52
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
53 Substructure search in based on Open Babel FastSearch_ Index. It uses molecular fingerprints to prepare and search an index of a multi-molecule datafile.
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
54
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
55 .. _FastSearch: http://openbabel.org/wiki/FastSearch
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
56
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
57 -----
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
58
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
59 .. class:: infomark
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
60
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
61 **Input**
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
62
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
63 SMILES or SMARTS patterns are possible. SD- and InChI files are converted to SMILES.
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
64
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
65 -----
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
66
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
67 .. class:: infomark
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
68
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
69 **Cite**
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
70
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
71 `Open Babel`_
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
72
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
73 .. _Open Babel: http://openbabel.org/wiki/Main_Page
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
74
2
125da3a296ca Uploaded
bgruening
parents: 0
diff changeset
75 ]]>
0
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
76 </help>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
77 </tool>