OBDISTGEN(1)
πΈ NAME πΈ
okay so bestie, let me introduce you to obdistgen β she's the one who generates rough 3D coordinates for SMILES (or other 0D files). like, she takes your flat little list of atoms and gives it a whole third dimension. main character energy fr π
β¨ SYNOPSIS β¨
obdistgen filename
one job. one argument. it's giving minimalism and honestly? iconic. π
π¦ DESCRIPTION π¦
she generates SDFs with distance geometry. that's the whole vibe. distance geometry is the little math party trick that turns your 0D/2D situation into rough 3D coords, and she serves it up as SDF. no cap, she's not here to overexplain β she just does the thing and hands you the file. π«Ά
π ENVIRONMENT π
OB_RANDOM_SEEDβ bestie this is the seed for the pseudo random generator. if it's unset or null, a random seed is used instead, so every run gets its own lil surprise. π
ok but here's the fine print β: this feature is only effective if Open Babel is built with the -DOB_USE_OBRANDOMMT cpreprocessor flag β and it will be automatically enabled when version 4 is released. so rn it's giving "coming soon to a build near you". iykyk. π
ngl, don't set OB_RANDOM_SEED expecting it to do something on a build without that flag. she's not listening yet. π
π EXAMPLES π
obdistgen molecule.smi > molecule.sdf
Generate rough 3D coordinates for molecule.smi and write it to molecule.sdf. that's it, that's the whole recipe β pipe the output into your sdf file and you're slaying. β¨
π₯ SEE ALSO π₯
obgen(1)β her sibling, go say hi π
the web pages for Open Babel can be found at: https://openbabel.org/ π
π AUTHORS π
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 π
like honestly? a whole ensemble cast. everyone ate. π
π COPYRIGHT π
Copyright (C) 1998-2001 by OpenEye Scientific Software, Inc.
Some portions Copyright (C) 2001-2007 by Geoffrey R. Hutchison and other contributors.
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. β οΈ
fr fr please read that warranty part β no promises, no guarantees, she's free software not a safety net π
π and that's the page, bestie! this absolute gem is from Open Babel 3.2, dated May 26, 2026 β yes she's stamped and everything. periodt. π β¨π¦
π¦ 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