KEGG APIs

KEGG APIs

Simple use of KEGG api for getting references and mapping pathways.

A few useful KEGG APIs

Get the reference names for K numbers

ko:K00001	E1.1.1.1, adh; alcohol dehydrogenase [EC:1.1.1.1]
ko:K00002	AKR1A1, adh; alcohol dehydrogenase (NADP+) [EC:1.1.1.2]
ko:K00003	E1.1.1.3; homoserine dehydrogenase [EC:1.1.1.3]
...

Get the names of reference pathways

path:map00010	Glycolysis / Gluconeogenesis
path:map00020	Citrate cycle (TCA cycle)
path:map00030	Pentose phosphate pathway
path:map00040	Pentose and glucuronate interconversions
...
...
path:map03013	ko:K00784
path:map03013	ko:K00974
path:map03013	ko:K01164
...
ko:K00001	path:map00010
ko:K00001	path:ko00010
ko:K00002	path:map00010
ko:K00002	path:ko00010
...

Pathway mapping and customisation

or to open a specific pathway (with prefix “map” as initially no color shown, e.g. http://www.genome.jp/kegg-bin/show_pathway?map=map04010) and use “User data mapping”:

An input example

K04380
K04392
K04393
K04405
K04409
K04412	green	red
K04414	green	red
K04416
K04422
K04429
K04430
K04431	purple	red

KEGGpaty

Or use the weblink api: http://www.kegg.jp/kegg/docs/weblink.html#map2

http://www.kegg.jp/kegg-bin/show_pathway?map=<mapid>&multi_query=<dataset>[&nocolor=1] 

e.g., http://www.kegg.jp/kegg-bin/show_pathway?map=map04010&multi_query=K04412+green,black%0d%0aK04431+purple

Z. Lu avatar
Z. Lu
Computer biologist, amature photographer, vintage fan and web lover.
comments powered by Disqus