Tutorials

Tutorials#

Tutorials are hands-on notebooks. The core workflow teaches the AlphaGenome 2 API in order: choose a condition, select a genomic region, predict, and score. Each topic tutorial then covers one capability. For end-to-end biological analyses, see Vignettes.

Core workflow#

1. Choosing a condition

Search supported_conditions, check which output types are observed or imputed for a condition, and see when to use expression conditioning instead.

Choosing a condition
2. Selecting a genomic region

Construct and resize Interval and Variant inputs around coordinates, GENCODE genes, or variants.

Selecting a genomic region
3. Predicting tracks for an interval or sequence

Predict bulk and pseudobulk tracks for a genomic interval, and bulk tracks for a custom DNA sequence.

Predicting tracks for an interval or sequence
4. Predicting a variant

Predict REF and ALT bulk and single-cell outputs for a genetic variant and plot them together.

Predicting a variant
5. Scoring a variant

Quantify variant effects with recommended and custom variant scorers, and flatten the results with tidy_scores.

Scoring a variant

Topics#

Plotting predictions

Compose multi-panel plots across output types: bulk coverage, single-cell gene expression, chromatin accessibility, histone and TF ChIP-seq, and contact maps.

Plotting predictions
Conditioning on your own single-cell data

Condition predictions and scores on your own AnnData single-cell gene expression counts.

Conditioning on your own single-cell data
Working with imputed tracks

Check which tracks are observed or imputed for a condition, filter by imputation_mode, and label imputed tracks in plots.

Working with imputed tracks
Analyzing a splicing variant

Predict, plot, and score splice site, splice site usage, and splice junction changes for a variant.

Analyzing a splicing variant
Analyzing haplotypes

Predict and compare combined multi-variant haplotype effects against individual single-variant predictions.

Analyzing haplotypes
Highlighting important regions with ISM

Run in silico mutagenesis (ISM) across an interval to find the bases that drive a prediction.

Highlighting important regions with ISM
Making mouse predictions

Load mouse gene annotations and make predictions for the mouse genome.

Making mouse predictions

AlphaGenome 1#

AlphaGenome 1 is the original model described in the AlphaGenome paper [Avsec et al., 2026]. See Getting started for when to use it and Migrating from AlphaGenome 1 for how it differs from AlphaGenome 2.

AlphaGenome 1 quick start (legacy)

Browse AlphaGenome 1 metadata, then predict and score a variant across all observed tracks.

AlphaGenome 1 quick start (legacy)
Deriving PSI values from splice junctions

Compute percent spliced in (PSI5 and PSI3) values from predicted splice junction counts.

Deriving PSI values from splice junctions