I want to implement the following algorithm using RDkit

- given an atom
- break the bonds between this atom and its neighbor(s)
- create new mol types/variables from the neighboring fragments

example: R1-C-R2

- given atom C
- return two mol types/variables R1 and R2 (not C)

How can I achieve this? I tried rdmolops.FragmentOnBonds() but this creates the 
all fragments in the same mol variable.

Kind regards,
-Ling
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to