Basic frontend for the kegg database rest API
Project description
keggrest
========
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.
========
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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
keggrest-0.1.1.tar.gz
(3.5 kB
view details)
File details
Details for the file keggrest-0.1.1.tar.gz.
File metadata
- Download URL: keggrest-0.1.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36289111252d61b39b4171e89cd5c7a313f23c8d9fb6c3845ae8c86bf6708706
|
|
| MD5 |
09b78953c05f0707bc831bfc2ce3e87e
|
|
| BLAKE2b-256 |
dc5c9fce8a45287d1b5734d01afac5b6b6d609751cb6e2b49fc521f0d83dbafb
|