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

Adjust page headers and cross-reference sections in all entity pages #1996

Closed andrewhercules closed 2 years ago

andrewhercules commented 2 years ago

To promote consistency with the Genetics Portal -- and more broadly with the Platform -- I have redesigned the header components for the Genetics Portal entity pages.

The redesigned headers reuse much of the existing content already displayed and available from the GraphQL API.

andrewhercules commented 2 years ago

Gene page

Genetics Portal Header Components - Version 2 - Design Specifications

Notes:

Ensembl: https://identifiers.org/ensembl: + geneInfo.id gnomAD: http://gnomad.broadinstitute.org/gene/ + geneInfo.id GTEx: https://identifiers.org/gtex: + geneInfo.symbol GeneCards: https://identifiers.org/genecards: + geneInfo.symbol

andrewhercules commented 2 years ago

Variant page

Genetics Portal Header Components - Version 2 - Design Specifications (1)

andrewhercules commented 2 years ago

Study page

Genetics Portal Header Components - Version 2 - Design Specifications (2)

Genetics Portal Header Components - Version 2 - Design Specifications (3)

Genetics Portal Header Components - Version 2 - Design Specifications (4)

Genetics Portal Header Components - Version 2 - Design Specifications (5)

Below are sample GraphQL queries for each different study source:

andrewhercules commented 2 years ago

Study-locus page

Genetics Portal Header Components - Version 2 - Design Specifications (7)

  1. "Study ID:" that shows the studyInfo.studyId value and links to the study page (https://genetics.opentargets.org/study/ + studyInfo.studyId)
  2. "Variant ID:" that shows the variantInfo.chromosome + _ + variantInfo.position + _ + variantInfo.refAllele + _ and variantInfo.altAllele (e.g. 2_21041028_GA) and links to the variant page (https://genetics.opentargets.org/variant/ +variantInfo.chromosome + `+variantInfo.position++variantInfo.refAllele+andvariantInfo.altAllele`)
d0choa commented 2 years ago

Minor things to take into account:

ktsirigos commented 2 years ago

work completed