Skip to main content

pytrate

tests docs

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

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)

Source distribution for pytrate 2.4.5
File Size Uploaded
pytrate-2.4.5.tar.gz 206.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytrate 2.4.5
File Interpreter ABI Platform
pytrate-2.4.5-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

2.4.5 This release

2 release files

2.4.3

2 release files

2.4.2

2 release files

2.4.1

2 release files

2.4.0

2 release files

2.3.3

2 release files

2.3.2

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page