GeinDFT
Home › Building from SMILES

Building from SMILES

Turning a line of text into a three-dimensional structure, and what the builder does with stereochemistry, rings and charges.

A SMILES string describes what is bonded to what. It carries no coordinates, so the builder has to produce a geometry: it reads the graph, adds the implicit hydrogens, generates three-dimensional coordinates that satisfy the bonding, and relaxes the result with the force field.

Two ways to build one

RouteHow
The SMILES boxAt the top of the project panel. Paste, press Enter, and the structure appears. Text after the SMILES becomes its name.
File > Import from SMILESOr Ctrl+Shift+N, which opens the dialog below.
The SMILES dialog. The string is on the left and its name on the right; an invalid string is reported underneath rather than producing a structure that is quietly wrong.
The SMILES dialog. The string is on the left and its name on the right; an invalid string is reported underneath rather than producing a structure that is quietly wrong.

What the parser accepts

What the builder guarantees

PropertyWhat is done
HydrogensAdded to satisfy the standard valence of each element, taking formal charges and bond orders into account.
StereochemistryReproduced as written. Tetrahedral centres are checked by the sign of the volume they enclose, and double-bond geometry by the dihedral angle.
RingsFused, bridged and macrocyclic systems are built as closed rings rather than forced into a plane.
Aromatic systemsCome out planar, which is the first thing to check by eye.
ClashesNo two non-bonded atoms are left closer than the sum of their radii allows.
RepeatabilityThe same string gives the same geometry every time.
The builder produces one reasonable conformation, not the global minimum and not a conformer ensemble. For a geometry you intend to quote, follow it with a geometry optimisation, which is what the Setup tab is for. For a search over conformations, use Structure > Conformer Search.

Checking what you built

The summary bar reports the formula and the atom count, which is the quickest check that the string was the one you meant. The Setup tab shows the SMILES of whatever structure is active, with a Copy button, so a structure that arrived as a file can be turned back into a string.