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

Region view for sQTLs #76

Open
amkwong opened this issue Jun 30, 2021 · 0 comments
Open

Region view for sQTLs #76

amkwong opened this issue Jun 30, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@amkwong
Copy link
Collaborator

amkwong commented Jun 30, 2021

Our region view only shows eQTLs at the moment. To show sQTLs, we need to find a way to improve the performance of the API for sQTL data. Currently, requesting data for one specific transcript of a gene for a given study and tissue takes around half a minute.

The region data API accepts transcripts as an optional parameter, and that API is currently functional, though our region view page does not provide a way to visualize the results. With either the live server or locally with the provided test file, performance can be tested with a request for GTEx liver data, for one of the transcripts. Here is an example API call for SORT1 on the live server (this transcript and region can also be found in the test file):

https://fivex.sph.umich.edu/api/data/region/1/108774968-109774968/GTEx/liver/?gene_id=ENSG00000134243&datatype=txrev&transcript=ENST00000466471

Once the region view API of sQTLs has satisfactory performance, a few other minor changes will be necessary:

  • The region page needs to be modified so that it can display sQTL data in addition to eQTL data. It may be necessary to modify the regional path to add eqtl/sqtl, similar to single-variant view.
  • Linking to a region in single-variant sQTL view should bring you to a regional sQTL view, and vice versa (currently, clicking on a region in single-variant sQTL view brings you to the regional eQTL view)
  • Add a button in region view that allows the user to toggle between eQTLs and sQTLs
    • This will require a smart way to recommend and request one transcript for each of the plot tracks so the plots aren't overwhelmed with data
  • Add the option to choose from different transcripts in the pulldown menu, but highlight a "canonical" transcript for each gene (or use that transcript by default if no transcript is specified), so that the user will have some guidance on which of the many transcripts they may want to look at first
@amkwong amkwong added the enhancement New feature or request label Jun 30, 2021
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

1 participant