comparison subsearch/subsearch.xml @ 0:527ecd2fc500 draft

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