OBGEN(1)
π obgen(1) β the girl's guide to generating 3D coords π
okay so bestie, welcome to obgen, from the User's Reference Manual (that's the manual name, slay). this is the tool that takes your molecules and gives them actual 3D coordinates, no cap. let's get into it π
β¨ NAME β¨
obgen β generate 3D coordinates for a molecule. that's the whole vibe. literally her job π¦
πΈ SYNOPSIS πΈ
obgen [OPTIONS] filename
like, options first, filename last. classic. π
π DESCRIPTION π
so the obgen tool will generate 3D coordinates for molecules in a file (think multi-molecule SMILES files, iykyk). the resulting structure gets optimized using the given forcefield, and then it's checked for the lowest-energy conformer using a Monte Carlo search β very main character energy, she's out here doing a whole search for the best conformer π₯
output goes to standard output in the SDF file format. periodt. β¨
π OPTIONS π
okay important thing first, bestie: if no filename is given, obgen will give all options including the available forcefields. so running her bare is basically asking for the menu π
-ffforcefield β selects the forcefield. that's it, that's the option. she's simple like that π
π¦ ENVIRONMENT π¦
OB_RANDOM_SEEDβ the seed for the pseudo random number generator; the random seed is used if it's unset or null. π²
listen, this one has a whole lore drop attached: this feature is effective if Open Babel is built with the -DOB_USE_OBRANDOMMT cpreprocessor flag β which will be automatically enabled when version 4 is released. so yeah, future energy πβ¨
π EXAMPLES π
view the possible options, including available forcefields β just her, no arguments:
obgen
generate 3D coordinates for the molecule(s) in file test.smi:
obgen test.smi
generate 3D coordinates for the molecule(s) in file test.smi using the UFF forcefield:
obgen -ff UFF test.smi
look at those. flawless. π
π SEE ALSO π
the web pages for Open Babel can be found at: <https://openbabel.org/>
the web pages for Open Babel Molecular Mechanics can be found at: <https://openbabel.org/docs/Forcefields/Overview.html>
go read them, bestie, they're giving lore π§
π«Ά AUTHORS π«Ά
the obgen program was contributed by Tim Vandermeersch. π
Open Babel is developed by a cast of many, including current maintainers Geoff Hutchison, Chris Morley, Michael Banck, and innumerable others who have contributed fixes and additions. for more contributors to Open Babel, see <https://openbabel.org/docs/Introduction/thanks.html> β truly a whole ensemble cast π
β COPYRIGHT β
Copyright (C) 2007-2008 by Tim Vandermeersch.
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. π
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.
that's the legal bit and it is not a vibe you ignore, bestie β no warranty, fr fr π
<rainbow>and that's the whole page! β¨ this was **Open Babel 3.2**, dated **May 26, 2026** β mwah, bye bestie ππ¦π</rainbow>
π¦ where this page comes from
- arch rolling: openbabel 3.2.1-1 Β· GPL-2.0-only
- opensuse-leap 16.0: openbabel 3.2.0-bp160.1.1 Β· GPL-2.0-only
- opensuse-leap 16.0: openbabel 3.2.0-bp160.1.1 Β· GPL-2.0-only
- opensuse-leap 16.0: openbabel 3.2.0-bp160.1.1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms