5
$\begingroup$

I was reading the KEGG plea and I found that it doesn't forbid using the KEGG API. Then, what is in the FTP server license for personal use/academic use that it is not covered by the API?

Or I could download all the database via the API?

PS: I couldn't find how to download which genes are in which pathways but it might be I didn't expend enough time with the queries.

$\endgroup$

3 Answers 3

2
$\begingroup$

I found the way to download the genes and pathways thanks to this answer using KEGGREST.

It seems that the API allows to fully download the database because it allows to download info, list, find, get, conv, link, ddi.

In fact in the message of 2011-05-21 it mentions that the API includes more options to download the KGML files that previously where only possible to get via the FTP site.

$\endgroup$
1
$\begingroup$

If you like to get pathways and corresponding genes as simple table format in a plain text file, use GeneSCF 'prepare_database' module. This can be simple solution.

FTP vs API:

The differences I see is,

  • quick access to the updated content via FTP. With that I assume using FTP version you will have access to weekly database updates. Also bulk download is possible and more convenient via FTP subscription.

  • But KEGG REST API updates once in month or two months or a year (not a recently updated contents).

$\endgroup$
8
  • $\begingroup$ Thanks for your reply, and welcome to the site! That's the kind of information I use but not what I was asking about. But GeneSCF assumes it can access the whole KEGG database via API. Could you confirm it? $\endgroup$
    – llrs
    Commented Jun 14, 2018 at 14:32
  • $\begingroup$ It uses KEGG REST (kegg.jp/kegg/rest/keggapi.html) to access data only for specified organism. It never stores or reterives whole KEGG database. Check out [GeneSCF publication] (bmcbioinformatics.biomedcentral.com/articles/10.1186/…) for complete details of workflow. $\endgroup$
    – EagleEye
    Commented Jun 14, 2018 at 14:38
  • $\begingroup$ I've read the relevant parts of it and it didn't answer my question. $\endgroup$
    – llrs
    Commented Jun 14, 2018 at 14:43
  • $\begingroup$ Sorry if that did not answer your question. I thought I answered "PS: I couldn't find how to download which genes are in which pathways but it might be I didn't expend enough time with the queries." this part. Good luck. $\endgroup$
    – EagleEye
    Commented Jun 14, 2018 at 14:47
  • $\begingroup$ Oh, that got already answered in the other answer. Thanks, and my apologies $\endgroup$
    – llrs
    Commented Jun 14, 2018 at 14:55
-1
$\begingroup$

We implemented Bio2BEL KEGG package to download the KEGG database via its RESTful API

$\endgroup$
1
  • $\begingroup$ Welcome to the site Daniel. Thanks for sharing! I was reading the ComPath article precisely now. But I was not asking if it is possible to download data, but if it is possible to download all the database via the API, which apparently it is possible. $\endgroup$
    – llrs
    Commented Jun 21, 2018 at 18:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.