statgen / locuszoom

A Javascript/d3 embeddable plugin for interactively visualizing statistical genetic data from customizable sources.
https://statgen.github.io/locuszoom/
MIT License
156 stars 29 forks source link

[rfr] Source + UI to mark known GWAS catalog SNPs #143

Closed abought closed 6 years ago

abought commented 6 years ago

Purpose

Per #124 , we would like to display GWAS catalog SNPs in a LocusZoom plot. This has utility beyond pheweb.

This PR adds a datasource that exposes the Portaldev api endpoint. See companion ticket for feature discussion. The UI side will be defined once we decide what filters and fields to apply.

screen shot 2018-09-21 at 2 46 24 pm

abought commented 6 years ago

Merging this iteration into the develop branch so we can start using with PheWeb, but I'm very open to further improvements on request. My current hope would be a LZ 0.9.0 release ~next Wednesday (9/26).

abecasis commented 6 years ago

You are too fast.

I mean the following (as an example):

Go to https://abought.github.io/locuszoom/examples/gwas_catalog.html?chrom=10&start=114458349&end=115058349 (the TCF7L2 region in your examples).

There is an association to Glycated Hemoglobin Levels.

The association is sourced from a paper titled "Impact of common genetic determinants of Hemoglobin A1c on type 2 diabetes risk and diagnosis in ancestrally diverse populations: A transethnic genome-wide meta-analysis."

Can we link there? The link would be:

https://www.ncbi.nlm.nih.gov/pubmed/28898252

I think the GWAS catalog entries include the PMID (28898252 in this case).

G

On Fri, Sep 21, 2018 at 5:02 PM, Andy Boughton notifications@github.com wrote:

Merged #143 https://github.com/statgen/locuszoom/pull/143 into develop.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/statgen/locuszoom/pull/143#event-1861155379, or mute the thread https://github.com/notifications/unsubscribe-auth/ABCoUMZDYgNF5MSN1fH3MuMnersCyWrOks5udVPlgaJpZM4Woo7s .