From SMILES to 3D with ETKDG and MMFF94s, what is not optimised
ETKDG embeds a SMILES into coordinates with experimental torsion preferences, MMFF94s relaxes them, and the DFT runs as a single point on that geometry.
Updated November 28, 2026
A SMILES string has no coordinates, so the first step of any σ-profile calculation is to build a three-dimensional structure. The common route is distance geometry with experimental torsion knowledge, ETKDG, followed by relaxation in the MMFF94s force field. The DFT calculation then runs as a single point on that geometry. The geometry is therefore a force-field minimum, not a DFT minimum, and that distinction should be written into any recipe and understood by anyone reading the sigma profile.
What a SMILES does and does not contain
A SMILES encodes atoms, bonds, charges, aromaticity and, when written, stereochemistry. It does not encode bond lengths, angles, torsions or which conformer of a flexible chain is meant. Everything spatial must be generated.
Two things in the SMILES are taken literally. The protonation state is the one written, so an acid written as neutral stays neutral and one written as carboxylate stays charged. Stereocentres that are specified are respected. Stereocentres that are not specified have to be assigned somehow, and the usual approach is to embed one arbitrary isomer and count how many centres were unassigned. MFsig does exactly that and records the count in the file. The guide on stereochemistry and σ-profiles discusses when that matters.
How ETKDG builds coordinates
Distance geometry starts from bounds on every interatomic distance. Bonded atoms have tight bounds from standard bond lengths, atoms two bonds apart from standard angles, and more distant atoms a wide range between van der Waals contact and the fully extended distance. A random distance matrix within those bounds is embedded into three dimensions and refined to satisfy the bounds as well as possible.
Plain distance geometry produces strained, sometimes odd structures. Riniker and Landrum's ETKDG adds two refinements. Experimental torsion preferences, extracted from crystal structure databases, pull each rotatable bond towards the torsion angles that occur in real molecules. Basic knowledge terms keep aromatic rings planar and tetrahedral centres tetrahedral. The result is a chemically sensible starting structure in a fraction of a second.
The embedding uses a random number generator. With a fixed seed, the same SMILES gives the same coordinates every time, on any machine. That is why a recipe must pin the seed. MFsig pins seed 42. Without a pinned seed, two runs of one molecule produce two conformers and two σ-profiles.
What MMFF94s relaxes
The embedded structure is then minimised in the Merck molecular force field. MMFF94 was parameterised by Halgren against a wide range of organic molecules and high-level calculations. The "s" variant, MMFF94s, changes the out-of-plane terms at nitrogen so that anilines and amides stay planar rather than pyramidal, which is the better description for the static structures used in single-point calculations.
Minimisation fixes bond lengths and angles, removes clashes left by the embedding, and settles torsions into the nearest local minimum. It does not search for the global minimum. The conformer that comes out is the one nearest the embedded start. For a rigid molecule that is the only conformer. For a flexible one it is a sample of one. The guide on conformer ensembles for σ-profiles treats the case where one sample is not enough.
When MMFF94s has no parameters for an atom type, which is common for metals and some unusual main-group centres, the universal force field UFF is used instead. UFF covers every element at lower accuracy. The MFsig recipe records which force field was applied, and the full geometry procedure is on the recipes page. The frozen atlas recipe v0.91.1 used UFF for every molecule, which is one of the reasons it is a separate recipe.
What is not optimised, and what that costs
The DFT step is a single point. No quantum-chemical geometry optimisation is performed. This is a deliberate trade-off. A DFT optimisation costs tens of single points and introduces its own non-determinism, because the optimiser can land in different minima from slightly different starts. A single point on a reproducible force-field geometry gives one σ-profile per SMILES at a predictable cost.
The price is that the geometry is the force field's. Bond lengths from MMFF94s typically differ from ωB97M-V bond lengths by a few hundredths of an ångström. Angles differ by a degree or two. Those differences shift σ values slightly, mostly by changing how far polar atoms sit from each other and from the cavity surface. The larger risk is in torsions. A force field can prefer a conformer that DFT in a water-like continuum would not, for example in the orientation of a hydroxyl group relative to a neighbouring acceptor, and that changes the polar peaks of the σ-profile more than any bond-length difference. The guide on why one molecule can have several σ-profiles shows how large such shifts can be.
Every .mfsig file carries its geometry and a convergence flag for the force-field minimisation. A reader who needs a DFT-optimised geometry can take the recorded coordinates as a starting point.
A worked example with ibuprofen
Ibuprofen, SMILES CC(C)Cc1ccc(cc1)C(C)C(=O)O, has an isobutyl chain, a propanoic acid arm and four rotatable bonds that matter. In RDKit the whole geometry step is a few lines.
from rdkit import Chem
from rdkit.Chem import AllChem
mol = Chem.AddHs(Chem.MolFromSmiles("CC(C)Cc1ccc(cc1)C(C)C(=O)O"))
params = AllChem.ETKDGv3()
params.randomSeed = 42
AllChem.EmbedMolecule(mol, params)
props = AllChem.MMFFGetMoleculeProperties(mol, mmffVariant="MMFF94s")
ff = AllChem.MMFFGetMoleculeForceField(mol, props)
converged = ff.Minimize(maxIts=2000) == 0The embedded ibuprofen places the carboxylic acid roughly perpendicular to the ring and the isobutyl chain extended. The σ-profile from a single point on this structure shows the acid O–H as a sharp negative peak, the carbonyl oxygen as a positive peak, and a large non-polar band from the ring and the alkyl groups. A different seed gives a different arm orientation and moves the acid peaks slightly. The pinned seed makes the result one definite number per SMILES, and the recorded geometry lets anyone check which conformer that was.
Key points
- A SMILES has no coordinates. ETKDG builds them from distance bounds and experimental torsion preferences.
- A pinned random seed makes the embedding reproducible. Without it, one SMILES gives many σ-profiles.
- MMFF94s relaxes to the nearest local minimum and keeps conjugated nitrogens planar. UFF is the fallback when parameters are missing.
- The DFT runs as a single point. Bond lengths and torsions are the force field's, not the functional's.
- The geometry and a convergence flag are recorded in the file, so the conformer can always be checked.
Questions people ask
- What is ETKDG?
- Experimental-torsion knowledge distance geometry, the conformer embedding method of Riniker and Landrum implemented in RDKit. It generates coordinates from a distance-bounds matrix, then refines them with torsion preferences drawn from crystal structures and with basic chemical knowledge about planar and tetrahedral centres. A fixed random seed makes the result reproducible.
- What does MMFF94s do after embedding?
- It relaxes the embedded geometry to a local minimum of the Merck molecular force field, static variant. Bond lengths, angles and non-bonded contacts become physically reasonable, and conjugated nitrogen centres are kept planar. The result is a force-field geometry, usually within a few hundredths of an ångström of a DFT optimised one for bonds, with larger differences possible in torsions.
- Why run the DFT as a single point rather than optimising the geometry?
- For throughput and determinism. A DFT geometry optimisation costs many single points and can wander to a different local minimum depending on the starting structure. A single point on a reproducible force-field geometry gives one σ-profile per SMILES at a fixed cost. The trade-off is that bond lengths are the force field's, not the functional's.
- When is UFF used instead of MMFF94s?
- When MMFF94s has no parameters for an atom type in the molecule, which happens for many organometallics, some hypervalent species and unusual charged centres. The universal force field covers the whole periodic table at lower accuracy. The file records which force field was used.
Further reading
In practice: The production recipe on mfsig.com (ωB97M-V, def2-SVP, C-PCM at ε = 80, modified Bondi radii scaled by 1.2) is published in full on the recipes page, so each choice discussed here can be checked against what actually runs.
Generate a σ-profile from your SMILES
Free converter for a profile you already have, a reference-grade DFT run with its provenance record when it has to be defensible.