Dear All,

 

One of my colleagues has been trying to use the RDKit to process some
intramolecular reactions (ring-closing metatheses).  It seems, however,
that what Daylight would refer to as "zero-level parentheses" are not
supported in RDKit reaction SMARTS(?)

 

------------------------------------------------------------------------
---

ValueError                                Traceback (most recent call
last)

C:\Users\j.davidson\<ipython-input-5-054bfc0441df> in <module>()

      1 from rdkit import Chem

      2 from rdkit.Chem import AllChem, Draw

----> 3 rxn1 =
AllChem.ReactionFromSmarts("([C:1]=[C;H2].[C:2]=[C;H2])>>[*:1]=[*:2]")

      4 rxn1

      5 

 

ValueError: ChemicalReactionParserException: Problems constructing
reactant from SMARTS: ([C:1]=[C;H2]

 

 

To explain a little further by example (from the Daylight manual) - here
is how intra-molecular vs inter-molecular reactions can be specified /
distinguished with zero-level parentheses:

 

C(=O)O.OCC>>C(=O)OCC.O          Matches esterifications

(C(=O)O).(OCC)>>C(=O)OCC.O     Matches intermolecular esterifications

(C(=O)O.OCC)>>C(=O)OCC.O       Matches intramolecular esterifications
(lactonizations)

 

 

Is there a workaround to this, and if not is this reaction behaviour
something that should be added in the future?

 

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 [email protected]. 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

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..
______________________________________________________________________
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to