A little package for running mapping requests through UniProt's online API.
Project description
#uniprotmapper
A little package for running mapping requests through UniProt's online
API.
##installation
Download the .zip to your favorite directory on your local machine, `cd`
there and run the command:
```
$ python setup.py install
```
Alternatively, one can:
```
$ pip install uniprotmapper
```
##example
Here is an example:
```python
import uniprotmapper as um
mymapper = um.Mapper()
mymapper.params.update({"to":"WORMBASE_ID",
"from":"ID",
"organism":"6239",
"format":"tab"})
myquery = {"query":["some gene", "some gene", "some gene", "some gene"]}
response = mymapper.get_data(myquery)
#alternatively
mymapper.params.update(myquery)
response = mymapper.get_data()
```
Have fun! :D
A little package for running mapping requests through UniProt's online
API.
##installation
Download the .zip to your favorite directory on your local machine, `cd`
there and run the command:
```
$ python setup.py install
```
Alternatively, one can:
```
$ pip install uniprotmapper
```
##example
Here is an example:
```python
import uniprotmapper as um
mymapper = um.Mapper()
mymapper.params.update({"to":"WORMBASE_ID",
"from":"ID",
"organism":"6239",
"format":"tab"})
myquery = {"query":["some gene", "some gene", "some gene", "some gene"]}
response = mymapper.get_data(myquery)
#alternatively
mymapper.params.update(myquery)
response = mymapper.get_data()
```
Have fun! :D
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
uniprotmapper-0.2.dev0.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for uniprotmapper-0.2.dev0.macosx-10.11-intel.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | c260e52f39eef7993a3b98b21bdb4d45f91109606c32c55b9a2f1ca8fd0b2562 |
|
MD5 | 296c4ad17f1fe66786e24a73f8760368 |
|
BLAKE2b-256 | db177a27569f0832ad4fa8a6c93af4aab3eced324f2edd7d1345f30d2b31168d |