Skip to main content

GA4GH Variant Annotation (VA) reference implementation

Project description

va-spec-python

GA4GH Variant Annotation (VA) Python Implementation

Information

license

Releases

gitHub tag pypi

Development

action status issues GitHub Open Pull Requests GitHub license GitHub stars GitHub forks

Features

  • Pydantic implementation of VA-Spec models

Known Issues

You are encouraged to browse issues. All known issues are listed there. Please report any issues you find.

Developers

This section is intended for developers who contribute to VA-Spec-Python.

Installing for development

Prerequisites

  • Python >= 3.10
    • Note: Python 3.12 is required for developers contributing to VA-Spec-Python

Fork the repo at https://github.com/ga4gh/va-spec-python/.

Install development dependencies and pre-commit:

git clone --recurse-submodules git@github.com:YOUR_GITHUB_ID/va-spec-python.git
cd va-spec-python
make devready
source venv/3.12/bin/activate
pre-commit install

Check style with ruff:

make format; make lint

Submodules

va-spec-python embeds va-spec as a submodule, only for testing purposes. When checking out va-spec-python and switching branches, it is important to make sure that the submodule tracks va-spec-python correctly. The recommended way to do this is git config --global submodule.recurse true. If you don't set submodule.recurse, developers and reviewers must be extremely careful to not accidentally upgrade or downgrade schemas with respect to va-spec-python.

If you already cloned the repo, but forgot to include --recurse-submodules you can run:

git submodule update --init --recursive

Testing

To run tests:

make test

Security Note (from the GA4GH Security Team)

A stand-alone security review has been performed on the specification itself. This implementation is offered as-is, and without any security guarantees. It will need an independent security review before it can be considered ready for use in security-critical applications. If you integrate this code into your application it is AT YOUR OWN RISK AND RESPONSIBILITY to arrange for a security audit.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ga4gh_va_spec-0.1.0.tar.gz (23.6 kB view details)

Uploaded Source

Built Distribution

ga4gh.va_spec-0.1.0-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file ga4gh_va_spec-0.1.0.tar.gz.

File metadata

  • Download URL: ga4gh_va_spec-0.1.0.tar.gz
  • Upload date:
  • Size: 23.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for ga4gh_va_spec-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b450e6bd6c99e2d9ac8a7ab68962e2e6fa6d2c7e29d7a1a8c4b449326d173d82
MD5 04eb240ee186fe68537a357b378fb231
BLAKE2b-256 59ce80bef5bf8c614460c6522b70f44bf4c528ba470df639db9bac5abe2c2635

See more details on using hashes here.

Provenance

The following attestation bundles were made for ga4gh_va_spec-0.1.0.tar.gz:

Publisher: release.yaml on ga4gh/va-spec-python

Attestations:

File details

Details for the file ga4gh.va_spec-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ga4gh.va_spec-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ec447002181bbf764733671856be1b009d55538577e5d88ae992b6fe2d4da949
MD5 29283e5f7b8fc7930c4fb996a0450956
BLAKE2b-256 19980193ba36702117528036d926ba45cf6beb685559daa837d61ec405aecde5

See more details on using hashes here.

Provenance

The following attestation bundles were made for ga4gh.va_spec-0.1.0-py3-none-any.whl:

Publisher: release.yaml on ga4gh/va-spec-python

Attestations:

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page