Enhanced stereochemistry in InChI

A wedge says how a centre is drawn. A label says what is in the bottle. This page shows how the labels abs, or and & on a drawing become an InChI.

One drawing of 3-chlorobutan-2-ol, three different samples. With enhanced stereochemistry each one gets its own InChI:

Standard InChI treats every wedge as known and gives all three /t3-,4-/m1/s1.

The three labels

Every stereocentre carries one label. Centres with the same label and number form a group and change together.

1

abs

Absolute. The sample is exactly what is drawn.

A wedged centre with no label counts as abs too.

2

or1, or2, …

One stereoisomer: what is drawn or the group inverted. Nobody knows which.

Drawn as separate dashed vials: the sample is one of them.

3

&1, &2, …

A mixture: what is drawn and the group inverted, 1:1.

Drawn as one vial holding both.

The digit on the right is what InChI writes for that class in its /s layer.

From drawing to InChI, step by step

Example: 3-chlorobutan-2-ol, C2 labelled abs, C3 labelled &1. The sample is (2R,3R) mixed with (2R,3S).

  1. You draw and label

    Wedges give each centre a configuration. Labels say how much of it is known. The structure editor stores the labels in the V3000 molfile as STEABS (abs), STERELn (orn) and STERACn (&n).

    Only V3000 files carry labels. A V2000 file gives a standard InChI.

  2. InChI checks the labels

    • Each centre has at most one label.
    • There is at most one abs group.
    • Each group number is used once.
    • An or or & group stays within one molecule (see below).

    If any check fails, InChI warns and drops all labels. The result is then the standard InChI, never a guess.

  3. InChI numbers the atoms

    InChI gives every atom a canonical number (grey). It is the same for every drawing of the molecule. Here C3 is 3 and C2 is 4. All later steps use these numbers.

    Labels on atoms that are not stereocentres are ignored.

    246315
  4. InChI sorts the centres into groups

    groupcentrescontains
    absolute set4 (C2)every abs centre plus every wedged centre without a label
    &13 (C3)the centres labelled &1
  5. InChI flips each group so its lowest centre reads −

    From the drawing, each centre gets a sign, + or −. (The sign is InChI's parity. It is not R/S, although here + happens to be R.) The drawing gives 3+ and 4+.

    In each group, look at the lowest-numbered centre. If it is +, flip every sign in that group. Flipping an or or & group changes nothing chemically: the group stands for both configurations anyway. Flipping the absolute set does change the molecule, so InChI notes the flip in /m.

    groupcentreas drawnwrittenremembered in /m
    &13+flip−nothing
    absolute set4+flip−/m1 (flipped)

    No flip of the absolute set gives /m0. No absolute set at all gives no /m.

  6. InChI writes the stereo layers

    InChI=1B/C4H9ClO/c1-3(5)4(2)6/h3-4,6H,1-2H3/t3-,4-/m1/s1(4)3(3)
    /t3-,4-
    the sign of each centre, in canonical order
    /m1
    the absolute set was flipped: the real molecule is the mirror image of /t at its absolute centres
    /s
    the class of each group: 1(4) centre 4 is absolute, 3(3) centre 3 is racemic

    The prefix InChI=1B marks the string as enhanced (beta), so it is never mistaken for a standard InChI.

  7. Check: draw the other member of the mixture

    Draw C3 the other way, (2R,3S). The &1 group now starts at 3−: no flip. C2 is unchanged: flip, /m1. Same sample, same InChI:

    /t3-,4-/m1/s1(4)3(3)

Rules at a glance

Classes become digits

In /s: 1 abs, 2 or, 3 &. Each group lists its centres in brackets.

/s1(4)3(3)

Several groups of one class

The digit is written once, followed by each group in brackets, ordered by their lowest centre.

/s2(3)(4)

One group covers everything: bare digit

All centres abs, or all in one or group, or all in one & group: only the digit. Identical to standard InChI with no option, -SRel or -SRac.

/s2

Unlabelled wedge means absolute

A wedged centre without a label joins the abs centres. It keeps /m and keeps groups beside it in brackets.

/m1/s3(4)

Lowest centre reads −

Each group is flipped as a whole until its lowest-numbered centre is −. So every drawing of the same sample gives the same string.

/m only with something absolute

If no centre is absolute, there is no /m. /m1 means the absolute set was flipped, /m0 that it was not.

/t3-,4-/s3

Only stereocentres count

A label on a CH₃, CH₂ or a non-stereogenic atom is ignored.

Bad labels are dropped, not guessed

A centre in two groups, two abs groups, or a group across two molecules: InChI warns and returns the standard InChI with prefix 1B.

Every row uses the same (2R,3R) drawing. Only the labels change. The vials show what the sample contains. Strings are shown from /t on; the part before is the same everywhere.

1 C2 abs C3 abs

Pure (2R,3R). Both centres known.

(2R,3R)
Enhanced InChI
/t3-,4-/m1/s1
Standard InChI
/t3-,4-/m1/s1
2 C2 or1 C3 or1

One enantiomer, unknown which. The relative configuration is known.

(2R,3R)
or
(2S,3S)
Enhanced InChI
/t3-,4-/s2
Standard InChI
/t3-,4-/m1/s1 cannot tell this sample apart
3 C2 &1 C3 &1

The racemate: both enantiomers, 1:1.

(2R,3R)
+
(2S,3S)
Enhanced InChI
/t3-,4-/s3
Standard InChI
/t3-,4-/m1/s1 cannot tell this sample apart
4 C2 abs C3 &1

C2 is known (R); C3 is a mixture of both epimers.

(2R,3R)
+
(2R,3S)
Enhanced InChI
/t3-,4-/m1/s1(4)3(3)
Standard InChI
/t3-,4-/m1/s1 cannot tell this sample apart
5 C2 abs C3 or1

C2 is known (R); C3 is one configuration, unknown which.

(2R,3R)
or
(2R,3S)
Enhanced InChI
/t3-,4-/m1/s1(4)2(3)
Standard InChI
/t3-,4-/m1/s1 cannot tell this sample apart
6 C2 or1 C3 or2

Any one of the four stereoisomers. Each centre unknown on its own.

(2R,3R)
or
(2S,3S)
or
(2R,3S)
or
(2S,3R)
Enhanced InChI
/t3-,4-/s2(3)(4)
Standard InChI
/t3-,4-/m1/s1 cannot tell this sample apart
7 C2 &1 C3 &2

All four stereoisomers. Each centre racemic on its own.

(2R,3R)
+
(2S,3S)
+
(2R,3S)
+
(2S,3R)
Enhanced InChI
/t3-,4-/s3(3)(4)
Standard InChI
/t3-,4-/m1/s1 cannot tell this sample apart
8 C2 &1 C3 none

C3 is known (R, wedged, no label); C2 is racemic.

(2R,3R)
+
(2S,3R)
Enhanced InChI
/t3-,4-/m1/s3(4)
Standard InChI
/t3-,4-/m1/s1 cannot tell this sample apart

Several molecules in one record

A salt, a solvate or a mixture has one InChI with one slot per molecule, separated by ;. Each molecule has its own groups and its own /m digit. A . in /m means "nothing absolute here".

256431245311

(R)-Pentan-2-ol, wedged, no label; butan-2-ol labelled &1 (racemic); water.

/t5-;4-;/m1../s;3;
pentan-2-olbutan-2-olwater
/t5-4-none
/m1..
/sabs3none

An empty /s slot beside a molecule with stereo means absolute.

What InChI ignores or rejects

A group across two molecules

One &1 over both alcohols would say "the (R,R) and (S,S) pairs". That links two separate molecules, which one-slot-per-molecule cannot express.

Warning (V3000 collections: STERAC1 spans more than one component).
All labels dropped; result is the standard InChI: /t5-;4-/m10/s1
246315

A label on a non-stereocentre

The file's &1 group also lists the CH₃ (canonical 1) beside C3. That atom has no configuration, so it is left out. The result equals the example above:

/t3-,4-/m1/s1(4)3(3)

When a label changes nothing: meso compounds

trans-Cyclohexane-1,4-diol has a mirror plane through C1, C4 and both OH groups. Its mirror image is the same molecule. So &1 means "a 1:1 mixture of this molecule and itself", and or1 means "this molecule or itself". Both say nothing beyond the drawing, so InChI ignores them.

86215734
no label
/t5-,6-
&1 on both centres
/t5-,6-
or1 on both centres
/t5-,6-

The rule: a group is ignored when it holds every stereocentre of a meso molecule. One group per centre is different: flipping one centre turns trans into cis, a different molecule, so those groups stay.

12935101376811142

Not yet handled: a meso part inside a chiral molecule

The side-chain centre makes this molecule chiral. The two ring centres only fix trans: flipping both keeps the ring trans. So &1 on the ring says nothing, and the InChI should be the unlabelled one, /t8-,9-,10-/m1/s1.

Current result: /t8-,9-,10-/m1/s3(9,10)
InChI only checks whether mirroring the whole molecule changes it. Checking a part needs a symmetry search inside InChI's core; this is an open issue.

Reading a real string

The example from the BIOVIA white paper on enhanced stereochemistry uses every class, with two or groups and two & groups. Grey numbers are canonical.

2217746131421121610112019251524262918232195272838
/t13-,14-,15-,17-,18-,21-,23+/m1/s1(15)2(13,14)(21,23)3(17)(18)
/s partmeaningcentres
1(15)absolute15
2(13,14)or: one of two, unknown which13, 14
2(21,23)or: one of two, unknown which21, 23
3(17)and: mixture of both17
3(18)and: mixture of both18

/m1 is present because centre 15 is absolute.

How to use it

Input. A V3000 molfile with stereo collections: STEABS (abs), STERELn (orn), STERACn (&n). Editors and toolkits write them when you set the labels; the datasets of this spec hold such files from BIOVIA, Ketcher, Indigo, RDKit, OpenChemLib and CDPKit. RDKit also writes them from CXSMILES like C[C@H](O)CC |&1:1|.

Command line. Add -EnhancedStereochemistry. The racemate from the gallery:

$ inchi-1 racemate.mol -STDIO -AuxNone -Key -EnhancedStereochemistry
InChI=1B/C4H9ClO/c1-3(5)4(2)6/h3-4,6H,1-2H3/t3-,4-/s3
InChIKey=XKEHIUIIEXXHJX-APQYWOSTBA-N

Without the option InChI ignores the labels and reads the wedges as absolute:

$ inchi-1 racemate.mol -STDIO -AuxNone -Key
InChI=1S/C4H9ClO/c1-3(5)4(2)6/h3-4,6H,1-2H3/t3-,4-/m1/s1
InChIKey=XKEHIUIIEXXHJX-QWWZWVQMSA-N

From a program, pass the option to the InChI library like any other, e.g. MakeINCHIFromMolfileText(molfile, "-EnhancedStereochemistry", &output) or in the options string of GetINCHI. The InChI starts with InChI=1B/: a beta feature, so the format can still change.