New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SetRemoveSp3Stereo(False) does not keep isotope (deuterium) induced stereochemistry #7410
Comments
@pechersky This isn't really a problem with the tautomer enumeration: it is not possible to preserve stereochemistry when you remove one of the atoms which determine the stereochemistry.
As an aside: this example, where you have a chiral center because a C has one H and one D attached, strikes me as highly artifiical. Do you have a real-world example of this? |
Without removing (and tracking) these deuteriums, then the tautomer enumeration does not shift around the explicit Hs (or Ds), thus creating, in some instances, a bad valence "canonical tautomer". This is what came up in the issue referenced above. We're working on shoring up our canonicalization-and-comparison tools, and part of them is considering isotopically induced stereochemistry (heavy atom or not). Our current approach treats all elements equally -- but this ran aground of the molecule cleanup we do before tautomer canonicalization in this D/T case. One option we might take is "we're never going to have isotopically labeled Hs on tautomeric centers so it's fine to clear them away". |
I think there's a case to be made for an enhancement request to allow the tautomer enumeration to work on molecules with Hs in the graph. That's a non-trivial change, but it is theoretically doable. But that's not this. I wonder if there's any real-world situation (i.e. something that has actually been done in the lab and not just constructed as a what if? example) where a D in place of an H makes a molecule chiral in a way that matters |
Real world situations: The chiral catalyst paper is particularly relevant because the catalysts are I stereoenumerate molecules and then pose them into 3D in pockets. Assuming that my stereoenumeration code is cognizant to generate 2 enantiomers of something like |
Describe the bug
Canonicalizing a molecule with implicit-ized isotopic Hs removes the stereo that those deuteriums might induce. The implicitization of these Hs is necessary to overcome the issue described in #5340. Perhaps @ptosco or @kienerj have comments.
To Reproduce
Expected behavior
I expect the sp3 stereo of the carbons (due to D stereo) to remain. This means all the output of the above script should be
True
.Screenshots
Configuration (please complete the following information):
pip install
from wheelAdditional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: