statgen / locuszoom

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

[request] Genes track tooltips should link to ENSEMBL #166

Closed abought closed 4 years ago

abought commented 5 years ago

Suggested by @amkwong

Purpose

The genes track shows genes by name, with a tooltip containing more info. The tooltip gene ID should be a clickable link to a database with more information.

For example: ENSG00000260917 -> http://www.ensembl.org/Homo_sapiens/Gene/Summary?g=ENSG00000260917

Also, for transcripts, ensembl can automatically parse queries, but it requires simpler transcript names than what we have. For example: Transcript ID: ENST00000564352.1_1 -> https://www.ensembl.org/Homo_sapiens/Transcript/Summary?t=ENST00000564352.1 works, but if you added "_1" to the end then it will fail

abought commented 4 years ago

Will be added in upcoming 0.10.0 release. Thanks for the suggestion!