On Thursday 01 February 2007, Robert Stones wrote:
> c1cc(ccc1C(O)=O)N
> c1cc(ccc1C(O)=O)NC(C)=O
>
> c1cc(ccc1C(O)=O)N is common to both using
> UniversalIsomorphismTester.getSubgraphMaps(molA, molB);
>
> but I need to also get return the none matching substructure namely C(C)=O
There is not a method to substract the MCSS from a IAtomContainer, but a loop
should do. Along the lines of (in Java5):
Iterator<IAtom> atoms = mcss.atoms();
while (atoms.hasNext()) {
molB.removeAtomAndConnectedElectronContainers(atoms.next());
}
Egon
--
[EMAIL PROTECTED]
Cologne University Bioinformatics Center (CUBIC)
Blog: http://chem-bla-ics.blogspot.com/
GPG: 1024D/D6336BA6
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cdk-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdk-user