How to get lists of genes for kegg pathways
1
2
Entering edit mode
5.0 years ago
valerie ▴ 100

Hi!

Is it possible to get lists of genes for each of the existing kegg pathways? Like some kind of csv or xml file. Or maybe I can somehow get the pathways for each gene via python? I want to use the knowledge about kegg pathways for my genes in my program, but do not understand how to download this data.

Thanks!

gene kegg • 2.5k views
ADD COMMENT
0
Entering edit mode

While you may be able to get some of the data via KEGG REST interface you may violate their AUP if you try to download the entire KEGG data.

ADD REPLY
4
Entering edit mode
5.0 years ago
Haci ▴ 730

I can't offer a Python solution but here is some R code I have used in the past:

library(org.Hs.eg.db) # Genome wide annotation for Human

# org.Hs.egPATH contains Mappings between Entrez Gene identifiers and KEGG pathway identifiers
kegg_paths <- as.list(org.Hs.egPATH2EG)

kegg_path is a list, in which each element is a human kegg pathway. For each of these elements, kegg identifiers are used as "names". You can convert this R list to a Python dictionary using an intermediate JSON file; rpy2 is another option to do so.

ADD COMMENT
0
Entering edit mode

Haci, thank you! Could you please also tell me how to get the information about corresponding pathway and gene names for the id's?

ADD REPLY

Login before adding your answer.

Traffic: 1554 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6