Hi,
I took a molecule and a reaction pattern from
Guasch, Laura, Markus Sitzmann, and Marc C. Nicklaus. 2014. “Enumeration of
Ring-Chain Tautomers Based on SMIRKS Rules.” *Journal of Chemical
Information and Modeling* 54 (9): 2423–32.
CODE:
TestMol = 'c1cccc(O)c1C(=O)CC(=O)' # (C)C(O)C(N)C(=C)C(=N)C(=O)O'
rx =
AllChem.ReactionFromSmarts('[O,N,S,Se,Te:2]=[C;!R:3][!R:4]~[!R:7]~[R{0-1}:8]~'
'[R{0-1}:6][O,N,S,Se,Te;!R:5][#1:1]>>[#1:1][O,N,S,Se,Te:2]'
'[#6R1;!c:3]1[*;R1:4]~[*;R1:7]~[*:8]~[R:6][O,N,S,Se,Te;R1:5]1')
rx.GetNumProductTemplates()
tmp = rxn.RunReactants((TestMol,))
RESULT:
ValueError: ChemicalReactionParserException: Problems constructing
reactant from SMARTS:
[O,N,S,Se,Te:2]=[C;!R:3][!R:4]~[!R:7]~[R{0-1}:8]~[R{0-1}:6][O,N,S,Se,Te;!R:5][#1:1]
Any idea what goes wrong? Is there something wrong with the string?
RDKit : 2015.03.1
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss