Good morning,
I'm familiar with the atom.GetNeighbors() function to find all atoms within one bond distance of a given atom. Is there any method (either built-in or user-created) to find all atoms within n bond distances (n >= 2) of a given atom? I'm working on a method to assign relative stereochemistry (D or L) to alpha-amino acids, which (to my first estimation) depends on the atomic numbers of the sidechain atoms within the first 2 bond distances of the alpha-carbon. I'm currently iterating through the sidechain atoms after identifying the backbone heavy atoms (alpha-nitrogen, alpha-carbon, and carboxylate carbon), and am curious if there is some way to simplify this process by getting a list of atoms at progressively larger bond distances from a specific atom. Thanks for your time, any advice is welcome. -Chris
_______________________________________________ Rdkit-discuss mailing list Rdkit-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rdkit-discuss