VLM API requivement: Return records associated with all reference builds that lift over to the request #88
jsstevenson
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
From API doc:
Currently an ingested VCF is associated with a build defined at ingest time. When the VCF is loaded, AnyVar does load a lifted-over variant internally as well, and a mapping between them. But AnyVLM's variant counts endpoint doesn't make use of these mappings, and the VRS ID associated with the count is based on whatever you uploaded.
We need to ensure that a response includes all lifted-over equivalents. A few possible ways forward
/variant_countshas a VRS ID, it should ping AnyVar for any liftover mappings matching that ID, and then lookup stored allele counts for the original ID and the mapped ID(s) ( <-- I think this is the way)POST /variationso that we don't need to make the same HTTP request twice (nice-to-have upgrade, but maybe makes the response weird)Beta Was this translation helpful? Give feedback.
All reactions