Diploid genotype likelihood quantifies the probability of the observed aligned reads, ( P(Data|G) ), for a specific diploid genotype ( G ). Unlike a simple allele count, this calculation integrates per-base quality scores, mapping quality filtering metrics, and platform-specific error profiles to model the uncertainty inherent in the sequencing process, distinguishing a true heterozygous call from a sequencing artifact.
Glossary
Diploid Genotype Likelihood

What is Diploid Genotype Likelihood?
Diploid genotype likelihood is the statistical probability of observing the aligned sequencing read data given a specific combination of two alleles at a locus, accounting for sequencing errors and mapping uncertainty.
These likelihoods serve as the raw statistical input for Bayesian variant calling. Algorithms combine the likelihoods for all ten possible diploid genotypes (AA, AC, AG, AT, CC, CG, CT, GG, GT, TT) with a prior probability of variation to compute a posterior genotype probability. This framework is fundamental to tools like DeepVariant and GATK, enabling accurate germline variant calling by rigorously separating biological signal from technical noise.
Core Properties of Genotype Likelihoods
The mathematical framework that underpins all modern variant calling, quantifying the probability of observed sequencing data given each possible diploid genotype.
The Likelihood Function
Formally expressed as P(Data | Genotype), the likelihood function calculates the probability of observing the aligned reads at a locus given a specific combination of two alleles. It does not calculate the probability of the genotype being true; it calculates how well the genotype explains the data. The calculation integrates base quality scores, mapping quality scores, and the reference allele to model the error profile of the sequencing experiment.
The 10-Genotype Space
For a diploid organism with reference allele R and alternate allele A, the likelihood calculation evaluates all 10 possible unordered genotypes:
- Homozygous Reference: R/R
- Heterozygous: R/A
- Homozygous Alternate: A/A
- Plus all combinations when multiple alternate alleles exist at a locus. The genotype with the maximum likelihood is the initial call, but the full likelihood distribution is retained for downstream Bayesian genotyping.
Phred-Scale Transformation
Raw likelihoods are transformed into Phred-scaled values for compact storage in VCF/BCF files:
- PL field: Phred-scaled genotype likelihoods, normalized so the most likely genotype has a PL of 0.
- Formula:
PL = -10 * log10(P(Data | Genotype)) - A PL difference of 10 between two genotypes means the data are 10 times more likely under the higher-ranked genotype. This logarithmic scale prevents numerical underflow and enables integer encoding.
Error Model Integration
The likelihood calculation explicitly models multiple sources of uncertainty:
- Sequencing Error: The probability that a base call is incorrect, derived from the per-base quality score.
- Mapping Error: The probability that the read is aligned to the wrong genomic location, derived from the mapping quality.
- Allele Bias: Systematic over- or under-representation of alleles due to PCR amplification or capture efficiency. These error probabilities are marginalized over all possible true underlying bases to produce a robust likelihood.
Prior-Probability Integration
Genotype likelihoods alone are frequentist; they do not incorporate prior knowledge. Modern callers combine likelihoods with a population prior (e.g., allele frequency from gnomAD) using Bayes' theorem:
- Posterior ∝ Likelihood × Prior
- This transforms the raw
P(Data | Genotype)into the clinically actionable P(Genotype | Data). - A common prior is the Hardy-Weinberg equilibrium expectation, which provides the expected frequency of each genotype given the population allele frequency.
Marginal Likelihood Calculation
For each candidate genotype, the likelihood is computed by summing over all possible haplotype configurations of the aligned reads:
- Each read is treated as an independent observation drawn from one of the two haplotypes.
- The algorithm marginalizes over the unknown read-haplotype assignment.
- For a heterozygous genotype R/A, the likelihood is the product over reads of
0.5 * P(read | R) + 0.5 * P(read | A), reflecting the equal probability of sampling from either haplotype.
Frequently Asked Questions
Clear, technically precise answers to the most common questions about the statistical foundations of variant calling, covering the models, algorithms, and data that determine genotype probabilities from sequencing reads.
A diploid genotype likelihood is the probability of observing the aligned sequencing read data at a specific genomic locus, given a particular combination of two alleles. It is formally expressed as P(Read Data | Genotype = A/B), where A and B are the two alleles. The calculation integrates multiple sources of uncertainty: base quality scores (the probability that a called base is incorrect), mapping quality scores (the probability the read is misaligned), and the raw count of reads supporting each allele. The core model assumes that sequencing errors are independent across reads. For a candidate heterozygous genotype (e.g., A/B with alleles A and B), the likelihood accounts for the binomial sampling of the two alleles and a small error probability that a read supports an allele not present in the true genotype. Modern tools like DeepVariant do not calculate this analytically but learn the complex conditional probability directly from pileup images using a convolutional neural network, implicitly modeling error dependencies that simple probabilistic models miss.
Genotype Likelihood vs. Related Statistical Frameworks
A comparison of the core statistical model used for variant calling against other probabilistic frameworks commonly applied in sequencing analysis.
| Feature | Diploid Genotype Likelihood | Variant Quality Score Recalibration (VQSR) | Base Quality Score Recalibration (BQSR) |
|---|---|---|---|
Primary Objective | Calculate P(Data | G) for a specific locus | Calculate the probability that a variant call is a true positive | Empirically correct systematic sequencing errors |
Input Data | Pileup of aligned reads, base qualities, reference base | Known truth sets (e.g., HapMap, Omni), variant annotations | Covariates (e.g., machine cycle, dinucleotide context), reported quality scores |
Core Algorithm | Multinomial model with binomial sampling | Gaussian Mixture Model (GMM) | Gaussian Mixture Model (GMM) or Table-based recalibration |
Output | Phred-scaled likelihoods for 10 diploid genotypes | Variant Quality Score Log Odds (VQSLOD) | Recalibrated base quality scores (Phred scale) |
Handles Sequencing Error | |||
Handles Mapping Uncertainty | |||
Operates Per-Locus | |||
Requires External Truth Data |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Understanding diploid genotype likelihoods requires familiarity with the core statistical frameworks, data formats, and variant types that underpin modern genomic analysis pipelines.
Germline Variant Calling
The computational process of identifying inherited genetic variations present in all cells of an individual. This analysis operates under a diploid assumption, meaning the likelihood calculation must evaluate the probability of observing the sequencing data given all possible combinations of two alleles—homozygous reference (0/0), heterozygous (0/1), and homozygous alternate (1/1)—at each genomic locus.
Variant Allele Fraction (VAF)
The proportion of sequencing reads supporting a variant allele relative to the total read depth at a given locus. In a clean diploid sample, VAF serves as a critical prior for genotype likelihood calculations:
- Heterozygous (0/1): Expect VAF ≈ 50%
- Homozygous alternate (1/1): Expect VAF ≈ 100%
- Artifacts or somatic mosaicism: Often present with low VAF, requiring careful statistical modeling to distinguish from true heterozygous calls.
Base Quality Score Recalibration (BQSR)
A preprocessing step that applies machine learning to correct systematic errors in the per-base quality scores reported by the sequencing instrument. Accurate Phred-scaled error probabilities are essential inputs to the diploid genotype likelihood model, as inflated quality scores can cause the model to overconfidently call false heterozygous variants, while deflated scores reduce sensitivity.
Haplotype Phasing
The computational process of determining which alleles on a single chromosome are inherited together from the same parent. While genotype likelihoods estimate the unphased diploid state (e.g., A/G vs G/A), phasing resolves the arrangement of variants along homologous chromosomes. Read-backed phasing uses paired-end reads spanning multiple heterozygous sites to physically link alleles, refining the likelihood calculation for adjacent variants.
Variant Call Format (VCF)
The standardized text file format for storing gene sequence variations. The GT (Genotype) field encodes the diploid call, while the PL (Phred-scaled Likelihoods) field stores the normalized genotype likelihoods for all possible allele combinations. A typical PL entry like PL=0,30,100 indicates strong support for a homozygous reference call (0/0) over heterozygous (0/1) or homozygous alternate (1/1) states.
Strand Bias Artifact
A systematic sequencing error where a variant allele is observed predominantly on reads from one DNA strand. Diploid genotype likelihood models must account for this artifact, as a true heterozygous variant should show roughly equal allele representation on both the forward and reverse strands. Failure to model strand bias inflates false positive heterozygous calls, particularly in regions with oxidative damage during library preparation.

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.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us