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

Filter/sort assigned variants (low priority) #49

Open
SamBryen opened this issue Aug 25, 2023 · 2 comments
Open

Filter/sort assigned variants (low priority) #49

SamBryen opened this issue Aug 25, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@SamBryen
Copy link

Currently on the 'Assigned Variants' page there is no way to filter or sort variants that have been assigned to the user. This would be a useful feature as it would help us quickly find variants that still need curating.

We can go without this feature as we can use ctrl + f to search for any variant attribute we would like to (eg. 'no verdict'). However, I have started to noticed that the more variants I have assigned, the longer this page takes to load in general. Perhaps only loading a filtered subset of variants would make this page load quicker, especially as I'll be assigning more and more variants to curators over time.

The main thing we would want to filter for is 'no verdict' and 'Revisit this variant', but I think it would also be useful to filter by
'Genes' or 'Verdict', and less importantly, 'Major consequence', 'AC', 'AF' or any specific flag.

This is a 'want' not a 'need' feature request so absolutely no rush here. Thanks!

@SamBryen SamBryen added the enhancement New feature or request label Aug 25, 2023
@EddieLF
Copy link

EddieLF commented Mar 5, 2024

Suggested change:
Modify the project page so not all variants load at once.

  • Add pagination for variants in the project page
  • Add variant filter to top of the project page - filter by variant flag (multi-select), by "gene" (dropdown/search multi-select), chromosome (multi-select), major consequence (multi-select)

@EddieLF
Copy link

EddieLF commented May 1, 2024

Another change that could help is to optimise the query which retrieves assigned variants - on this line.

Currently, it takes several minutes to load the page when ~2000 variants are assigned to a user in a project. Since a speedup was achieved when viewing project results by prefetching models related to each curation result, then perhaps a similar speedup can be achieved here optimising this query in a similar way.

@EddieLF EddieLF assigned EddieLF and unassigned daniaki and danielreti May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 🔖 Ready to be worked on
Development

No branches or pull requests

4 participants