Inferensys

Glossary

Variant Quality Score Recalibration (VQSR)

A machine learning technique that uses a Gaussian mixture model to assign a well-calibrated probability of error to each variant call based on known truth sets and multiple annotation features.
Developer demonstrating multi-agent tool use, agent tool selection interface on laptop, casual tech demo moment.
STATISTICAL ERROR MODELING

What is Variant Quality Score Recalibration (VQSR)?

Variant Quality Score Recalibration (VQSR) is a machine learning method that assigns a well-calibrated probability of error to each variant call by analyzing the annotation profile of known true variants against the profile of the raw callset.

Variant Quality Score Recalibration (VQSR) uses a Gaussian mixture model to estimate the probability that a variant is a true biological polymorphism versus a sequencing or mapping artifact. The algorithm builds a positive model from a training set of known, high-confidence variants (e.g., HapMap or Genome in a Bottle truth sets) and a negative model from the callset's worst-performing variants, evaluating features such as strand bias, mapping quality, and homopolymer length.

The recalibration process transforms raw quality scores into the Phred-scaled VQSLOD score, representing the log-odds ratio of a variant being true. By applying a truth-sensitivity filter threshold, analysts can control the false discovery rate and extract a highly refined callset. This method is a core component of the GATK Best Practices workflow, effectively distinguishing systematic technical noise from genuine genomic variation.

GAUSSIAN MIXTURE MODEL RECALIBRATION

Core Characteristics of VQSR

Variant Quality Score Recalibration (VQSR) is a machine learning method that assigns a well-calibrated probability of error to each variant call by modeling the joint distribution of annotation features across known truth sets and the discovery dataset.

01

Gaussian Mixture Model Foundation

VQSR constructs a Gaussian Mixture Model (GMM) to separate true variants from sequencing artifacts. The model fits a positive distribution on known true sites (e.g., HapMap, Omni) and a negative distribution on known false sites (e.g., strand bias artifacts, homopolymer errors). Each variant receives a Variant Quality Score Log Odds (VQSLOD) value—the log ratio of the probability that the variant belongs to the true distribution versus the false distribution. This transforms raw quality scores into well-calibrated error estimates.

2+
Gaussian Components
VQSLOD
Output Metric
02

Multidimensional Annotation Features

VQSR evaluates each variant across multiple annotation dimensions simultaneously, moving beyond single-threshold hard filtering. Key features include:

  • Mapping Quality Rank Sum Test (MQRankSum): Compares mapping qualities of reads supporting reference vs. alternate alleles
  • Read Position Rank Sum Test (ReadPosRankSum): Detects positional bias where variants cluster near read ends
  • Strand Odds Ratio (SOR): Identifies strand bias artifacts more sensitively than Fisher's exact test
  • Base Quality Rank Sum Test (BaseQRankSum): Evaluates base quality differences between alleles
  • Depth of Coverage (DP): Normalized read depth at the variant site

The GMM learns the covariance structure between these features, capturing complex artifact signatures that simple thresholding misses.

6+
Annotation Dimensions
Multivariate
Modeling Approach
03

Truth Set Training Resources

VQSR requires high-confidence truth resources to define the positive training distribution. Standard resources include:

  • HapMap 3.3: High-confidence polymorphic sites from population studies
  • 1000 Genomes Project Omni 2.5M: Genotyped sites with high validation rates
  • Mills and 1000G Gold Standard Indels: Curated insertion/deletion truth sets
  • dbSNP: Known variant catalog (used with caution, as it contains some false positives)

The model uses these resources to estimate the prior probability of true variation across the feature space, then applies this prior to recalibrate the discovery dataset.

3-4
Truth Resources Required
Millions
Training Sites
04

Tranche Sensitivity Filtering

VQSR outputs tranches—stratified sensitivity levels that allow users to select variant sets with specific false discovery rate profiles. Each tranche corresponds to a VQSLOD cutoff calibrated against the truth set:

  • 99.9% tranche: Retains 99.9% of true variants, maximizing sensitivity for discovery
  • 99.0% tranche: Balances sensitivity and specificity for clinical applications
  • 90.0% tranche: Conservative filtering for applications requiring high specificity Users select a target truth sensitivity level, and VQSR applies the corresponding VQSLOD threshold to filter the discovery set. This provides principled false discovery rate control without arbitrary hard cutoffs.
99.9%
Max Sensitivity Tranche
VQSLOD
Threshold Metric
05

Variant Type Stratification

VQSR builds separate GMMs for different variant classes because the annotation feature distributions differ substantially between:

  • Single Nucleotide Polymorphisms (SNPs): Modeled with features like MQRankSum, ReadPosRankSum, and QD
  • Insertions and Deletions (Indels): Modeled separately due to distinct error modes, including homopolymer length and tandem repeat context This stratification prevents the model from conflating SNP-specific artifacts with indel-specific errors, improving recalibration accuracy for both classes. Each model independently estimates the covariance structure of its annotation features.
2
Separate Models
SNP + Indel
Variant Classes
06

Comparison with Hard Filtering

VQSR differs fundamentally from hard filtering approaches that apply fixed annotation thresholds:

  • Hard Filtering: Uses single-dimension cutoffs (e.g., QD < 2.0, FS > 60.0) applied independently, ignoring correlations between annotations
  • VQSR: Models the joint distribution of all annotations simultaneously, capturing interactions like the relationship between strand bias and mapping quality
  • Calibration: VQSR produces well-calibrated error probabilities, meaning a VQSLOD score of 3.0 corresponds to a true 1-in-1000 error rate, while hard-filtered quality scores often deviate from actual error rates For small datasets (< 30 exomes or < 10 genomes), hard filtering remains necessary because VQSR requires sufficient data to fit the GMM.
Joint
VQSR Modeling
Independent
Hard Filtering
VARIANT QUALITY SCORE RECALIBRATION

Frequently Asked Questions

Clear, technically precise answers to the most common questions about how Gaussian mixture models recalibrate variant call confidence and eliminate systematic sequencing errors.

Variant Quality Score Recalibration (VQSR) is a machine learning technique that applies a Gaussian mixture model to assign a well-calibrated probability of error to each variant call in a VCF file. Unlike raw quality scores from a variant caller—which are often inflated or poorly calibrated—VQSR learns the error profile of a sequencing run by comparing the annotation features of known true variants (from resources like HapMap, 1000 Genomes, or Genome in a Bottle) against the features of likely false positives. The algorithm constructs a multi-dimensional Gaussian distribution for true variants and another for false variants across annotation dimensions such as strand bias, mapping quality, read depth, and base quality. Each candidate variant is then assigned a VQSLOD score (log odds ratio of being true), which is the logarithm of the probability that the variant belongs to the true-variant Gaussian distribution divided by the probability it belongs to the false-variant distribution. This recalibrated score provides a direct, interpretable estimate of variant confidence that is essential for downstream filtering and clinical interpretation.

VARIANT FILTRATION PARADIGM COMPARISON

VQSR vs. Hard Filtering vs. Deep Learning Variant Callers

A technical comparison of the three primary approaches for distinguishing true biological variants from sequencing and mapping artifacts in next-generation sequencing data.

FeatureVQSRHard FilteringDeep Learning Callers

Core Mechanism

Gaussian mixture model on multiple annotation dimensions

Single-dimension threshold cutoffs applied sequentially

Convolutional or graph neural network on raw pileup data

Input Data

Existing variant call set with quality annotations

Existing variant call set with quality annotations

Aligned sequencing reads (BAM/CRAM) directly

Training Requirement

Requires truth training sets (e.g., HapMap, Omni, 1000G)

No training data required

Requires labeled truth variants for supervised learning

Handles Complex Variant Contexts

Calibrated Quality Scores

Sensitivity to Annotation Choice

High; performance depends on selected features

High; requires expert threshold tuning

Low; learns features automatically from data

Computational Cost

Moderate; single-pass model fitting

Low; simple arithmetic comparisons

High; requires GPU inference per candidate locus

Typical False Discovery Rate

0.1-1.0% after recalibration

1.0-5.0% with conservative thresholds

0.05-0.5% in benchmarked regions

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.