Dear Egon
I'm sorry but this code, with the code that you suggested, returns the
same output (C1CCCCC1):
>
>> try{
>>
>> //create molecule parsing the smile
>> SmilesParser sp = new
>> SmilesParser(DefaultChemObjectBuilder.getInstance());
>> IChemObjectBuilder builder = DefaultChemObjectBuilder.getInstance();
>> IMolecule m = builder.newMolecule( sp.parseSmiles("c1ccccc1"));
>>
>> //aromaticity
>> AtomContainerManipulator.percieveAtomTypesAndConfigerAtoms(m);
>> CDKHueckelAromaticityDetector.detectAromaticity(m);
>>
>
> DeduceBondSystemTool dbst = new DeduceBondSystemTool();
> molecule = dbst.fixAromaticBondOrders(molecule);
>
>
>> //generation of new fingerprint
>> SmilesGenerator sg = new SmilesGenerator();
>>
>> System.out.print(sg.createSMILES(m));
>>
>> }
>>
>> catch (Exception e){
>> e.printStackTrace();
>> }
>>
Thanks for you patience.
Gianfranco
--
Gianfranco Frau
CRS4 - Bioinformatics
Phone +39 070 9250 438
Loc. Pixina Manna Edificio 1 Pula 09010 (CA), Italy
http://www.bioinformatica.crs4.org
msn contact: [EMAIL PROTECTED]
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Cdk-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdk-user