Re: [Rdkit-discuss] Chemical formula
Open-Source Cheminformatics and Machine Learning
Brought to you by:
glandrum
|
From: Alexey C. <che...@gm...> - 2014-06-13 08:49:56
|
Thanks, Adrian. Won’t I reinvent the wheel if I’ll parse the formula to get a dict (element->count)? On Jun 13, 2014, at 10:43 , Adrian Jasiński <jas...@gm...> wrote: > http://www.rdkit.org/Python_Docs/rdkit.Chem.rdMolDescriptors-module.html#CalcMolFormula > > from rdkit.Chem.rdMolDescriptors import CalcMolFormula > formula = CalcMolFormula(Chem.MolFromSmiles("CCCOC")) > > pozdrawiam > Adrian > > > 2014-06-13 10:20 GMT+02:00 Alexey Chernobrovkin <che...@gm...>: > Hi all, > > Sorry for stupid question… But what is the simplest way to get chemical formula of a molecule using rdkit? > > Cheers, > Alex > ------------------------------------------------------------------------------ > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions > Find What Matters Most in Your Big Data with HPCC Systems > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. > Leverages Graph Analysis for Fast Processing & Easy Data Exploration > http://p.sf.net/sfu/hpccsystems > _______________________________________________ > Rdkit-discuss mailing list > Rdk...@li... > https://lists.sourceforge.net/lists/listinfo/rdkit-discuss > |