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

Adding a tooltip to ChEMBL widget #3430

Closed prashantuniyal02 closed 3 weeks ago

prashantuniyal02 commented 1 month ago

Background

There was an issue where a lot of ChEMBL evidence were marked as duplicate.

A solution was implemented similar to what was done for the ClinVar evidence. The granularity was aggregated of the description of phenotypes inside cohortPhenotypes. This has been implemented in the data. See details here: #3328

Tasks

Example use case: platform dev /target/ENSG00000027075/associations. Filter by MONDO_0044964

Use the cohortPhenotypes to add the list of phenotypes.

cohortPhenotypes": [
              "Recurrent Mucoepidermoid Carcinoma of the Oral Cavity",
              "Stage IV Mucoepidermoid Carcinoma of the Oral Cavity"
            ]

The tooltip should contain:

All reported phenotypes: Recurrent Mucoepidermoid Carcinoma of the Oral Cavity Stage IV Mucoepidermoid Carcinoma of the Oral Cavity

Other information

This has been done previously in the ClinVar widget (see example below)

image

Note: We do not want to use diseaseFromSource in the ChEMBL widget tooltip which was present in ClinVar widget tooltip. We only want to use cohortPhenotypes in the ChEMBL widget tooltip.

prashantuniyal02 commented 3 weeks ago

Looks good in dev

Image