GA4GH Variant Annotation (VA) reference implementation
Project description
va-spec-python
VA-Spec-Python provides Python language support and a reference implementation for the GA4GH Variant Annotation Specification (VA-Spec).
Information
Releases
Development
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ga4gh_va_spec-0.2.0a1.tar.gz.
File metadata
- Download URL: ga4gh_va_spec-0.2.0a1.tar.gz
- Upload date:
- Size: 30.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7613426b7dc09f2e17ed78bee05e23b314e6e31e47174b094ecf75eda93701a
|
|
| MD5 |
0a5a590f8b0255578eca562fc26d2632
|
|
| BLAKE2b-256 |
9aa850d697b7e07eb56e665af2caafdafb16590dcb6f5ff07d9dab2e8f6b3a05
|
Provenance
The following attestation bundles were made for ga4gh_va_spec-0.2.0a1.tar.gz:
Publisher:
release.yaml on ga4gh/va-spec-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ga4gh_va_spec-0.2.0a1.tar.gz -
Subject digest:
f7613426b7dc09f2e17ed78bee05e23b314e6e31e47174b094ecf75eda93701a - Sigstore transparency entry: 177973843
- Sigstore integration time:
-
Permalink:
ga4gh/va-spec-python@e8fec189439164e441375adb573e20791978c4cd -
Branch / Tag:
refs/tags/0.2.0-a1 - Owner: https://github.com/ga4gh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@e8fec189439164e441375adb573e20791978c4cd -
Trigger Event:
push
-
Statement type:
File details
Details for the file ga4gh_va_spec-0.2.0a1-py3-none-any.whl.
File metadata
- Download URL: ga4gh_va_spec-0.2.0a1-py3-none-any.whl
- Upload date:
- Size: 22.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7cda8b921f3dcf73b12bcd2c8940cc3047f6700b9430cf657358c6c141388b07
|
|
| MD5 |
c685288edb8554f56248f5a00ec65f94
|
|
| BLAKE2b-256 |
09e5e7686769b6ffa2cdc6d285a48088a929e9c1e73f031099f4dec7c8ab98a1
|
Provenance
The following attestation bundles were made for ga4gh_va_spec-0.2.0a1-py3-none-any.whl:
Publisher:
release.yaml on ga4gh/va-spec-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ga4gh_va_spec-0.2.0a1-py3-none-any.whl -
Subject digest:
7cda8b921f3dcf73b12bcd2c8940cc3047f6700b9430cf657358c6c141388b07 - Sigstore transparency entry: 177973845
- Sigstore integration time:
-
Permalink:
ga4gh/va-spec-python@e8fec189439164e441375adb573e20791978c4cd -
Branch / Tag:
refs/tags/0.2.0-a1 - Owner: https://github.com/ga4gh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@e8fec189439164e441375adb573e20791978c4cd -
Trigger Event:
push
-
Statement type: