On 19 May 2011 12:17, Greg Landrum <[email protected]> wrote: > On Thu, May 19, 2011 at 12:27 PM, JP <[email protected]> wrote: >> Any ideas how to calculate the number of chiral centres in a molecule? >> >> Is there a function for that? (ideally without overly complex SMARTS pattern) > > indeed: > >>> mol = Chem.MolFromSmiles('[C@H](Cl)(F)Br') > >>> FindMolChiralCenters(mol) > [(0, 'R')] > >>> mol = Chem.MolFromSmiles('[C@@H](Cl)(F)Br') > >>> FindMolChiralCenters(mol) > [(0, 'S')] > > >>> FindMolChiralCenters(Chem.MolFromSmiles('CCC')) > [] > > Note that the current version doesn't include unspecified chiral > centers; that's in the C++ but hasn't been made available in the > python yet... it's coming.
When ? When ? That is what I need :D ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Rdkit-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

