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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
6493d130f018 Uploaded
bgruening
parents:
diff changeset
2 <description>for a set of molecules</description>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
3 <parallelism method="multi" split_inputs="infile" split_mode="to_size" split_size="10000" shared_inputs="" merge_outputs="outfile"></parallelism>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
4 <requirements>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
5 <requirement type="package" version="2.3.2">openbabel</requirement>
10
cc63a42fd22e Uploaded
bgruening
parents: 7
diff changeset
6 <requirement type="package" version="0.1">cheminfolib</requirement>
0
6493d130f018 Uploaded
bgruening
parents:
diff changeset
7 </requirements>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
8 <command interpreter="python">
6493d130f018 Uploaded
bgruening
parents:
diff changeset
9 ob_genProp.py
6493d130f018 Uploaded
bgruening
parents:
diff changeset
10 -i "${infile}"
7
12822efbd4a4 Uploaded
bgruening
parents: 1
diff changeset
11 --iformat "${infile.ext}"
12822efbd4a4 Uploaded
bgruening
parents: 1
diff changeset
12 --oformat "${output_opts.output_format_types}"
0
6493d130f018 Uploaded
bgruening
parents:
diff changeset
13 #if $output_opts.header.value:
6493d130f018 Uploaded
bgruening
parents:
diff changeset
14 --header $output_opts.header
6493d130f018 Uploaded
bgruening
parents:
diff changeset
15 #end if
6493d130f018 Uploaded
bgruening
parents:
diff changeset
16 -o "${outfile}"
6493d130f018 Uploaded
bgruening
parents:
diff changeset
17 </command>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
18 <inputs>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
19 <param name="infile" type="data" format="sdf,mol,mol2,cml,inchi,smi" label="Select input file with multiple molecules."/>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
20 <conditional name="output_opts">
6493d130f018 Uploaded
bgruening
parents:
diff changeset
21 <param name="output_format_types" type="select" label="Specify output format file">
6493d130f018 Uploaded
bgruening
parents:
diff changeset
22 <option value="table">Tabular format</option>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
23 <option value="sdf" selected="True">sdf</option>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
24 </param>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
25 <when value="table">
6493d130f018 Uploaded
bgruening
parents:
diff changeset
26 <param name="header" type="boolean" checked="False" label="Print the headers of the table as the first row of the table"/>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
27 </when>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
28 <when value="sdf">
6493d130f018 Uploaded
bgruening
parents:
diff changeset
29 <param name="header" type="hidden"/>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
30 </when>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
31 </conditional>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
32 </inputs>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
33 <outputs>
1
e8dce9596b4c Uploaded
bgruening
parents: 0
diff changeset
34 <data format="tabular" name="outfile" label="${tool.name} on ${on_string}">
0
6493d130f018 Uploaded
bgruening
parents:
diff changeset
35 <change_format>
1
e8dce9596b4c Uploaded
bgruening
parents: 0
diff changeset
36 <when input="output_opts.output_format_types" value="sdf" format="sdf"/>
0
6493d130f018 Uploaded
bgruening
parents:
diff changeset
37 </change_format>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
38 </data>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
39 </outputs>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
40 <tests>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
41 <test>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
42 <param name="infile" ftype="sdf" value="CID_2244.sdf"/>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
43 <param name="output_format_types" value="sdf" />
6493d130f018 Uploaded
bgruening
parents:
diff changeset
44 <output name="outfile" ftype="sdf" file="ob_genprop_on_CID2244.sdf" />
6493d130f018 Uploaded
bgruening
parents:
diff changeset
45 </test>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
46 <test>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
47 <param name="infile" ftype="sdf" value="CID_2244.sdf"/>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
48 <param name="output_format_types" value="table" />
6493d130f018 Uploaded
bgruening
parents:
diff changeset
49 <param name="header" value="true" />
6493d130f018 Uploaded
bgruening
parents:
diff changeset
50 <output name="outfile" ftype="sdf" file="ob_genprop_on_CID2244.tabular" />
6493d130f018 Uploaded
bgruening
parents:
diff changeset
51 </test>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
52 </tests>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
53 <help>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
54
6493d130f018 Uploaded
bgruening
parents:
diff changeset
55 .. class:: infomark
6493d130f018 Uploaded
bgruening
parents:
diff changeset
56
6493d130f018 Uploaded
bgruening
parents:
diff changeset
57 **What does this tool do?**
6493d130f018 Uploaded
bgruening
parents:
diff changeset
58
6493d130f018 Uploaded
bgruening
parents:
diff changeset
59 This tool computes several physico-chemical properties for a set of molecules.
6493d130f018 Uploaded
bgruening
parents:
diff changeset
60
6493d130f018 Uploaded
bgruening
parents:
diff changeset
61 -----
6493d130f018 Uploaded
bgruening
parents:
diff changeset
62
6493d130f018 Uploaded
bgruening
parents:
diff changeset
63 .. class:: warningmark
6493d130f018 Uploaded
bgruening
parents:
diff changeset
64
6493d130f018 Uploaded
bgruening
parents:
diff changeset
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.
6493d130f018 Uploaded
bgruening
parents:
diff changeset
66
6493d130f018 Uploaded
bgruening
parents:
diff changeset
67 -----
6493d130f018 Uploaded
bgruening
parents:
diff changeset
68
6493d130f018 Uploaded
bgruening
parents:
diff changeset
69 .. class:: infomark
6493d130f018 Uploaded
bgruening
parents:
diff changeset
70
6493d130f018 Uploaded
bgruening
parents:
diff changeset
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.
6493d130f018 Uploaded
bgruening
parents:
diff changeset
72
6493d130f018 Uploaded
bgruening
parents:
diff changeset
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.
6493d130f018 Uploaded
bgruening
parents:
diff changeset
74
6493d130f018 Uploaded
bgruening
parents:
diff changeset
75 -----
6493d130f018 Uploaded
bgruening
parents:
diff changeset
76
6493d130f018 Uploaded
bgruening
parents:
diff changeset
77 .. class:: infomark
6493d130f018 Uploaded
bgruening
parents:
diff changeset
78
6493d130f018 Uploaded
bgruening
parents:
diff changeset
79 The following **physico-chemical properties and descriptors** are computed for each molecule:
6493d130f018 Uploaded
bgruening
parents:
diff changeset
80
6493d130f018 Uploaded
bgruening
parents:
diff changeset
81 # number of hydrogen-bond donor and acceptor groups
6493d130f018 Uploaded
bgruening
parents:
diff changeset
82
6493d130f018 Uploaded
bgruening
parents:
diff changeset
83 # number of rotatable bonds
6493d130f018 Uploaded
bgruening
parents:
diff changeset
84
6493d130f018 Uploaded
bgruening
parents:
diff changeset
85 # logP
6493d130f018 Uploaded
bgruening
parents:
diff changeset
86
6493d130f018 Uploaded
bgruening
parents:
diff changeset
87 # number of rings
6493d130f018 Uploaded
bgruening
parents:
diff changeset
88
6493d130f018 Uploaded
bgruening
parents:
diff changeset
89 # number of heavy atoms
6493d130f018 Uploaded
bgruening
parents:
diff changeset
90
6493d130f018 Uploaded
bgruening
parents:
diff changeset
91 # molecular weight
6493d130f018 Uploaded
bgruening
parents:
diff changeset
92
6493d130f018 Uploaded
bgruening
parents:
diff changeset
93 # total Polar Surface Area
6493d130f018 Uploaded
bgruening
parents:
diff changeset
94
6493d130f018 Uploaded
bgruening
parents:
diff changeset
95 # molecular refractivity
6493d130f018 Uploaded
bgruening
parents:
diff changeset
96
6493d130f018 Uploaded
bgruening
parents:
diff changeset
97 # Canonical SMILES
6493d130f018 Uploaded
bgruening
parents:
diff changeset
98
6493d130f018 Uploaded
bgruening
parents:
diff changeset
99 # InChI string
6493d130f018 Uploaded
bgruening
parents:
diff changeset
100
6493d130f018 Uploaded
bgruening
parents:
diff changeset
101 # InChI-Key
6493d130f018 Uploaded
bgruening
parents:
diff changeset
102
6493d130f018 Uploaded
bgruening
parents:
diff changeset
103 # Spectrophores(TM)
6493d130f018 Uploaded
bgruening
parents:
diff changeset
104
6493d130f018 Uploaded
bgruening
parents:
diff changeset
105 -----
6493d130f018 Uploaded
bgruening
parents:
diff changeset
106
6493d130f018 Uploaded
bgruening
parents:
diff changeset
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.
6493d130f018 Uploaded
bgruening
parents:
diff changeset
108
6493d130f018 Uploaded
bgruening
parents:
diff changeset
109 **Spectrophores(TM)** is a registered tool implemented in the open-source OpenBabel. Copyright (C) 2005-2010 by Silicos NV.
6493d130f018 Uploaded
bgruening
parents:
diff changeset
110
6493d130f018 Uploaded
bgruening
parents:
diff changeset
111 </help>
6493d130f018 Uploaded
bgruening
parents:
diff changeset
112 </tool>