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

Create new Reactome evidence tables in rewrite version #1241

Closed andrewhercules closed 3 years ago

andrewhercules commented 3 years ago

On the evidence page in the rewrite, can we please create a new data table that displays the Gene2Phenotype evidence data?

Example GraphQL API query APC and colorectal carcinoma

Data table

Data table column Disease/phenotype Pathway Target modulation Amino acid variation Literature
GraphQL API field evidences.rows[x].disease.name evidences.rows[x].pathwayName evidences.rows[x].targetModulation evidences.rows[x].variations[y].variantAminoacidDescription evidences.rows[x].literature
Sample data colorectal adenocarcinoma APC truncation mutants have impaired AXIN binding n/a L-asparagine 1378 replaced with unknown 12 publications

Please note that the GraphQL API is not exposing the evidences.rows[x].targetModulation; however, this field will be available in the next iteration of the API.

Within the data table, can we please do the following?

  1. Link the value in the "Disease/phenotype" column to the relevant profile page in the Platform
  2. Link the value in the "Pathway" column to Reactome using the following construct - http://www.reactome.org/PathwayBrowser/# + evidences.rows[x].pathwayId (e.g. IRS-mediated signalling)
  3. Ensure that the "Amino acid variation" column can accept an empty array as some evidence strings do not have data for this column (e.g. DPM3 and congenital disorder of glycosylation type I - see QC checks section)
  4. Use the literature drawer component used in other detail views (e.g. Gene2Phenotype) when the evidence row has 2+ literature references

QC checks

andrewhercules commented 3 years ago

Can we please make some small adjustments to the data table?

Screenshot 2020-11-13 at 09 10 17 EGFR and cancer

mirandaio commented 3 years ago

@andrewhercules adjustments have been merged. Feel free to check again and close if done.

andrewhercules commented 3 years ago

With the new iteration of the GraphQL API, can we please make some adjustments to the Reactome evidence data table?

d0choa commented 3 years ago