EBISPOT / goci

GWAS Catalog Ontology and Curation Infrastructure
Apache License 2.0
26 stars 19 forks source link

Bug in Gene page - incorrectly includes partial gene name matches #1242

Open eks-ebi opened 7 months ago

eks-ebi commented 7 months ago

A user has pointed out that Gene pages in the Search UI currently include some association data that should not be displayed.

This seems to occur whenever gene names include a hyphen.

For example, the Gene page for "ASM2" (https://www.ebi.ac.uk/gwas/genes/A2M) currently incorrectly displays an association that is mapped to the "ASM2-AS1" gene, which is a different gene.

Another example: if I type the URL https://www.ebi.ac.uk/gwas/genes/HLA, I get results for various genes with the form "HLA-XXXX". In this case, I don't think the page should exist, as there is no gene just called "HLA", only various genes that start with HLA-...