Detect sp2 hybridisation in RDKit

The default method of RDKit uses valence considerations to detect the hybridisation state of an atom, since geometries are optional for the molecular structures. While there are geometry criteria for hybridisation states, they are not implemented in rdkit. Here is an example how to use these criteria (number of bonded atoms = 3, all angles between 109 and 145 degrees in this case)

 

Leave a comment

Your email address will not be published.