A few useful KEGG APIs
Get the reference names for K numbers
1
2
3
4
|
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
1
2
3
4
5
|
path:map00010 Glycolysis / Gluconeogenesis
path:map00020 Citrate cycle (TCA cycle)
path:map00030 Pentose phosphate pathway
path:map00040 Pentose and glucuronate interconversions
...
|
1
2
3
4
5
|
...
path:map03013 ko:K00784
path:map03013 ko:K00974
path:map03013 ko:K01164
...
|
get K and ko links
1
2
3
4
5
|
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. https://www.genome.jp/kegg-bin/show_pathway?map=map04010) and use “User data mapping”:
An input example
1
2
3
4
5
6
7
8
9
10
11
12
|
K04380
K04392
K04393
K04405
K04409
K04412 green red
K04414 green red
K04416
K04422
K04429
K04430
K04431 purple red
|
Or use the weblink api: https://www.kegg.jp/kegg/docs/weblink.html#map2
https://www.kegg.jp/kegg-bin/show_pathway?map=<mapid>&multi_query=<dataset>[&nocolor=1]
e.g., https://www.kegg.jp/kegg-bin/show_pathway?map=map04010&multi_query=K04412+green,black%0d%0aK04431+purple