feat: Variant Search via VRS Digest#666
Open
bencap wants to merge 2 commits intorelease-2026.2.1from
Open
Conversation
- Add `vrsDigest` search tab to MaveMD and the home page hero bar,
backed by GET /api/v1/mapped-variants/vrs/{identifier} which
bypasses the ClinGen Allele Registry entirely
- Validate input against the GA4GH VRS format
(ga4gh:<type>.<32-char base64url digest>) before sending requests
- When the matched MappedVariant has a clingenAlleleId, resolve it
through ClinGen and display the standard allele results page;
when absent, surface a direct link to the source score set
- Handle 404 from the VRS endpoint with a specific "not found"
message rather than the generic error fallback
- Introduce --color-ga4gh / --color-ga4gh-light CSS variables and
use white active-state text for contrast on the darker blue;
extend SEARCH_COLORS with an optional activeText field consumed
by search tabs and the Search button on both screens
- Document VRS identifier search in mavemd/variant-search.md and
cross-reference from reference/data-standards.md
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds support for searching variants in MaveMD using GA4GH VRS identifiers (VRS digests), in addition to existing search types. It updates the UI, search logic, API integration, documentation, and visual styling to fully support and explain VRS-based searches. The most important changes are grouped below.
VRS Digest Search Functionality:
Added support for searching by GA4GH VRS identifiers (
ga4gh:VA.*,ga4gh:VH.*) throughout the app, including a new search option, backend API integration, and handling of results that may not have a ClinGen Allele ID. [1] [2] [3] [4] [5]Updated the search results UI to handle and display variants found via VRS digest, including cases where the variant is present in MaveDB but not linked to a ClinGen Allele ID, and providing direct links to the relevant score set when appropriate. [1] [2] [3] [4]
UI and Styling Updates:
Added a new color scheme for VRS digest searches and ensured consistent button and highlight styling for the new search type across components. [1] [2] [3] [4] [5] [6]
Updated the home screen and search screen to include VRS digest as a visible and selectable search option, with appropriate placeholder text and example identifiers. [1] [2] [3]
Documentation Updates:
Supporting Utilities and Validation:
API Integration:
lookupVariantsByVrsDigestto query mapped variants by VRS identifier, and updated type definitions to support the new search results. [1] [2] [3]These changes together enable users to search for variants using GA4GH VRS identifiers, improving interoperability with GA4GH-compliant pipelines and databases.