CoCalc Public Filessupport / 2014-11-17-mygene.sagewsOpen in with one click!
Authors: Harald Schilly, ℏal Snyder, William A. Stein
Description: Jupyter notebook support/2015-06-04-141749-bokeh.ipynb

MyGene python module

“mygene” is an easy-to-use Python wrapper to access MyGene.info services.

NOTE: The remote database server is whitelisted, so this should work even if your project doesn't have full network access.

import mygene
mg = mygene.MyGeneInfo()
mg.getgene(1017)
{u'taxid': 9606, u'symbol': u'CDK2', u'_id': u'1017', u'name': u'cyclin-dependent kinase 2', u'entrezgene': 1017}