From the 18th June 2026, we will update our recommended variant scorer quantiles.
Previously we computed the score quantiles against a background set of common genetic variants from chromosome 22 (see the “Calibration Methodology” methods section for more details). We have now run the same calibration procedure across the entire genome, to generate a more accurate background distribution.
We recommend using these new quantiles for all future variant interpretation, but if you want to use the original quantiles, you can use the following code snippet to reprocess raw scores to the old quantiles, using our open-source calibration code:
from alphagenome.data import genome
from alphagenome_research.model.variant_scoring.calibration import calibration
calibration_scorer = calibration.load(
'gs:///alphagenome/data/hg38/calibration_scores.pb'
)
model = dna_client.create('API_KEY')
scores = model.score_variant(interval, variant)
# The new quantiles are stored in score.layers['quantiles']
# Add old quantiles as a new layer.
for score in scores:
score.layers['old_quantiles'] = calibration_scorer.quantile_scores(
score.uns['variant_scorer'].name, score
)
If you have any further questions or concerns, please let us know in the comments below.