MyGene.info provides simple-to-use REST web services to query/retrieve gene annotation data. It’s designed with simplicity and performance emphasized. A typical use case is to use it to power a web application which requires querying genes and obtaining common gene annotations. For example, MyGene.info services are used to power BioGPS.
Tweets by @mygeneinfo
What’s new in v3 API¶
- Refseq accession number now contains version
- “ensembl”, “refseq” and “accession” contains associations between RNA and protein
- Better mapping between Ensembl and Entrez gene IDs
- JSON structure slightly changed
- and more bugfixes
You can read more details about this version on our `blog http://mygene.info/mygene-info-v3-is-out`_
Still want to stick with v2 API for a while? It’s still there: v2 API, but annotation data there won’t be updated any more.
Gene query service¶
http://mygene.info/v3/query?q=cdk2 http://mygene.info/v3/query?q=cdk2&species=human http://mygene.info/v3/query?q=cdk? http://mygene.info/v3/query?q=IL* http://mygene.info/v3/query?q=entrezgene:1017 http://mygene.info/v3/query?q=ensemblgene:ENSG00000123374 http://mygene.info/v3/query?q=cdk2&fields=symbol,refseq
Gene annotation service¶
http://mygene.info/v3/gene/1017 http://mygene.info/v3/gene/ENSG00000123374 http://mygene.info/v3/gene/1017?fields=name,symbol,summary
“<geneid>” can be any of valid Entrez or Ensembl Gene ids. A retired Entrez Gene id works too if it is replaced by a new one.
- Try it live on interactive API page
- Migration from v2 API
- Gene annotation data
- Gene query service
- Gene annotation service
- Usage and Demo
- Third-party packages