Skip to main content

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

Project details


Release history Release notifications

This version
History Node

0.3.dev0

History Node

0.2.dev0

History Node

0.1.dev0

History Node

0.0.4.dev0

History Node

0.0.3.dev0

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
uniprotmapper-0.3.dev0.tar.gz (2.8 kB) Copy SHA256 hash SHA256 Source None Jul 13, 2016

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