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
File details
Details for the file uniprotmapper-0.3.dev0.tar.gz.
File metadata
- Download URL: uniprotmapper-0.3.dev0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76a54082b3aaea72c29ccc74afeb6519a1fd7d08b704417aebdd47b00c991397
|
|
| MD5 |
acc78f624b50b682be395bdbe1f7503f
|
|
| BLAKE2b-256 |
bf99004f8c8190c5ca083d6d2d3c3d84bdb6b2b51de800919936503b6ba72723
|