Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eQTL summary for a variant view #30

Open
grosscol opened this issue Aug 22, 2024 · 3 comments
Open

eQTL summary for a variant view #30

grosscol opened this issue Aug 22, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@grosscol
Copy link
Collaborator

Answers the questions:

  • Is the variant in an eQTL credible set?
  • What genes does it affect?
  • What tissues was it found in?
  • What direction is the effect (per gene-tissue) ?

Feature is done when:

  • A data summary card is presented on the variant page.
  • Data summary card indicates "no known eQTL" when there is no eQTL data for the variant.
  • Data summary care indicates information when variant is present in eQTL data:
    • Tissue
    • Gene
    • PIP
@grosscol grosscol added the enhancement New feature or request label Aug 22, 2024
@grosscol
Copy link
Collaborator Author

grosscol commented Sep 3, 2024

Sketch of info cards to add to variant view

Image

@shawnkru
Copy link
Collaborator

shawnkru commented Sep 3, 2024

I think this is great at showing the data available at broad stroke style display

@grosscol
Copy link
Collaborator Author

There are some edge cases to handle with the way the UI queries and presents data.

  1. An rs id may have multiple chrom-pos-ref-alt. E.g. rs376393219 that shows up as C-CA and CA-C. The workaround for this is to link to the variant page from the gene and region views using the chrom-pos-ref-alt instead of rs id.
  2. Some eQTLs have many phenotypes which may result in dozens of rows per eQTL. In order to accommodate those in the info card, the styling overflow-y: auto and a max-height will be applied to make the content scrollable after 5 or so entries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants