0
|
1 <tool id="ctb_ob_addh" name="Add hydrogen atoms" version="1.0">
|
|
2 <description>at a certain pH value</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 </requirements>
|
|
7 <command interpreter="python">
|
2
|
8 <![CDATA[
|
0
|
9 ob_addh.py
|
|
10 -i "${infile}"
|
|
11 --iformat "${infile.ext}"
|
|
12 -o "${outfile}"
|
|
13 $polar
|
|
14 --pH "${pH_value}"
|
2
|
15 ]]>
|
0
|
16 </command>
|
|
17 <inputs>
|
|
18 <param name="infile" type="data" format="sdf,smi,mol,mol2,cml,inchi" label="Select input file"/>
|
|
19 <param name="polar" type="boolean" truevalue="--polar" falsevalue="" label="Add hydrogens to polar atoms only"/>
|
|
20 <param name="pH_value" type="float" size="4" value="7.4" label="Specify pH value"/>
|
|
21 </inputs>
|
|
22 <outputs>
|
|
23 <data format_source="infile" name="outfile" />
|
|
24 </outputs>
|
|
25 <tests>
|
|
26 <test>
|
|
27 <param name="infile" value="CID_2244.can" ftype="smi" />
|
|
28 <param name="polar" value="--polar" />
|
|
29 <param name="pH_value" value="7.4" />
|
|
30 <output name="outfile" file="CID_2244_addh.can" ftype="can" />
|
|
31 </test>
|
|
32 </tests>
|
|
33 <help>
|
2
|
34 <![CDATA[
|
0
|
35
|
|
36 .. class:: infomark
|
|
37
|
|
38 **What this tool does**
|
|
39
|
|
40 Parses a molecular file and adds hydrogen atoms at a user-defined pH value.
|
|
41
|
|
42 * Protocol::
|
|
43
|
|
44 1. The hydrogen atoms included in the input molecule are deleted.
|
|
45 2. Protonation state is predicted at the target pH and the corresponding hydrogen atoms added accordingly.
|
|
46
|
|
47 -----
|
|
48
|
|
49 .. class:: infomark
|
|
50
|
|
51 **Input**
|
|
52
|
|
53 3D format files are required, e.g. SDF_
|
|
54
|
|
55 .. _SDF: http://en.wikipedia.org/wiki/Chemical_table_file
|
|
56
|
|
57 -----
|
|
58
|
|
59 .. class:: warningmark
|
|
60
|
2
|
61 **Hint**
|
0
|
62
|
|
63 To avoid possible crashes, only molecules with more than five heavy atoms are parsed.
|
|
64
|
|
65 -----
|
|
66
|
|
67 .. class:: infomark
|
|
68
|
2
|
69 **Output**
|
0
|
70
|
|
71 Same output format as the input format.
|
|
72
|
|
73 -----
|
|
74
|
|
75 .. class:: infomark
|
|
76
|
|
77 **Cite**
|
|
78
|
|
79 `Open Babel`_
|
|
80
|
|
81 .. _Open Babel: http://openbabel.org/wiki/Main_Page
|
|
82
|
|
83 N M O'Boyle, C Morley and G R Hutchison - `Pybel: a Python wrapper for the OpenBabel cheminformatics toolkit`_
|
|
84
|
|
85 .. _`Pybel: a Python wrapper for the OpenBabel cheminformatics toolkit`: http://www.biomedcentral.com/content/pdf/1752-153X-2-5.pdf
|
|
86
|
2
|
87 ]]>
|
0
|
88 </help>
|
|
89 </tool>
|