Smarts search in 3D or searching patterns in a sphere

Hello,
I am looking for a node that allows the detection of patterns in 3D such as the detection of intramolecular hydrogen bonds like in the figure below.
Acually, this is possible in 2D by searching for a specific SMARTS patterns but not sure this is doable in 3D.
Is this possible with rdkit or CDK or any other kit?
Thanks

image.png

Thanks,

Hi @zizoo,
I’m not aware of any node that makes functionality like this available.
There are two reasonably easy solutions using a scripting node (either Java or Python depending on which language you’re more comfortable with and which toolkit you want to use):

  1. If you have a SMARTS pattern for identifying potential hydrogen bonds which you are happy with, you could apply that to the molecule and then check the actual distances in the current conformer to see if they are compatible with an H bond.
  2. You could just look at all H - heteroatom distances and see if there are any which are significantly longer than a single bond but shorter than a van der waals contact.

I hope this helps,
-greg

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.