Re: [Rdkit-discuss] Compare molecules, get matching atom indices

2021-06-09 Thread Patrick Walters
What about something like this? https://gist.github.com/PatWalters/15352d9007c33a214ac13d3dda814624 On Wed, Jun 9, 2021 at 9:28 PM Christopher Schlicksup wrote: > Hi Rdkit community, > > I have a case where I have pairs of molecules that are very similar, but > have different atom indices. I w

[Rdkit-discuss] Compare molecules, get matching atom indices

2021-06-09 Thread Christopher Schlicksup
Hi Rdkit community, I have a case where I have pairs of molecules that are very similar, but have different atom indices. I would like to figure out what is the best way to get pairs of analogous atom indices: For example, a dictionary that maps each probe atom index to a reference atom index: m