|This example is deprecated. The Google Genomics v1beta2 API is scheduled for turndown on August 15, 2016. When the API is turned down, this example will cease to function.|
There are html and js files in this repository.
You can open the
the HTML is hosted somewhere. (The Bootstrap css won't load from a
file:// prefix either)
To run a simple HTTP server locally, you can use python:
This will start a local server. Visit
To get data from the API, you will also need to use a real Client ID.
First create a Genomics enabled project in the Google Developers Console.
Once you are redirected to the Credentials tab, click Create new Client ID under the OAuth section.
Click the Create Client ID button
From the newly created Client ID for web application, find the
Using that Client ID value, load the code at:
The file contains some simple html construction based on the
traitsjson variable. It then uses
googlegenomics.jquery.jsto search variants and lookup genotype information for a callset.
- Demonstrate how the variant APIs can be used to get call set data.
Code needs some cleanup, but not much else is planned at this time.