A JavaScript wrapper for the KEGG biological database. Results are returned as JSON objects, see below for structure details. There are license restrictions on the use of KEGG, along with other guidelines. Please check at http://www.kegg.jp/kegg/ to make sure you use the system appropriately.
npm install kegg-db --save
const KEGG = require('kegg-db');
KEGG.getReactionById("R04573", function(data) {
...
});
Due to HTTPS and CORS restrictions in a browser you may need to proxy the database. Set the new database URL using:
KEGG.options({url: "http://..."});
- KEGG
Result data is an array of objects with:
id
- KEGG reaction ID numbername
- Human readable reaction name
Result data is an array of objects with:
id
- KEGG compound ID numbername
- Human readable compound name
Result data is an array of objects with:
id
- KEGG compound ID numbername
- Human readable compound name
Result data is an array of objects with:
id
- KEGG compound ID numbername
- Human readable compound name
Result data is an array of objects with:
id
- KEGG compound ID numbername
- Human readable compound name
Result data is an array of objects with:
id
- EC enzyme numbername
- Human readable enzyme name
Reaction data object:
names
- Array of name stringsdefinition
- Human readable reaction equationequation
- Equation using KEGG id's for compoundsenzyme
- EC numberpathways
- Array of associated pathwaysrclasses
- Object
Compound data object:
names
- Array of name stringsformula
- Chemical formulaexact_mass
- Floatmol_weight
- Floatreactions
- Array of associated KEGG reaction numberspathways
- Array of associated pathwaysenzymes
- Array of enyzyme EC numbersdblinks
- Object to convert ID
Enzyme data object:
names
- Array of name stringsclasses
- Array of class stringssysname
- Stringreaction
- Human readable reactionreactions
- Array of associated KEGG reaction IDssubstrates
- Array of substrate compound IDsproducts
- Array of product compound IDscomment
- Stringgenes
- Object where keys are organism code, values are gene number(s)