Dear Abhinav, On Fri, Jun 5, 2009 at 9:48 PM, Abhinav Chawade<[email protected]> wrote: > Hello > I am a Computer Science major trying to use RDKit to build chemical > structure library using SMIRKS. I have a set of rules which I want to use to > transform chemical reaction. I used ChemDB's and Daylight's reaction > transformer. My question is can RDkit process SMIRKS? If yes what classes to > use?
The RDKit doesn't currently support SMIRKS. It uses something somewhat similar based on SMARTS that is (quasi) documented in section 2 of the RDKit book ($RDBASE/Docs/Book/RDKit_Book.pdf). The syntax looks a lot like SMIRKS and I would guess that many SMIRKS would work correctly in the RDKit. The devil is in the details here and I haven't spent enough time doing a detailed read of the SMIRKS spec to find out where the traps are. I would guess the handling of Hs is likely to be one sticky point. You could just try the experiment and see what happens. If you encounter problems or have questions, post and we can try to find solutions. -greg

