User da00f5c453
20-11-2007 23:55:35
Hi everyone,
I am trying to build a custom query application, I am starting with a query molecule determine it SSSR and I want to use the determined SSSR to query a list of structures. What is the best way to extract a molcular fragment from a Molecule object if I have the atom ids from getSSSR() function.
my code to get the SSSR is:
Molecule mol = MolImporter.importMol("CC(C)N1C=CC2=CC=CC=C12");
mol.aromatize();
int[][] rings = mol.getSSSR();
now I want to use the ring system as molecular query. I looked in the API and couldn't find the best way to do it.
Oleg.
I am trying to build a custom query application, I am starting with a query molecule determine it SSSR and I want to use the determined SSSR to query a list of structures. What is the best way to extract a molcular fragment from a Molecule object if I have the atom ids from getSSSR() function.
my code to get the SSSR is:
Molecule mol = MolImporter.importMol("CC(C)N1C=CC2=CC=CC=C12");
mol.aromatize();
int[][] rings = mol.getSSSR();
now I want to use the ring system as molecular query. I looked in the API and couldn't find the best way to do it.
Oleg.