Re: [Rdkit-discuss] Chirality conservation during atom replacement

2016-06-22 Thread Brian Kelley
Christian, I believe this was a bug fix where smarts chirality wasn't respected with dummy atoms. We fixed this during an investigation about r-group decomposition, basically stereo cores were behaving oddly. Brian Kelley > On Jun 22, 2016, at 10:30 AM, Kramer, Christian > wrote: > >

Re: [Rdkit-discuss] Chirality conservation during atom replacement

2016-06-22 Thread Kramer, Christian
Hi Andrew and Greg, thanks a lot for the quick replies. I tested Greg's suggested solution, and it works ... but only with the RDKit version 2016.03.1. With Version 2015.09.2, I still get the wrong stereochemistry after fragmentation (maybe relevant for people working with older versions). Bests

Re: [Rdkit-discuss] Chirality conservation during atom replacement

2016-06-21 Thread Andrew Dalke
On Jun 21, 2016, at 5:26 PM, Greg Landrum wrote: > Because chirality is represented relative to the ordering of the bonds around > an atom, it's pretty difficult to do this if you want to actually break and > add bonds on your own. This would probably be somewhat easier if there were > an RWMol.

Re: [Rdkit-discuss] Chirality conservation during atom replacement

2016-06-21 Thread Greg Landrum
Boy is the list busy today. I love it! :-) Because chirality is represented relative to the ordering of the bonds around an atom, it's pretty difficult to do this if you want to actually break and add bonds on your own. This would probably be somewhat easier if there were an RWMol.ReplaceBond() me

[Rdkit-discuss] Chirality conservation during atom replacement

2016-06-21 Thread Kramer, Christian
Hi RDKitters, I am having trouble with chirality conservation during fragmentation of molecules. Is there a simple way of preserving chirality during splits on chiral atoms? Am I missing a simple function? Andrew has brought this topic has come up on the mailing list before, but so far there has n