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


Download files

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

Files for uniprotmapper, version 0.3.dev0
Filename, size File type Python version Upload date Hashes
Filename, size uniprotmapper-0.3.dev0.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page