Autocomplete gene names with Twitter typeahead.js and Stanford mygene.info.
typeahead.js is a convenient library for creating an input element with autocomplete features like a drop-down menu with items related to your query.
The mygene.info API provides a query service to retrieve all possible gene annotations for many species. It is possible to use it for querying gene names or any kind of database identifier such as Entrez Gene ID, Ensembl Gene ID, HGNC Symbol, or even text descriptions.
This example shows how to connect typeahead.js to the mygene.info API to query human genes and link to the UCSC Genome Browser.