Provides Pydantic data models for the GA4GH Variation Representation Specification (VRS) and VRSATILE schemas. Currently at v0.2.0, this library transitioned from Pydantic v1 to v2 in a major breaking change. Active development with experimental pre-releases.
pip install ga4gh-vrsatile-pydanticNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a VRS Allele model using Pydantic v2 syntax.
Replace all .dict() with .model_dump() and .json() with .model_dump_json() in your code.
Upgrade to v0.2.0 and migrate code to Pydantic v2 syntax.
Update imports: from ga4gh.vrsatile.pydantic import Allele (instead of from ga4gh.vrsatile.models import Allele).