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

Download files

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

Files for keggrest, version 0.1.1
Filename, size & hash File type Python version Upload date
keggrest-0.1.1.tar.gz (3.5 kB) View hashes Source None

Supported by

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