User dfeb81947d
05-04-2005 15:13:14
Hi all,
I try to clean some molecules (aureus_origine.sdf) using the following code:
the cleaning seems to give a bad renderer in some other viewer.
Do I need to specify the options in MoleculeGraph.clean(int, String)?
What are the format of the String to define the cleaning options.
How could I clean to change the H atoms written like [H;v1] into H (cf http://www.chemaxon.hu/forum/ftopic511.html)?
I try to clean some molecules (aureus_origine.sdf) using the following code:
Code: |
String molecule = ... ;//retrieve a molfile from String m = (new MolImporter(new MolInputStream(new ByteArrayInputStream(molecule.getBytes())))).read(); m.hydrogenize(false); m.aromatize(false); b = m.stereoClean(); m.clean(2,null); return m.toFormat("mol"); |
the cleaning seems to give a bad renderer in some other viewer.
Do I need to specify the options in MoleculeGraph.clean(int, String)?
What are the format of the String to define the cleaning options.
How could I clean to change the H atoms written like [H;v1] into H (cf http://www.chemaxon.hu/forum/ftopic511.html)?