
hvantk
Hail-based toolkit for multi-omics variant annotation and analysis.
hvantk turns public omics resources (variants, genes, proteins and expression) into
datasets with provenance, and integrates them in analysis tools that help
interpret genetic variants. It uses Hail for genome-scale tables and
AnnData for expression matrices.
- Data-source plugins. 21 providers, among them
ClinVar, gnomAD, GTEx, UniProt, dbNSFP and Expression Atlas. Each dataset builds with
one command,
hvantk reprocess <provider>:<dataset>.
- Provenance on every dataset. A build records its source fingerprint, schema,
plugin version and parameters, and a derived dataset keeps its parents.
- Drift detection.
hvantk drift compares a source's live fingerprint with the
committed one. A scheduled job re-checks every source twice a month and opens pull
requests for what changed.
- Analysis tools. Joint genotyping, ancestry inference, QTL cascades, enrichment and
burden tests, PTM variant classification, pathogenicity-score evaluation and multi-omic
gene re-ranking.
Installation
Requires Python 3.10–3.12, Java 11 (for Hail and Spark) and
Poetry 2.x.
git clone https://github.com/bigbio/hvantk
cd hvantk
poetry install
eval "$(poetry env activate)"
hvantk utils check-install # verify the install
The base install is lean. Plotting, machine-learning and a few provider-specific
dependencies are opt-in extras: poetry install --extras "ancestry psroc", or
poetry install --all-extras for everything.
Installation → Optional features
lists what each extra adds and which commands need it.
Quick start
# Every data source and its datasets
hvantk plugins list
# Download, parse and build the HGNC gene table, then check its source for drift
hvantk reprocess hgnc:lookup --raw-dir data/hgnc --output hgnc.ht
A second run into the same --raw-dir stops with FileExistsError because the raw file
is already there. Add --skip-download to rebuild from it, or use a fresh --raw-dir.
The output is a Hail table with a hgnc.ht.provenance.json sidecar. The
Quick start continues from here to gene sets
and an enrichment test, and Building datasets covers every
build option.
Workflow skills
Twelve skills let a coding agent run hvantk for you, on a laptop or on a Slurm cluster
from the container image: joint genotyping and callset delivery, dataset builds and
drift triage, the gene index, cohort burden, re-ranking and QTL cascades. Every command
the agent runs is a deterministic hvantk command. Install them in Claude Code with
/plugin install hvantk --marketplace bigbio/hvantk, or point any harness that reads
the Agent Skills layout at skills/. The catalog lists them and
says how to set up the site profile. They are not the data-source plugins under
hvantk/skills/.
Toolkit