Make tidy variant tables with MyVariant.info and Tabulator

2019-07-14

We can use the MyVariant.info API and Tabulator to create a web page for making tidy tables with genomic variants.

🐎 In action

Here is an animation that shows what this code can do:

myvariant.info with tabulator.js

⚡ Try it

Try pasting a list of SNP ids at quickgene.net/variants

After you paste the list and click “Search”:

  • We use the MyVariant.info service to guess the identifiers that match your query.
  • We automatically add links to the Open Targets Genetics web service, which provides further links to many resources for researching genetic variants.

💾 Download the code

Download the code and try it out yourself:

Tip: Open the HTML file with your favorite web browser.