Closed andrewhercules closed 3 years ago
It's a known issue that all functional consequences in this datasource have the same value. Don't worry about it. We will fix it at source.
It's an open question if we want to keep the rsId links consistent with Genetics Portal. Currently pointing to dbSNP in the rewrite. Thoughts?
Personally, I find dbSNP more informative but I don't know if we want to give preference to EBI resources.
Can we please make some minor adjustments to the data table?
Table functionality
Table columns
General formatting
External links
https://identifiers.org/ncbi/DBSNP:
+ evidences.rows[x].variantRsId
(e.g. rs2076756) *note: this is similar to the links constructed for RSIDs in the Open Targets Genetics Portal evidence data tableData table number formatting
@andrewhercules adjustments have been merged. Feel free to check again and close if done.
With the latest iteration of the GraphQL API, can we please make one small adjustment to the PheWAS evidence table?
Sample query: NOD2 and respiratory system disease
variantRsId
value and if available, show the variantId
value in brackets with a link to the variant page in the Open Targets Genetics Portal. This would be similar to line 57 in the Body.js file for the Open Targets Genetics Portal evidence table except reversed and displayed in the following way:Note that sometimes the variantId
value is null
Changes:
On the evidence page in the rewrite, can we please create a new data table that displays the PheWAS Catalog evidence data?
Example GraphQL API query NOD2 in respiratory system disease
Data table
evidences.rows[x].disease.name
evidences.rows[x].diseaseFromSource
evidences.rows[x].variantRsId
evidences.rows[x].variantFunctionalConsequenceId
evidences.rows[x].resourceScore
evidences.rows[x].studyCases
evidences.rows[x].oddsRatio
Within the data table, can we please do the following?
http://www.ensembl.org/Homo_sapiens/Variation/Explore?v=
+ evidences.rows[x].variantRsId (e.g. rs5743289)As a placeholder, in the "Functional consequence" column, we can show the SO code.
QC checks