Autocomplete gene names with and typeahead.js


We can use with typeahead.js to autocomplete gene names and retrieve every annotation you can think of (GO, Kegg, Ensembl, position, homologs, etc.). Try typing your gene name in the interactive example in this post, and download my code.

🐎 In action# with typeahead.js

💾 Download the code#

Download the code and try it out yourself:

To run it, start a server. Go to your ~/Downloads folder and run:

cd ~/Downloads
python3 -m http.server
Serving HTTP on port 8000 ( ...

Then open your web browser and go to http://localhost:8000/geneinfo-typeahead.html

⚡ Try it here#

Start typing in the text box below and you should see suggestions for completing your gene name. You should see more information if you press Enter on your selected gene.