opentargets / issues

Issue tracker for Open Targets Platform and Open Targets Genetics Portal
https://platform.opentargets.org https://genetics.opentargets.org
Apache License 2.0
12 stars 2 forks source link

Baseline Expression Data Widget 'Variation GTex tab' issue #3220

Open emcdonagh-OT opened 4 months ago

emcdonagh-OT commented 4 months ago

When I view Baseline Expression on a target profile page, the Summary and Experiments tab loads, but when I click on the 'Variation GTex tab' the whole data widget disappears, and so I am taken to the view of the Cancer DepMap data widget. Example page here: https://platform.opentargets.org/target/ENSG00000167207. The Baseline Expression data widget does not reappear unless I refresh the page, but again the same behaviour occurs when going the to Variation tab.

Expected behaviour I would expect to stay within the Baseline Expression data widget and when clicking on the tab information is displayed, or if not available a notification.

DSuveges commented 4 months ago

It seems, the API call the widget makes is no longer supported by GTEx. link says:

GTEx API V2 Released, GTEX API V1 Discontinued
The GTEx V1 API has been discontinued. Please migrate to the new, V2 API. The documentation for the GTEx V2 API can be found [here](https://gtexportal.org/api/v2/redoc#tag/GTEx-Portal-API-Info)

It seems, the new API supports the same queries:

https://gtexportal.org/api/v2/reference/gene?format=json&geneId=ENSG00000167207

and

https://gtexportal.org/api/v2/expression/geneExpression?gencodeId=ENSG00000167207.11

But it seems @remo87 has already made this update. Please correct me if I'm wrong.

remo87 commented 4 months ago

@DSuveges sorry it wasn't me it was a contribution from another user ricardo-lourenco.

DSuveges commented 4 months ago

@remo87, we should work together more, I haven't recognised your github handle! 😄 btw, it's great we have outside contributors.