Dear all, I've got a question for the community about how chirality should be handled in reactions.
This morning I managed to fix one of the outstanding reaction stereochemistry problems in the RDKit: the loss of chirality when one bond to a stereocenter is to an unmapped atom. Here's a quick demo of the new behavior (not yet checked in; there are still a couple things to be cleaned up): In [7]: rxn = AllChem.ReactionFromSmarts('[C:1]-O>>[C:1]-S') In [8]: ps = rxn.RunReactants((Chem.MolFromSmiles('F[C@H](O)Cl'),)) In [9]: Chem.MolToSmiles(ps[0][0],True) Out[9]: 'F[C@H](S)Cl' It seems nice to be able to preserve chirality in these cases. The question that comes up is: "*Should* we be preserving chirality in these cases?". The change makes it impossible to indicate a reaction that scrambles stereochemistry. That doesn't seem right. So... the question to you guys: How should stereochemistry inversion/retention/loss be indicated in Reaction SMARTS? Bonus points to anyone who can explain to me how the inversion/retention flags in RXN files should be handled. At the moment the RDKit uses what's in the products and ignores them in the reactants. -greg ------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 _______________________________________________ Rdkit-discuss mailing list Rdkit-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rdkit-discuss