Accessing UniProt with Python

BioServices provide an easy way to access UniProt

In a previous post, I provided a simple example, reproduced here below, but in this post I also provide the link to a ipython notebook I’ve just created, which contains much more contents.

IPython notebook UniProt

>>> from bioservices import UniProt
>>> u = UniProt()
>>> d = u.quick_search("MEK1+and+taxonomy:human", limit=5)
>>> for entry in d.keys():
...    print("Entry name: %s, d[entry][Entry name"])
MP2K2_HUMAN
MP2K1_HUMAN
WNK2_HUMAN
BIRC6_HUMAN
MK03_HUMAN
Please follow and like us:
This entry was posted in Python and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *