Skip to content

Implementation of enhanced stereochemistry#185

Merged
cm-beilstein merged 52 commits intodevfrom
enh_stereo
Feb 19, 2026
Merged

Implementation of enhanced stereochemistry#185
cm-beilstein merged 52 commits intodevfrom
enh_stereo

Conversation

@cm-beilstein
Copy link
Collaborator

@cm-beilstein cm-beilstein commented Dec 19, 2025

This pull request is related to issue #172, the implementation of enhanced stereochemistry. For this the InChI is supposed to be extended, so that the absolute, relative and racemic configurations, together with their corresponding atom number information, are shown in the InChI. Furthermore, the /t-layer, /m-layer and /s-layer have to be adjusted accordingly. E.g.:

Current InChI=1S/C7H14BrClO/c1-5(9)3-7(8)4-6(2)10/h5-7,10H,3-4H2,1-2H3/t5-,6+,7-/m1/s1
Expected InChI=1S/C7H14BrClO/c1-5(9)3-7(8)4-6(2)10/h5-7,10H,3-4H2,1-2H3/t5-,6-,7-/m1/s1(5)2(7)3(6)

If available, the necessary information about the atom information and their relation to the configuration can be pulled from a MOL v3 file:

M V30 BEGIN COLLECTION
M V30 MDLV30/STEABS ATOMS=(2 16 17)
M V30 MDLV30/STEREL2 ATOMS=(1 5)
M V30 MDLV30/STEREL1 ATOMS=(2 7 6)
M V30 MDLV30/STERAC2 ATOMS=(2 15 14)
M V30 MDLV30/STERAC1 ATOMS=(1 18)
M V30 END COLLECTION

This extension uses the proposal created on 20-07-2022 by the InChI Extended Stereochemistry task group as reference.

@cm-beilstein cm-beilstein self-assigned this Dec 19, 2025
@cm-beilstein cm-beilstein added enhancement New feature or request feature labels Dec 19, 2025
@cm-beilstein cm-beilstein linked an issue Dec 19, 2025 that may be closed by this pull request
@cm-beilstein cm-beilstein marked this pull request as draft December 19, 2025 10:13
Copy link
Collaborator

@fbaensch-beilstein fbaensch-beilstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a few comments before starting this review.

@JanCBrammer JanCBrammer force-pushed the dev branch 5 times, most recently from d339ef5 to 11a8798 Compare February 17, 2026 12:13
@cm-beilstein cm-beilstein marked this pull request as ready for review February 19, 2026 09:38
@cm-beilstein cm-beilstein merged commit a07d46b into dev Feb 19, 2026
6 of 7 checks passed
@cm-beilstein cm-beilstein deleted the enh_stereo branch February 19, 2026 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implementation of enhanced stereochemistry

3 participants