To close the loop on this: the bug fix is now merged onto master. The ring
stereochemistry code now handles spiro centers.
Here's the little demo of that:

In [2]: print(Chem.CanonSmiles('O[C@H]1CC[C@]11CC[C@@](Cl)(Br)CC1'))
O[C@H]1CC[C@]12CC[C@@](Cl)(Br)CC2

Unlike previously (see the bug report) the stereochemistry info is no
longer being lost.

Since the stereochem info is still there it will be used in the conformer
generation/filtering.

-greg



On Wed, Feb 8, 2017 at 4:45 AM, Greg Landrum <greg.land...@gmail.com> wrote:

> Hi James,
>
> This is definitely a bug. The problem seems to be connected to the way
> what the RDKit calls "ring stereochemistry" is handled when there are spiro
> linkages.
>
> Here's the github issue: https://github.com/rdkit/rdkit/issues/1294
>
> I'll take a look.
>
> Best,
> -greg
>
>
>
> On Tue, Feb 7, 2017 at 8:32 PM, James Davidson <j.david...@vernalis.com>
> wrote:
>
>> Dear All,
>>
>>
>>
>> I have hit what I think is a problem with stereochemistry
>> perception/handling for certain types of pseudochiral and/or spirocyclic
>> systems.
>>
>> Basically I am observing that some types of input tetrahedral
>> stereochemical information gets lost when an RDKit molecule is generated.
>>
>> But I only realised this because I was wanting to generate conformers and
>> was seeing stereochemical scrambling…
>>
>>
>>
>> Anyway, an example with pictures will probably explain things better:
>>
>> https://gist.github.com/jepdavidson/fdfbf6366a17f4829de3d4de22f3b442
>>
>>
>>
>> Any help/advice appreciated.
>>
>>
>>
>> Kind regards
>>
>>
>>
>> James
>>
>> ______________________________________________________________________
>> PLEASE READ: This email is confidential and may be privileged. It is
>> intended for the named addressee(s) only and access to it by anyone else is
>> unauthorised. If you are not an addressee, any disclosure or copying of the
>> contents of this email or any action taken (or not taken) in reliance on it
>> is unauthorised and may be unlawful. If you have received this email in
>> error, please notify the sender or postmas...@vernalis.com. Email is not
>> a secure method of communication and the Company cannot accept
>> responsibility for the accuracy or completeness of this message or any
>> attachment(s). Please check this email for virus infection for which the
>> Company accepts no responsibility. If verification of this email is sought
>> then please request a hard copy. Unless otherwise stated, any views or
>> opinions presented are solely those of the author and do not represent
>> those of the Company.
>>
>> The Vernalis Group of Companies
>> 100 Berkshire Place
>> Wharfedale Road
>> Winnersh, Berkshire
>> RG41 5RD, England
>> Tel: +44 (0)118 938 0000 <+44%20118%20938%200000>
>>
>> To access trading company registration and address details, please go to
>> the Vernalis website at www.vernalis.com and click on the "Company
>> address and registration details" link at the bottom of the page..
>> ______________________________________________________________________
>>
>> ------------------------------------------------------------
>> ------------------
>> 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
>>
>>
>
------------------------------------------------------------------------------
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