Notebooks#

Start with vX receptor annotation. Each lesson pairs code with its data requirements and provides the notebook source. The reference and hit policy are recorded in the annotation manifests.

Start here#

The offline lessons use the supplied examples/inputs files. See Examples for the shell commands and input downloads.

Biological questions#

The historical accuracy lesson uses supplied positive/control labels to illustrate metric construction. The vaccination workflow is an unexecuted draft, and the precursor lesson calculates model estimates. See Thread budgets and recorded laptop measurements for the scope of measured runtime, RAM and CPU use.

Precursor method and validation#

Run a notebook#

Keep the complete examples directory together and open it with a Jupyter kernel in your isolated environment.

python -m pip install -r examples/requirements-notebooks.txt

Run this installation from the repository root: it installs the checkout whose CLI the notebooks use. Released packages need examples from the matching release tag. The gallery checker creates the kernel automatically.

For the biological lessons, set these variables if your local mirrors are elsewhere:

Input locations#

Variable

Default

Used by

AIRR_BENCHMARK

~/hf/airr_benchmark

Accuracy, precursor estimates and the pinned reference

AIRR_YFV19

~/hf/airr_yfv19

Vaccination repertoire

Keep profile_cli.py beside the notebooks. Biological calculations use four native threads and write fresh CLI tables; reviewed figures and aggregate counts are embedded in these pages. Raw rows, sample identifiers and complete execution logs remain private. Documentation builds render saved outputs without running calculations.