Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected behaviour in "Download associations" button on Gene page #1530

Open
eks-ebi opened this issue Jan 9, 2025 · 0 comments
Open

Unexpected behaviour in "Download associations" button on Gene page #1530

eks-ebi opened this issue Jan 9, 2025 · 0 comments
Labels
Type: Bug Reported problem to be fixed

Comments

@eks-ebi
Copy link

eks-ebi commented Jan 9, 2025

The "Download associations" button should return only exact matches for gene names.

Expected behaviour

The "Download associations" button in the Search UI is supposed to generate and download a spreadsheet showing a subset of the full Catalog download that matches the entity (study, gene etc.) shown on the current page.

e.g. For the page https://www.ebi.ac.uk/gwas/genes/BOK-AS1, the "Download associations" button should output a spreadsheet containing all associations mapped to the BOK-AS1 gene. It should have the same number of rows, as the Associations table on the BOK-AS1 page (currently n=29).

BUG

Currently, the "Download associations" button for the BOK-AS1 outputs a file with many incorrect additional rows (n=29,972).

I think this is because it is actually searching for "BOK" and "AS1" separately, and returning any incorrect rows mapped to:
a) the gene "BOK"
b) any other mapped genes that end in "-AS1"
c) possibly other incorrect matches

@eks-ebi eks-ebi added the Type: Bug Reported problem to be fixed label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Reported problem to be fixed
Projects
None yet
Development

No branches or pull requests

1 participant