On Tue, Jun 3, 2008 at 9:26 AM, Robert Stones <[EMAIL PROTECTED]> wrote:
> Using CDK are there methods for generating a SMILES from a structural
> formula string

Like a deterministic structure generator?

> and calculate the mass from the structural formula.

IMoleculeFormula formula =
MolecularFormulaManipulator.getMajorIsotopeMolecularFormula("CH4",
DefaultChemObjectBuilder.getInstance());
double monoisotopicMass =
MolecularFormulaManipulator.getTotalExactMass(formula);

Egon

-- 
----
http://chem-bla-ics.blogspot.com/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Cdk-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdk-user

Reply via email to