KEGG Web Links

This is an introductory document for creating Web links to KEGG at http://www.kegg.jp/ or http://www.genome.jp/kegg/.

REST based URLs

Retrieve entry

http://www.kegg.jp/entry/kid
kid = KEGG object identifer

(Examples)
http://www.kegg.jp/entry/K00873
http://www.kegg.jp/entry/C00022
http://www.kegg.jp/entry/map00010

Retrieve pathway map

http://www.kegg.jp/pathway/mapid
mapid = KEGG pathway map identifer

(Examples)
http://www.kegg.jp/pathway/map00010
http://www.kegg.jp/pathway/hsa00010

Retrieve brite hierarchy

http://www.kegg.jp/brite/brid
brid = KEGG brite hierarchy identifer

(Examples)
http://www.kegg.jp/brite/ko00001
http://www.kegg.jp/brite/br08303

DBGET Queries

Retrieve entries

http://www.genome.jp/dbget-bin/www_bget?db1:entry1+db2:entry2+...
http://www.genome.jp/dbget-bin/www_bget?db+entry1+entry2+...
db = Database name or KEGG organism name in full name or in abbreviation
entry = Entry name (accession number) or gene name

The second form is applicable to multiple entries in a single database.

(Examples)
(KEGG PATHWAY) http://www.genome.jp/dbget-bin/www_bget?path:hsa05010
(KEGG GENES) http://www.genome.jp/dbget-bin/www_bget?hsa:351
http://www.genome.jp/dbget-bin/www_bget?H.sapiens+APP+PSEN1
(KEGG LIGAND) http://www.genome.jp/dbget-bin/www_bget?cpd:C00002
http://www.g.jp/dbget-bin/www_bget?rn:R05972
(Other databases) http://www.genome.jp/dbget-bin/www_bget?sp:P05067
http://www.genome.jp/dbget-bin/www_bget?swissprot+A4_HUMAN

Retrieve sequence entries in FASTA format:

http://www.genome.jp/dbget-bin/www_bget?-f+db1:entry1+db2:entry2+...
http://www.genome.jp/dbget-bin/www_bget?-f+db+entry1+entry2+...
When the entry contains multiple sequences, specify as follows:
-f+-n+1 first sequence in FASTA format
-f+-n+2 second sequence in FASTA format
-f+-n+a amino acid sequence in FASTA format (KEGG GENES only)
-f+-n+n nucleotide sequence in FASTA format (KEGG GENES only)

(Examples)
http://www.genome.jp/dbget-bin/www_bget?-f+hsa:351
http://www.genome.jp/dbget-bin/www_bget?-f+-n+a+hsa:351
http://www.genome.jp/dbget-bin/www_bget?-f+-n+2+hsa:351

The list of options may be viewed by the -h option:
http://www.genome.jp/dbget-bin/www_bget?-h

PATHWAY Queries

Mark pathway objects in red

http://www.genome.jp/kegg-bin/show_pathway?mapid+entry1+entry2+...
mapid = pathway map identifier, such as map00010 and hsa00010
entry = gene identifier, compound identifier, ec number, etc.

(Examples)
http://www.genome.jp/kegg-bin/show_pathway?map00400+1.14.16.1+C00079+C00166
http://www.genome.jp/kegg-bin/show_pathway?hsa00400+5053+C00079+C00166

Mark pathway objects in any color

http://www.genome.jp/kegg-bin/show_pathway?mapid/keggid1/keggid2/...
http://www.genome.jp/kegg-bin/show_pathway?mapid/default%3ddcolor/keggid1%09bgcolor,fgcolor/...
mapid = pathway map identifier, such as map00010 and hsa00010
keggid = KEGG identifer in the form of db:entry, where db: can be omitted
dcolor = default background color, "%3d" represents "=" in ASCII code
bgcolor = background color, "%09" represents TAB in ASCII code
fgcolor = foreground color

(Examples)
http://www.genome.jp/kegg-bin/show_pathway?map00400/ec:1.14.16.1/cpd:C00079/cpd:C00166
http://www.genome.jp/kegg-bin/show_pathway?map00400/default%3dpink/1.14.16.1%09,blue/C00079%09,red/cpd:C00166%09%23005050

(Note)
"%23" in color specification represents "#" in ASCII code.
The distinction of bgcolor/fgcolor is not really appropriate because it is applied to a GIF image file. Each object is identified from the coordinate file, thus, background coloring of a circular object applies to a square. Please consider using the XML representation of KEGG pathways for handling graphical objects.

SSDB Queries

Display conserved gene clusters

http://www.kegg.jp/ssdb-bin/ssdb_gclust?org_gene=org:gene
org:gene = KEGG GENES identifier (organism code and gene name)

(Example)
http://www.kegg.jp/ssdb-bin/ssdb_gclust?org_gene=syn:sll1450

Last updated: July 9, 2010