GA4GH Variation Representation Specification (VRS) reference implementation in Python. Provides data models, validation, and conversion tools for representing genetic variation in a standardized manner. Current stable version is 2.3.1 (Python >=3.10). Pre-releases track VRS 2.1.0 snapshots. Released semi-regularly with bug fixes and feature updates.
pip install ga4gh-vrsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Build a simple VRS Allele using SequenceLocation and LiteralSequenceExpression, using a SeqRepo data proxy.
Update imports and migrate to pydantic v2 model_dump()/model_dump_json() instead of dict()/json().
Avoid using beacon-related translation utilities; use direct VRS models instead.
Pass disable_healthcheck=True to create_dataproxy if you don't need health checks.
Use 'pip install ga4gh-vrs' which automatically resolves the correct HGVS version.
Run 'pip install ga4gh-vrs' and ensure you have Python >=3.10.
Use 'from ga4gh.vrs.models import Allele'.
Use .model_dump() instead of .dict(), and .model_dump_json() instead of .json().
Set disable_healthcheck=True in create_dataproxy() to skip the connection test.