Mercurial > repos > bgruening > openbabel
annotate modify/ob_genProp.xml @ 15:ec87a42dccec
ChemicalToolBoX update.
author | Bjoern Gruening <bjoern.gruening@gmail.com> |
---|---|
date | Sat, 01 Jun 2013 20:02:50 +0200 |
parents | cc63a42fd22e |
children | 3d3e7c1d0f49 |
rev | line source |
---|---|
15
ec87a42dccec
ChemicalToolBoX update.
Bjoern Gruening <bjoern.gruening@gmail.com>
parents:
10
diff
changeset
|
1 <tool id="ctb_ob_genProp" name="Compute physico-chemical properties" version="1.0"> |
0 | 2 <description>for a set of molecules</description> |
3 <parallelism method="multi" split_inputs="infile" split_mode="to_size" split_size="10000" shared_inputs="" merge_outputs="outfile"></parallelism> | |
4 <requirements> | |
5 <requirement type="package" version="2.3.2">openbabel</requirement> | |
10 | 6 <requirement type="package" version="0.1">cheminfolib</requirement> |
0 | 7 </requirements> |
8 <command interpreter="python"> | |
9 ob_genProp.py | |
10 -i "${infile}" | |
7 | 11 --iformat "${infile.ext}" |
12 --oformat "${output_opts.output_format_types}" | |
0 | 13 #if $output_opts.header.value: |
14 --header $output_opts.header | |
15 #end if | |
16 -o "${outfile}" | |
17 </command> | |
18 <inputs> | |
19 <param name="infile" type="data" format="sdf,mol,mol2,cml,inchi,smi" label="Select input file with multiple molecules."/> | |
20 <conditional name="output_opts"> | |
21 <param name="output_format_types" type="select" label="Specify output format file"> | |
22 <option value="table">Tabular format</option> | |
23 <option value="sdf" selected="True">sdf</option> | |
24 </param> | |
25 <when value="table"> | |
26 <param name="header" type="boolean" checked="False" label="Print the headers of the table as the first row of the table"/> | |
27 </when> | |
28 <when value="sdf"> | |
29 <param name="header" type="hidden"/> | |
30 </when> | |
31 </conditional> | |
32 </inputs> | |
33 <outputs> | |
1 | 34 <data format="tabular" name="outfile" label="${tool.name} on ${on_string}"> |
0 | 35 <change_format> |
1 | 36 <when input="output_opts.output_format_types" value="sdf" format="sdf"/> |
0 | 37 </change_format> |
38 </data> | |
39 </outputs> | |
40 <tests> | |
41 <test> | |
42 <param name="infile" ftype="sdf" value="CID_2244.sdf"/> | |
43 <param name="output_format_types" value="sdf" /> | |
44 <output name="outfile" ftype="sdf" file="ob_genprop_on_CID2244.sdf" /> | |
45 </test> | |
46 <test> | |
47 <param name="infile" ftype="sdf" value="CID_2244.sdf"/> | |
48 <param name="output_format_types" value="table" /> | |
49 <param name="header" value="true" /> | |
50 <output name="outfile" ftype="sdf" file="ob_genprop_on_CID2244.tabular" /> | |
51 </test> | |
52 </tests> | |
53 <help> | |
54 | |
55 .. class:: infomark | |
56 | |
57 **What does this tool do?** | |
58 | |
59 This tool computes several physico-chemical properties for a set of molecules. | |
60 | |
61 ----- | |
62 | |
63 .. class:: warningmark | |
64 | |
65 **Tip:** the generation of Spectrophores(TM) requires the previous addition of explicit hydrogen atoms and the proper definition of 3D coordinates. The user is directed towards the corresponding tools if accurate Spectrophores(TM) descriptors are required. | |
66 | |
67 ----- | |
68 | |
69 .. class:: infomark | |
70 | |
71 **Input:** molecular file in sdf or mol2 format files. The input file may contain multiple molecules. 3D coordinates of the files have to be provided. | |
72 | |
73 **Output:** this program generates an sdf file containing several computed physico-chemical properties stored as meta-data, or a tabular formatted file with the meta-data stored in columns. | |
74 | |
75 ----- | |
76 | |
77 .. class:: infomark | |
78 | |
79 The following **physico-chemical properties and descriptors** are computed for each molecule: | |
80 | |
81 # number of hydrogen-bond donor and acceptor groups | |
82 | |
83 # number of rotatable bonds | |
84 | |
85 # logP | |
86 | |
87 # number of rings | |
88 | |
89 # number of heavy atoms | |
90 | |
91 # molecular weight | |
92 | |
93 # total Polar Surface Area | |
94 | |
95 # molecular refractivity | |
96 | |
97 # Canonical SMILES | |
98 | |
99 # InChI string | |
100 | |
101 # InChI-Key | |
102 | |
103 # Spectrophores(TM) | |
104 | |
105 ----- | |
106 | |
107 **This tool uses Pybel:** N. M. O'Boyle, C. Morley and G. R. Hutchison. Pybel: a Python wrapper for the OpenBabel cheminformatics toolkit Chem. Cent. J. 2008, 2, 5. | |
108 | |
109 **Spectrophores(TM)** is a registered tool implemented in the open-source OpenBabel. Copyright (C) 2005-2010 by Silicos NV. | |
110 | |
111 </help> | |
112 </tool> |