Skip to main content

Basic frontend for the kegg database rest API

Project description


implementation of the rest API to access the kegg database

Implemented functions

RESTrequest(*args, **kwargs) -> response string

create a request to the KEGG url, is the basis for all the other call.
Take as argument the pieces of the rest call.

KEGGlink(db1, db2, **kwargs) -> (dict, dict)

evaluate the connection between two databases, return two dictionaries
of list that gives how each element of the database is related to the
elements of the other

KEGGconv(db1, db2, **kwargs) -> (dict, dict)

convert between one kegg database and an external one. currently supported
are the uniprot, ncbi-gi and ncbi-geneid for genes and pubchem, chebi
for chemical compounds. Return the two lookup table (dicts) two convert
from one dictionary to the other

KEGGlist(db, organism='', **kwargs) -> dict

return all the element of a specific database for a certain organism,
in the form of a dictionary element: description

KEGGget(element, option='', **kwargs) -> dict

return the dictionary of description of the required object.
possible options are: aaseq | ntseq | mol | kcf | image | kgml

KEGGbrite(britename, option='', **kwargs) -> dict of dicts

analize a brite ontology and return a dictionary of dictionaries.
still in beta version, works up to three level of hierarchy.

Project details

Release history Release notifications

This version
History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
keggrest-0.1.1.tar.gz (3.5 kB) Copy SHA256 hash SHA256 Source None Mar 6, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page