Skip to content

VRS Map Integration#21

Merged
bencap merged 18 commits intomavedb-mainfrom
dev
Sep 14, 2024
Merged

VRS Map Integration#21
bencap merged 18 commits intomavedb-mainfrom
dev

Conversation

@bencap
Copy link
Copy Markdown
Collaborator

@bencap bencap commented Sep 14, 2024

No description provided.

sallybg and others added 18 commits July 5, 2024 11:30
Co-authored-by: Ben Capodanno <31941502+bencap@users.noreply.github.com>
Co-authored-by: Ben Capodanno <31941502+bencap@users.noreply.github.com>
…variant

Currently, the only case where this will occur is when the variant falls
outside of the region of the target sequence that aligns to the genomic
reference sequence. Post-map protein variants are still required to
output the corresponding pre-map protein variant, because we don't
expect a protein variant to fall outside the region of the target
sequence that aligns to the reference transcript, although
this assumption should be evaluated as a separate issue.
Since ScoresetMapping is returned as an API response, the typical
way of setting default values does not work.
FastAPI uses json serialization by default, which flattens the Allele
sequence location field. To avoid this, use pydantic's serializer with python mode
instead, and return the response directly as a JSON response.
@bencap bencap merged commit b872cf4 into mavedb-main Sep 14, 2024
@bencap bencap deleted the dev branch September 14, 2024 00:58
@bencap bencap restored the dev branch September 14, 2024 00:58
@bencap bencap deleted the dev branch February 6, 2026 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants