You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

uniprotmapper

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uniprotmapper

A little package for running mapping requests through UniProt's online API.

0.3.dev0
pipPyPI
Maintainers
1

#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:

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts