pytrate
Inferring effects of amino acid changes on antigenic phenotypes of viruses.
See the docs.
Install
uv pip install git+https://github.com/davipatti/pytrate.git
Main features
- SeqDf — aligned amino acid sequence management
- CrossedSiteAaModel — Bayesian model with crossed site and amino acid pair effects
- CombinedSiteAaModel — Bayesian model with combined site-amino acid effects
- FoldChangeModel — decompose titer fold changes from mutant vs root viruses
- MapCoordModel — Bayesian antigenic map natural experiments and visualization
Tests
uv run --extra dev pytest
Some tests are a bit slow, do uv run --extra dev pytest -k 'not slow' to skip them.
Build & publish
uv sync --extra dev
uv run python -m build
uv run python -m twine upload dist/*
Pre-commit hook
To enable the pre-commit hook, symlink it into your local .git/hooks directory:
ln -s hooks/pre-commit .git/hooks/pre-commit
Metadata
Release files for pytrate 2.4.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytrate-2.4.5.tar.gz | 206.2 kB | Without provenance | Details for pytrate-2.4.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytrate-2.4.5-py3-none-any.whl | Python 3 | none | any | Details for pytrate-2.4.5-py3-none-any.whl |
Total release size: 263.3 kB
Release files / pytrate-2.4.5.tar.gz
| Download URL | pytrate-2.4.5.tar.gz |
|---|---|
| Size | 206.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c9130917e0e321836aeb4b3c005b9dc1a451c0df3be2f7726f4a8c9747fbe919
|
|
BLAKE2b-256 checksum How to use checksums |
fd402dd63be0e93134d6c4302741cf11071acf5371a32f9a7605a685262e9ba8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Release files / pytrate-2.4.5-py3-none-any.whl
| Download URL | pytrate-2.4.5-py3-none-any.whl |
|---|---|
| Size | 57.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b4a28f956bae9a3f6dcd91c99c664716d12c60ec6c4e57a4774d846ac48615b4
|
|
BLAKE2b-256 checksum How to use checksums |
c30d268322a3c35a9add25e08d89d7fd39e1a084db3cbc8d10189a6e0038b477
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Security for pytrate 2.4.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.