-
Notifications
You must be signed in to change notification settings - Fork 2
Score set search result optimization #493
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
Score set search result optimization #493
Conversation
jstone-dev
commented
Sep 30, 2025
- Consume the revised score set search endpoints, which return total result counts along with results.
- Obtain score set search filter options from a separate API request.
bencap
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good pending any changes from the API side of things.
| }, | ||
| fetchFilterOptions: async function () { | ||
| try { | ||
| const requestParams: SearchParams = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it'd be nice (although not necessary) to explicitly define the limit here. Should we eventually overhaul the search we could revisit the value but to me an explicit limit here is just an improvement in every case. There's no reason to ever have a result set that's 3000 score sets long on a single page (and I'm sure Alan would thank us 😄).
Depending on what you think about the page suggestion from VariantEffect/mavedb-api#525 (review) we would also add that here along with a next/previous UI element.
Retrieves AlphaFold model version from API to be included in CIF file URL, rather than hardcoding, to prevent 404s when old file versions are purged by AlphaFold. Goes with [#VariantEffect/mavedb-api/davereinhart/alphafold-files-version-proxy](VariantEffect/mavedb-api@590844e)
…h terms - Adds support for ClinGen allele IDs, dbSNP rs IDs, and ClinVar Variation IDs. - Dynamically determine search type based on search term and make appropriate request to ClinGen Allele Registry - Add examples to page for newly supported search terms - Support return of multiple alleles from ClinGen Allele Registry request
… scroll to results div after search
… AlphaFold version # and structure files
…fold-cif-version ProteinStructureView: dynamic AlphaFold model file version
…rror message generation - Adds fixed width to search type dropdown - Add search examples to searchTypeOptions for dynamic generation of HTML elements and error messages displayed via toast - Add support for seaching via dbSNP rs IDs without rs prefix
…-options Add MaveMd search options for ClinGen Allele IDs, dbSNP rs IDs, and ClinVar Variation IDs
…sult counts along with results.
The search endpoint now returns a limited set of results, so a complete list of options for further filtering the result set cannot be obtained from the result set.
30a06b9 to
782095d
Compare