comparison modify/ob_genProp.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_ob_genProp" name="Compute physico-chemical properties" version="1.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>
6 <requirement type="package" version="0.1">cheminfolib</requirement>
7 </requirements>
8 <command interpreter="python">
9 ob_genProp.py
10 -i "${infile}"
11 --iformat "${infile.ext}"
12 --oformat "${output_opts.output_format_types}"
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>
34 <data format="tabular" name="outfile" label="${tool.name} on ${on_string}">
35 <change_format>
36 <when input="output_opts.output_format_types" value="sdf" format="sdf"/>
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 this tool does**
58
59 Computes several physico-chemical properties for a set of molecules.
60
61 The following physico-chemical properties and descriptors are computed for each molecule:
62
63 - number of hydrogen-bond donor and acceptor groups
64
65 - number of rotatable bonds
66
67 - logP
68
69 - number of rings
70
71 - number of heavy atoms
72
73 - molecular weight
74
75 - total Polar Surface Area
76
77 - molecular refractivity
78
79 - Canonical SMILES
80
81 - InChI string
82
83 - InChI-Key
84
85 - Spectrophores(TM)
86
87 -----
88
89 .. class:: infomark
90
91 **Input**
92
93 - SDF_
94 - MOL2_
95
96 .. _SDF: http://en.wikipedia.org/wiki/Chemical_table_file
97 .. _MOL2: http://www.tripos.com/index.php?family=modules,SimplePage,Mol2_File_Format2009
98
99 3D coordinates of the molecules have to be provided.
100
101 -----
102
103 .. class:: warningmark
104
105 **Hint** 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.
106
107 -----
108
109 .. class:: infomark
110
111 **Output**
112
113 Either a SD-file containing several computed physico-chemical properties stored as metadata or a tabular file with the metadata stored in columns.
114
115 -----
116
117 .. class:: infomark
118
119 **Cite**
120
121 N M O'Boyle, C Morley and G R Hutchison - `Pybel: a Python wrapper for the OpenBabel cheminformatics toolkit`_
122
123 Silicos_ - |Spectrophores (TM)| is a registered tool implemented in the open-source OpenBabel.
124
125 .. |Spectrophores (TM)| unicode:: Spectrophores U+2122
126
127 `Open Babel`_
128
129 .. _Open Babel: http://openbabel.org/wiki/Main_Page
130 .. _`Pybel: a Python wrapper for the OpenBabel cheminformatics toolkit`: http://www.biomedcentral.com/content/pdf/1752-153X-2-5.pdf
131 .. _Silicos: http://openbabel.org/docs/dev/Fingerprints/spectrophore.html
132
133
134 </help>
135 </tool>