Dear Yingfeng,
The problem is the way the aromatic hetero cycles are encoded. They don't fit
the aromaticity model RDKit is using.
For example that works with RDKit by default:
c1c[nH]cc1
But this does not:
c1cncc1
Try the sanifix4.py routine from James Davidson with your smiles.
http://www.rdkit.org/docs/Cookbook.html
It will fix the problem.
Best,
Markus
On 12/19/2013 09:59 PM, Yingfeng Wang wrote:
The original compound is
CCCc1nc2ccc(Cl)nc2n1-c1ccc(-c2ccc(-c3ccccc3Cc3nn[n-]n3)cc2)cc1
I used the code at the following link
http://code.google.com/p/rdkit/wiki/NeutralisingCompounds
, and got the neutralized compound
CCCc1nc2ccc(Cl)nc2n1-c1ccc(-c2ccc(-c3ccccc3Cc3nnnn3)cc2)cc1
But it has a problem,
mol =
Chem.MolFromSmiles("CCCc1nc2ccc(Cl)nc2n1-c1ccc(-c2ccc(-c3ccccc3Cc3nnnn3)cc2)cc1")
[15:53:43] Can't kekulize mol
Could you please help me to check whether there is a workaround?
Thanks.
Yingfeng
The information contained in this transmission may contain privileged and
confidential information, including patient information protected by federal
and state privacy laws. It is intended only for the use of the person(s) named
above. If you are not the intended recipient, you are hereby notified that any
review, dissemination, distribution, or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact the
sender by reply email and destroy all copies of the original message.
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net<mailto:Rdkit-discuss@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
The information contained in this transmission may contain privileged and
confidential information, including patient information protected by federal
and state privacy laws. It is intended only for the use of the person(s) named
above. If you are not the intended recipient, you are hereby notified that any
review, dissemination, distribution, or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact the
sender by reply email and destroy all copies of the original message.
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss