annotate modify/ob_genProp.xml @ 2:125da3a296ca draft default tip

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