Question: Extracting List Of Genes Associated With A Pathway In Kegg
gravatar for Dataminer
6.8 years ago by
Dataminer2.6k wrote:


Is their a way to extract a list of genes present in a KEGG pathway.

For instance if I want to extraxct list of genes associated with Pathways of cancer, how can I do it?

Thank you

pathway • 22k views
ADD COMMENTlink modified 3.7 years ago by carolminnicelli0 • written 6.8 years ago by Dataminer2.6k

Is it possible to extract a list of genes of a particular pathway without specifying an organism? For exemple, all genes related to methane pathway used in bacteria...

Thank you.

ADD REPLYlink written 3.7 years ago by carolminnicelli0
gravatar for Damian Kao
6.8 years ago by
Damian Kao15k
Damian Kao15k wrote:

You can use the KEGG web service ( For exampe:

That will give you the entire cancer pathway entry.

Using the linked entries service, you can do this:

That'll give you all the genes linked to the cancer pathway.

I am not sure how to post to the web service. I don't think you can. So if you want to get the individual gene entries, you'll have to parse the gene names with a script and use the get service like this (10 at a time):

I haven't used this myself, but here is also a bioconductor package: KEGGREST

ADD COMMENTlink written 6.8 years ago by Damian Kao15k

Kindly how can we detect pathways for the list of gene groups using R ?? I used KEGGREST but , i do not know if its retrieve the pathway for a list of gene ID's from Affymetrix.? please need help.


ADD REPLYlink modified 4.6 years ago • written 4.6 years ago by naving2uk10

Since the text in is regular, so we can just replace "path:hsa04360 hsa: " with empty string "", then we can easily get the list of Entrez GeneID. path:hsa04360 hsa:10154 path:hsa04360 hsa:1020 path:hsa04360 hsa:10298 path:hsa04360 hsa:10371 path:hsa04360 hsa:10500 path:hsa04360 hsa:10501

ADD REPLYlink written 3.3 years ago by daimin05140
gravatar for Pierre Lindenbaum
6.8 years ago by
France/Nantes/Institut du Thorax - INSERM UMR1087
Pierre Lindenbaum125k wrote:

using TOGOWS and Damian's example:

get the genes for hsa05200 as JSON

        "1871": "E2F3; E2F transcription factor 3 [KO:K06620]",
        "23604": "DAPK2; death-associated protein kinase 2 [KO:K08803] [EC:]",
        "10319": "LAMC3; laminin, gamma 3 [KO:K06247]",
        "4292": "MLH1; mutL homolog 1, colon cancer, nonpolyposis type 2 (E. coli) [KO:K08734]",
        "1870": "E2F2; E2F transcription factor 2 [KO:K09389]",
        "868": "CBLB; Cbl proto-oncogene, E3 ubiquitin protein ligase B [KO:K04707] [EC:]",
        "5155": "PDGFB; platelet-derived growth factor beta polypeptide [KO:K04359]",
        "1495": "CTNNA1; catenin (cadherin-associated protein), alpha 1, 102kDa [KO:K05691]"
ADD COMMENTlink written 6.8 years ago by Pierre Lindenbaum125k

I' trying to get all the genes that metabolism related using the same method you suggested. However, I get an empty list.

can you please tell me what is wrong?

ADD REPLYlink modified 8 weeks ago by RamRS25k • written 4.2 years ago by Abdullah100

Nothing is wrong! You are getting an empty list because there is no gene listed under this entry (i.e. hsa01100). You can check it here and here that no genes are listed.

ADD REPLYlink modified 3.5 years ago • written 3.5 years ago by Dataman310
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 824 users visited in the last hour