Pages

Saturday, February 25, 2006

Hacking InChI support into postgenomic.com

Earlier I reported about postgenomic.com, and needed some diversion from my manuscript work (could no longer think straight about the article I'm working on). So time for some reading up on new technologies. Timing was perfect, because the source code of postgenomic.com got just uploaded to SourceForge SVN.

Though the author marks it as not-well-documented and alpha, I was quite happy to see a clear modularisation, and good enough docs to get me started with InChI support: if it can do mining for papers on DOIs, then it can do mining for InChI's too. Here's the result:


It does not show which blog items cite this compound, not does it extract some molecular info from PubChem, but I'm happy with the result of four hours of hacking. BTW, the first two InChI's are left overs from bad regular expressions :)