annotate modify/ob_genProp.xml @ 0:527ecd2fc500 draft

Uploaded
author bgruening
date Thu, 15 Aug 2013 03:25:06 -0400
parents
children 125da3a296ca
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
1 <tool id="ctb_ob_genProp" name="Compute physico-chemical properties" version="1.0">
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
2 <description>for a set of molecules</description>
527ecd2fc500 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>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
4 <requirements>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
5 <requirement type="package" version="2.3.2">openbabel</requirement>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
6 <requirement type="package" version="0.1">cheminfolib</requirement>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
7 </requirements>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
8 <command interpreter="python">
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
9 ob_genProp.py
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
10 -i "${infile}"
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
11 --iformat "${infile.ext}"
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
12 --oformat "${output_opts.output_format_types}"
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
13 #if $output_opts.header.value:
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
14 --header $output_opts.header
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
15 #end if
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
16 -o "${outfile}"
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
17 </command>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
18 <inputs>
527ecd2fc500 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."/>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
20 <conditional name="output_opts">
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
21 <param name="output_format_types" type="select" label="Specify output format file">
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
22 <option value="table">Tabular format</option>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
23 <option value="sdf" selected="True">sdf</option>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
24 </param>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
25 <when value="table">
527ecd2fc500 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"/>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
27 </when>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
28 <when value="sdf">
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
29 <param name="header" type="hidden"/>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
30 </when>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
31 </conditional>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
32 </inputs>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
33 <outputs>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
34 <data format="tabular" name="outfile" label="${tool.name} on ${on_string}">
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
35 <change_format>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
36 <when input="output_opts.output_format_types" value="sdf" format="sdf"/>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
37 </change_format>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
38 </data>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
39 </outputs>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
40 <tests>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
41 <test>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
42 <param name="infile" ftype="sdf" value="CID_2244.sdf"/>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
43 <param name="output_format_types" value="sdf" />
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
44 <output name="outfile" ftype="sdf" file="ob_genprop_on_CID2244.sdf" />
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
45 </test>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
46 <test>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
47 <param name="infile" ftype="sdf" value="CID_2244.sdf"/>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
48 <param name="output_format_types" value="table" />
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
49 <param name="header" value="true" />
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
50 <output name="outfile" ftype="sdf" file="ob_genprop_on_CID2244.tabular" />
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
51 </test>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
52 </tests>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
53 <help>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
54
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
55 .. class:: infomark
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
56
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
57 **What this tool does**
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
58
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
59 Computes several physico-chemical properties for a set of molecules.
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
60
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
61 The following physico-chemical properties and descriptors are computed for each molecule:
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
62
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
63 - number of hydrogen-bond donor and acceptor groups
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
64
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
65 - number of rotatable bonds
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
66
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
67 - logP
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
68
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
69 - number of rings
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
70
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
71 - number of heavy atoms
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
72
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
73 - molecular weight
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
74
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
75 - total Polar Surface Area
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
76
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
77 - molecular refractivity
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
78
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
79 - Canonical SMILES
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
80
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
81 - InChI string
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
82
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
83 - InChI-Key
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
84
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
85 - Spectrophores(TM)
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
86
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
87 -----
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
88
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
89 .. class:: infomark
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
90
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
91 **Input**
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
92
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
93 - SDF_
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
94 - MOL2_
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
95
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
96 .. _SDF: http://en.wikipedia.org/wiki/Chemical_table_file
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
97 .. _MOL2: http://www.tripos.com/index.php?family=modules,SimplePage,Mol2_File_Format2009
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
98
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
99 3D coordinates of the molecules have to be provided.
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
100
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
101 -----
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
102
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
103 .. class:: warningmark
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
104
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
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.
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
106
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
107 -----
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
108
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
109 .. class:: infomark
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
110
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
111 **Output**
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
112
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
113 Either a SD-file containing several computed physico-chemical properties stored as metadata or a tabular file with the metadata stored in columns.
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
114
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
115 -----
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
116
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
117 .. class:: infomark
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
118
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
119 **Cite**
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
120
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
121 N M O'Boyle, C Morley and G R Hutchison - `Pybel: a Python wrapper for the OpenBabel cheminformatics toolkit`_
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
122
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
123 Silicos_ - |Spectrophores (TM)| is a registered tool implemented in the open-source OpenBabel.
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
124
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
125 .. |Spectrophores (TM)| unicode:: Spectrophores U+2122
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
126
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
127 `Open Babel`_
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
128
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
129 .. _Open Babel: http://openbabel.org/wiki/Main_Page
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
130 .. _`Pybel: a Python wrapper for the OpenBabel cheminformatics toolkit`: http://www.biomedcentral.com/content/pdf/1752-153X-2-5.pdf
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
131 .. _Silicos: http://openbabel.org/docs/dev/Fingerprints/spectrophore.html
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
132
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
133
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
134 </help>
527ecd2fc500 Uploaded
bgruening
parents:
diff changeset
135 </tool>