comparison subsearch/subsearch.xml @ 0:6493d130f018

Uploaded
author bgruening
date Tue, 26 Mar 2013 14:49:44 -0400
parents
children 12822efbd4a4
comparison
equal deleted inserted replaced
-1:000000000000 0:6493d130f018
1 <tool id="chemfp_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 --fastsearch-index "${os.path.join($fastsearch.extra_files_path,'molecule.fs')}"
11 -o "${outfile}"
12 --oformat $oformat
13 --max-candidates $max_candidates
14 --processors 10
15
16 </command>
17 <inputs>
18 <param name="query" type='data' format="tabular,smi,sdf,inchi,text" label="query"/>
19 <param name="fastsearch" type='data' format="obfs" label="OpenBabel Fastsearch Index"/>
20 <param name="max_candidates" size="6" type="integer" value="4000" label="The maximum number of candidates"/>
21 <param name='oformat' type='select' format='text' label="Output format.">
22 <option value='smi'>SMILES</option>
23 <option value='inchi'>InChI</option>
24 <option value='sdf'>SD-Files</option>
25 <option value='mol2'>mol2</option>
26 <option value='names'>Return the molecule names only</option>
27 </param>
28 </inputs>
29 <outputs>
30 <data format="smi" name="outfile">
31 <change_format>
32 <when input="oformat" value="inchi" format="inchi"/>
33 <when input="oformat" value="sdf" format="sdf"/>
34 <when input="oformat" value="mol2" format="mol2"/>
35 <when input="oformat" value="names" format="tabular"/>
36 </change_format>
37 </data>
38 </outputs>
39 <tests>
40 <test>
41 </test>
42 </tests>
43 <help>
44
45
46 **What it does**
47
48 Substructure search in a Open Babel Fastsearch Index. You can search with SMILES or SMARTS pattern.
49
50 -----
51
52 **Example**
53
54
55
56 </help>
57 </tool>