File: babel.html

package info (click to toggle)
openbabel 2.0.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 15,652 kB
  • ctags: 15,998
  • sloc: cpp: 128,176; ansic: 86,170; sh: 8,920; perl: 1,847; python: 1,369; pascal: 793; makefile: 381; xml: 97
file content (396 lines) | stat: -rw-r--r-- 9,741 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
<!-- manual page source format generated by PolyglotMan v3.2, -->
<!-- available at http://polyglotman.sourceforge.net/ -->

<html>
<head>
<title>man page(1) manual page</title>
</head>
<body bgcolor='white'>
<a href='#toc'>Table of Contents</a><p>

<h2><a name='sect0' href='#toc0'>Name</a></h2>

<p>
<b>babel</b> -- a converter for chemistry and molecular modeling data files

<p>
<h2><a name='sect1' href='#toc1'><b>Synopsis</b></a></h2>

<p>
<b>babel</b> [<b>-H</b> <i>help-options</i>]<br>

<b>babel</b> [<i>OPTIONS</i>] [<b>-i</b> <i>input-type</i>] <i>infile</i> [<b>-o</b> <i>output-type</i>] <i>outfile</i>

<p>
<h2><a name='sect2' href='#toc2'><b>Description</b></a></h2>

<p>
Open Babel is a cross-platform program designed to interconvert between
many file formats used in molecular modeling and computational chemistry
and related areas.

<p><p>
Note that Open Babel can also be used as a library to interconvert many
file formats and to provide standard chemistry software routines. See the
Open Babel web pages &lt;<b>http://openbabel.sourceforge.net/</b>&gt; for more information.

<p>
<h2><a name='sect3' href='#toc3'><b>Options</b></a></h2>

<p>
If only input and ouput files are given, Open Babel will guess the file
type from the filename extension.

<p>
<dl>

<dt><b>---errorlevel</b> <i>2</i></dt></dt>
<dd>
Filter the level of errors and warnings displayed:
1 = critical errors only
2 = include warnings too (default)
3 = include informational messages too
4 = include &ldquo;audit log&rdquo; messages of changes to data
5 = include debugging messages too

<p></dd>

<dt><b>-a</b> <i>options</i></dt></dt>
<dd>
Format-specific input options. See <b>-H</b> <i>format-ID</i> for options allowed
by a particular format

<p></dd>

<dt><b>-b</b> </dt></dt>
<dd>   Convert dative bonds (e.g., [N+]([O-])=) to N(=O)=O)

<p></dd>

<dt><b>-c</b> </dt></dt>
<dd>   Center atomic coordinates at (0,0,0)

<p></dd>

<dt><b>-d</b> </dt></dt>
<dd>   Delete Hydrogens

<p></dd>

<dt><b>-f</b> <i>#</i> </dt></dt>
<dd>For multiple entry input, start import with molecule # as the first
entry

<p></dd>

<dt><b>-F</b> </dt></dt>
<dd>   Output the available fingerprint types

<p></dd>

<dt><b>-h</b> </dt></dt>
<dd>   Add hydrogens

<p></dd>

<dt><b>-H</b> </dt></dt>
<dd>   Output usage information

<p></dd>

<dt><b>-H</b> <i>format-ID</i></dt></dt>
<dd>
Output formatting information and options for format specified

<p></dd>

<dt><b>-Hall</b></dt></dt>
<dd>
Output formatting information and options for all formats

<p></dd>

<dt><b>-i&lt;format-ID&gt;</b></dt></dt>
<dd>
Specifies input format, see below for the available formats

<p></dd>

<dt><b>-j</b> </dt></dt>
<dd>   Join all input molecules into a single output molecule entry

<p></dd>

<dt><b>-m</b> </dt></dt>
<dd>   Produce multiple output files, to allow:
</dd>

<dt><b>-</b> </dt></dt>
<dd>Splitting one input file - put each molecule into consecutively
numbered output files
</dd>

<dt><b>-</b> </dt></dt>
<dd>Batch conversion - convert each of multiple input files
into a specified output format

<p></dd>

<dt><b>-l</b> <i>#</i> </dt></dt>
<dd>For multiple entry input, stop import with molecule # as the last
entry

<p></dd>

<dt><b>-o</b> <i>format-ID</i></dt></dt>
<dd>
Specifies output format, see below for the available formats

<p></dd>

<dt><b>-p</b> </dt></dt>
<dd>   Add Hydrogens appropriate for pH (use transforms in phmodel.txt)

<p></dd>

<dt><b>-s</b> <i>SMARTS</i></dt></dt>
<dd>
Convert only molecules matching the SMARTS pattern specified

<p></dd>

<dt><b>-t</b> </dt></dt>
<dd>   All input files describe a single molecule

<p></dd>

<dt><b>-x</b> <i>options</i></dt></dt>
<dd>
Format-specific output options. See <b>-H</b> <i>format-ID</i> for options
allowed by a particular format

<p></dd>

<dt><b>-v</b> <i>SMARTS</i></dt></dt>
<dd>
Convert only molecules <b>NOT</b> matching SMARTS pattern specified

<p></dd>

<dt><b>-V</b> </dt></dt>
<dd>   Output version number and exit

<p></dd>

<dt><b>-z</b> </dt></dt>
<dd>   Compress the output with gzip

<p></dd>
</dl>

<h2><a name='sect4' href='#toc4'><b>File</b> <b>Formats</b></a></h2>

<p>
The following formats are currently supported by Open Babel:
alc -- Alchemy format<br>

bgf -- MSI BGF format<br>

box -- Dock 3.5 Box format<br>

bs -- Ball and Stick format<br>

c3d1 -- Chem3D Cartesian 1 format<br>

c3d2 -- Chem3D Cartesian 2 format<br>

caccrt -- Cacao Cartesian format<br>

cache -- CAChe MolStruct format [Write-only]
cacint -- Cacao Internal format [Write-only]
car -- Accelrys/MSI Biosym/Insight II CAR format [Read-only]
ccc -- CCC format [Read-only]<br>

cht -- Chemtool format [Write-only]
cml -- Chemical Markup Language<br>

cmlr -- CML Reaction format<br>

com -- Gaussian 98/03 Cartesian Input [Write-only]
copy -- Copies raw text [Write-only]
crk2d -- Chemical Resource Kit 2D diagram format
crk3d -- Chemical Resource Kit 3D format
csr -- Accelrys/MSI Quanta CSR format [Write-only]
cssr -- CSD CSSR format [Write-only]
ct -- ChemDraw Connection Table format
dmol -- DMol3 coordinates format<br>

ent -- Protein Data Bank format<br>

feat -- Feature format<br>

fh -- Fenske-Hall Z-Matrix format [Write-only]
fix -- SMILES FIX format [Write-only]
fpt -- Fingerprint format [Write-only]
fract -- Free Form Fractional format
fs -- FastSearching<br>

g03 -- Gaussian98/03 Output [Read-only]
g98 -- Gaussian98/03 Output [Read-only]
gam -- GAMESS Output [Read-only]<br>

gamin -- GAMESS Input [Write-only]<br>

gamout -- GAMESS Output [Read-only]
gau -- Gaussian 98/03 Cartesian Input [Write-only]
gpr -- Ghemical format<br>

gr96 -- GROMOS96 format [Write-only]
hin -- HyperChem HIN format<br>

inchi -- IUPAC InChI descriptor [Write-only]
inp -- GAMESS Input [Write-only]<br>

ins -- ShelX format [Read-only]<br>

jin -- Jaguar input format [Write-only]
jout -- Jaguar output format [Read-only]
mdl -- MDL MOL format<br>

mmd -- MacroModel format<br>

mmod -- MacroModel format<br>

mol -- MDL MOL format<br>

mol2 -- Sybyl Mol2 format<br>

mopcrt -- MOPAC Cartesian format<br>

mopout -- MOPAC Output format [Read-only]
mpd -- Sybyl descriptor format [Write-only]
mpqc -- MPQC output format [Read-only]
mpqcin -- MPQC simplified input format [Write-only]
nw -- NWChem input format [Write-only]
nwo -- NWChem output format [Read-only]
pc -- PubChem format [Read-only]<br>

pcm -- PCModel format<br>

pdb -- Protein Data Bank format<br>

pov -- POV-Ray input format [Write-only]
pqs -- Parallel Quantum Solutions format
prep -- Amber Prep format [Read-only]
qcin -- Q-Chem input format [Write-only]
qcout -- Q-Chem output format [Read-only]
report -- Open Babel report format [Write-only]
res -- ShelX format [Read-only]<br>

rxn -- MDL RXN format<br>

sd -- MDL MOL format<br>

sdf -- MDL MOL format<br>

smi -- SMILES format<br>

test -- Test format [Write-only]<br>

tmol -- TurboMole Coordinate format
txyz -- Tinker MM2 format [Write-only]
unixyz -- UniChem XYZ format<br>

vmol -- ViewMol format<br>

xed -- XED format [Write-only]<br>

xml -- General XML format [Read-only]
xyz -- XYZ cartesian coordinates format
yob -- YASARA.org YOB format<br>

zin -- ZINDO input format [Write-only]

<p>
<h2><a name='sect5' href='#toc5'><b>Format</b> <b>Options</b></a></h2>

<p>
Individual file formats may have additional formatting options.

<p><p>
Input format options are preceded by &lsquo;a&rsquo;, e.g. -as

<p><p>
Output format options are preceded by &lsquo;x&rsquo;, e.g. -xn

<p><p>
For further specific information and options, use -H&lt;format-type&gt;
e.g., -Hcml

<p>
<h2><a name='sect6' href='#toc6'><b>Examples</b></a></h2>

<p>
Standard conversion:<br>

babel -ixyz ethanol.xyz -opdb ethanol.pdb
Conversion from a SMI file in STDIN to a Mol2 file written to STDOUT:
babel -ismi -omol2<br>

Split a multi-molecule file into new1.smi, new2.smi, etc.:
babel infile.mol new.smi -m

<p>
<h2><a name='sect7' href='#toc7'><b>See</b> <b>Also</b></a></h2>

<p>
<a href='obfit.1'>obfit(1)</a>
, <a href='obgrep.1'>obgrep(1)</a>
, <a href='obprop.1'>obprop(1)</a>
, <a href='obrotate.1'>obrotate(1)</a>
 The web pages for Open Babel
can be found at: &lt;<b>http://openbabel.sourceforge.net/</b>&gt;

<p>
<h2><a name='sect8' href='#toc8'><b>Authors</b></a></h2>

<p>
A cast of many, including currrent maintainers Geoff Hutchison, Chris
Morley, Michael Banck, and innumerable others who have contributed fixes
and additions. For more contributors to Open Babel, see &lt;<b>http://openbabel.sourceforge.net/THANKS.shtml</b>&gt;

<p>
<h2><a name='sect9' href='#toc9'><b>Copyright</b></a></h2>

<p>
Copyright (C) 1998-2001 by OpenEye Scientific Software, Inc. Some portions
Copyright (C) 2001-2005 by Geoffrey R. Hutchison

<p><p>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation version 2 of the License.

<p><p>
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
License for more details.
<p>

<hr><p>
<a name='toc'><b>Table of Contents</b></a><p>
<ul>
<li><a name='toc0' href='#sect0'>Name</a></li>
<li><a name='toc1' href='#sect1'>Synopsis</a></li>
<li><a name='toc2' href='#sect2'>Description</a></li>
<li><a name='toc3' href='#sect3'>Options</a></li>
<li><a name='toc4' href='#sect4'>File Formats</a></li>
<li><a name='toc5' href='#sect5'>Format Options</a></li>
<li><a name='toc6' href='#sect6'>Examples</a></li>
<li><a name='toc7' href='#sect7'>See Also</a></li>
<li><a name='toc8' href='#sect8'>Authors</a></li>
<li><a name='toc9' href='#sect9'>Copyright</a></li>
</ul>
</body>
</html>