An implementation of a Spectral Clustering method as developed by Mark Brewer at Evotec, and described in J. Chem. Inf. Model., 47 (5), 1727 -1733, 2007.
The cool thing about this method is that molecules are not restricted to be members of a single cluster - thus it can be used to find "series" where a single molecule may belong to multiple series. See the paper for more information.
Thanks to Mark for help valdiating the protocol.
Any questions/suggestions please let me know. For instance I'm interested in implementing a Lanczos type method so as to extract the most significant clusters for much larger data sets.
Noj (nmalcolm@accelrys.com)
**********Warning**********
The original version of this protocol had the fingerprint method hardwired. The current version [as of 23rd April] has been corrected. Apologies to the 2 people who have downloaded the protocols!
**************************
The cool thing about this method is that molecules are not restricted to be members of a single cluster - thus it can be used to find "series" where a single molecule may belong to multiple series. See the paper for more information.
Thanks to Mark for help valdiating the protocol.
Any questions/suggestions please let me know. For instance I'm interested in implementing a Lanczos type method so as to extract the most significant clusters for much larger data sets.
Noj (nmalcolm@accelrys.com)
**********Warning**********
The original version of this protocol had the fingerprint method hardwired. The current version [as of 23rd April] has been corrected. Apologies to the 2 people who have downloaded the protocols!
**************************

Thank you for implementing Brewer's spectral clustering method. Quite interesting.
I would encourage you to implement the Lanzos-type clustering also.
Regards,
Jim Metz
Abbott Laboratories
James.Metz@Abbott.com
Noj,
Do you have any idea about the limitations of the protocol since
a key step involves eigenvector / eigenvalue calculations i.e., Can I cluster 1,000
molecules? What about 10,000 molecules? What about corporate collections (~ 1M
molecules)?
Also, probably a dumb question, but does the spectral clustering method
find centroids of a cluster?
**************************************
Jim,
I guess the answer is "How long do you have to wait?". It is some time since I worked heavily with eigenproblems (~10 years) and computers as certainly much faster than back then.
I would imagine that the full solution for 1000 cmpds would be manageable (I've not tried it however, but I will try to put together some benchmark examples once I get my new machine later this month). 10K maybe pushing the limits of the R eigensolver (which I use). 1M would definitely be a struggle. The Krylov sub-space methods should give a way to at least begin to address these size of problems.
The way I would see things at the moment, would be instead of trying to cluster an entire corporate collection, this would be used as a post HTS tool. So just cluster the identified "hits" and see if there are any interesting chemical series falling out.
There aren't really any properly defined centroids for this method, but the eigenvector weights should give you information about which compounds make the strongest contribution to a cluster. This is why I include the threshold, to try to show those significant compounds, and sort the results with respect to this, when doing the individual cluster viewing.
**************************************
Noj,
Regarding eigenvector / eigenvalue / clustering - time is certainly one factor, but
I would also be concerned about memory. Memory is certainly an issue on 32 bit servers.
This is likely to be much less of a problem with 64 bit servers, but I suspect that technology
will not be common for a few years yet.
Can spectral clustering be completed on a PP server with 4 GB memory on a set
of 10, 000 compounds in say 2-3 days or less? I think a few days might be OK, but
certainly not much more than that, as the server may be rebooted or there might be
other problems such as networks going up/down, etc.
Also, what about R? Is R dimensioned such that the eigenvector/eigenvalue
calculations are limited to matrices of a particular size or smaller?
Using spectral clustering as an HTS analysis tool might be one usage, but I might
envision using such a tool to look at vendor catalogues (10's of thousands of compounds)
versus our corporate collection of compounds.
I'm pretty sure that the Lanczos/Krylov method could be put together using components from R, though I have little experience of using R, so I'm not too sure how well it scales. Obviously this just needs me to find a bit more spare time (and the veg. garden needs more attention now than when I first put this protocol together!)
Hi Noj,
Quote from Jim: "Using spectral clustering as an HTS analysis tool might be one usage, but I might
envision using such a tool to look at vendor catalogues (10's of thousands of compounds)
versus our corporate collection of compounds."
I have the same interest as Jim, which is looking into vendor catalogues and compare their chemical compound collections to those of ours.
In Pipeline Pilot, are there any components that can nicely display compound clustering in chemical space?
In this way, I hope I can determine which compound selections would most expand the diversity in our chemical libraries.
For instance, the figure 3 of the following paper is something I'm looking for:
Rational methods for the selection of diverse screening compounds
http://pubs.acs.org/doi/abs/10.1021/cb100420r
Thank you for your consideration.
Best,
Keita