Square CoCalc Logo
FeaturesSoftwarePricingInfoPoliciesShareSupport Try Sign InSign Up
Path: support / 2014-11-17-mygene.sagews

Examples for support purposes.

Views: 1079172
License: GPL3
Image: ubuntu2004-dev
Project: Support and Testing
Raw | Embed | Download |

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()
{u'taxid': 9606, u'symbol': u'CDK2', u'_id': u'1017', u'name': u'cyclin-dependent kinase 2', u'entrezgene': 1017}