This is a test version of Biostars. For the public version, visit https://www.biostars.org.
how to get ko definition by using KEGG API?

Hi, I have many KO IDs and I want to get these KO IDs definition by using KEGG API. But I found some examples in KEGG API official website didn't work. Is the KEGG API still available? or I use the wrong way. This is my API url (http://api.kegg.net/get/ko/K00768). Is there anyone could provide an available KEGG API url for KO ID K00768? very appreciate.

kegg

thanks, I just found a useful R package called KEGGREST. This package can help me figure out this problem. Anyway, many thanks.

3 answers

You can get all definition at http://rest.kegg.jp/list/ko

If you want to get only K00768 definition, you can use http://rest.kegg.jp/find/ko/ko:K00768

thank you, it's very easy and convenient to use this.

An example using the REST API and python: http://exploringlifedata.blogspot.fr/

not a direct answer to OP. But OP can try getting KEGG KO information from togows (web services) server. For eg for getting definition for OP mentioned KO: http://togows.org/entry/kegg-orthology/K00873/definition

thanks for give me a useful method to solve my problem

Hi fanglujing, please Upvote! any answers that have helped, and 'Accept' any answers that have solved the problem. This will allow others who are searching through the site or a search engine to know which solutions worked.

Kevin

Log in to answer this question.