Thanks alot ! That did it !
I'm trying to do some data mining, and would like to programmatically retrieve all the enzyme numbers (EC numbers) for a given KEGG pathway. To do this I would like to use the REST API as the old SOAP API is going to be discontinued in less than six months.
Take for instance the Fluorobenzoate degradation patheay. Ideally the input to my function would be the following text: map00364.
And the output would consists of all EC numbers:
1.14.12.10
3.5.5.6
5.5.1.7
6.2.1.33
[...]
The documentation is not very helpful at describing how this is done... It's hard to guess what is the correct URL to write. I would have thought of something like http://rest.kegg.jp/find/pathway/map00362/enzymes but this doesn't give anything. Does anyone here know ? Any help greatly appreciated !
1 answer
I have not spend a lot of time with the REST API, but you should use the "link" attribute to convert between pathway and EC numbers: http://rest.kegg.jp/link/enzyme/pathway:map00364 seems to work for me.
It returns:
path:map00364 ec:1.13.11.1
path:map00364 ec:1.14.12.-
path:map00364 ec:1.14.12.10 ...etc
Log in to answer this question.