What is variant calling in NGS?

Variant calling is the computational process of identifying genetic variants — single nucleotide polymorphisms (SNPs), insertions and deletions (indels), and structural variants — by comparing aligned sequencing reads to a reference genome. It is a core step in every NGS analysis pipeline, from clinical diagnostics to population genomics.

What Is Variant Calling?

Variant calling is the bioinformatics process of identifying genetic differences between a sequenced sample and a reference genome. These differences — or genetic variants — include single nucleotide polymorphisms (SNPs), small insertions and deletions (indels), copy number variants (CNVs), and structural variants (SVs). Variant calling is the central analytical step in every next-generation sequencing (NGS) pipeline, transforming raw sequencing data into actionable biological insights.

The process involves comparing aligned sequencing reads to a reference genome, identifying positions where the sample differs from the reference, and applying statistical models to distinguish true variants from sequencing errors. Modern variant callers use Bayesian inference, machine learning, or heuristic methods to make these calls with high accuracy.

Key Concept

Variant calling is NOT the same as variant annotation. Calling identifies where the genome differs from the reference. Annotation determines what the functional consequence of that difference is — missense, nonsense, splice site, regulatory, or intergenic.

The Complete Variant Calling Workflow

1. Read Alignment (Mapping)

Raw sequencing reads are aligned to a reference genome using aligners like BWA-MEM, Bowtie2, or Minimap2. The output is a BAM or SAM file containing read positions, mapping quality scores, and alignment information. Proper alignment is critical — poor mapping leads to false variant calls.

2. Pre-Processing

Aligned reads undergo several quality improvement steps: Mark Duplicates (Picard MarkDuplicates or samtools markdup) tags PCR and optical duplicate reads. Base Quality Score Recalibration (BQSR) recalibrates base quality scores using known variant sites. Indel Realignment realigns reads around indels to reduce false positives. These steps are standard in the GATK Best Practices pipeline.

3. Variant Discovery

The core step. Variant callers analyze the aligned read pileup at each genomic position and apply statistical models to determine if a variant is present. Key tools include:

  • GATK HaplotypeCaller — Industry standard for germline SNP/indel calling. Uses a de Bruijn graph-based local assembly and Bayesian likelihood model.
  • Mutect2 — GATK's somatic caller, designed for tumor-normal paired analysis. Accounts for cross-sample contamination and tumor heterogeneity.
  • FreeBayes — Bayesian genetic variant detector that calls variants from multiple samples simultaneously. Handles complex multi-allelic sites well.
  • DeepVariant — Google's deep learning-based caller that uses a convolutional neural network on pileup images. Produces highly accurate calls, especially in difficult regions.
  • Strelka2 — Fast and accurate small variant caller for germline and somatic analysis. Uses a novel log-likelihood model with efficient filtering.

4. Filtering & Quality Control

Raw variant calls contain false positives. Standard filters include: QUAL score (keep variants with Phred-scaled quality > 30), read depth (DP > 10), genotype quality (GQ > 20), strand bias (FS < 60 for SNPs, < 200 for indels), and mapping quality (MQ > 40). The GATK VQSR (Variant Quality Score Recalibration) tool uses machine learning to filter variants based on multiple annotations simultaneously.

5. Variant Annotation

Filtered variants are annotated with functional impact using tools like ANNOVAR, SnpEff, or VEP. Annotations include: gene name and transcript ID, variant type (missense, nonsense, synonymous, splice site), predicted protein change, population allele frequency from gnomAD, and clinical significance from ClinVar.

Germline vs Somatic Variant Calling

Feature Germline Calling Somatic Calling
Sample type Single sample (blood, saliva) Tumor-normal paired or tumor-only
Expected VAF 50% (heterozygous) or 100% (homozygous) 1-50% (tumor heterogeneity + stroma)
Key variant callers GATK HaplotypeCaller, DeepVariant, FreeBayes Mutect2, Strelka2 somatic, VarScan2
Reference databases gnomAD, 1000 Genomes, dbSNP COSMIC, TCGA
Filtering strategy Hard filters + VQSR Panel of normals, contamination filtering, orientation bias
Primary applications Inherited disease, pharmacogenomics, population genetics Cancer genomics, liquid biopsy, tumor evolution

Variant Calling Tools Compared

Tool Method Strengths Limitations Best For
GATK HaplotypeCaller Bayesian + local assembly Industry standard, excellent documentation, best practices framework Slow for large cohorts, complex workflow Germline SNP/indel calling
Mutect2 Bayesian with contamination model Excellent somatic calling, handles FFPE data well Requires matched normal, memory intensive Somatic mutation detection
DeepVariant CNN deep learning Highest accuracy, low false positives, simple pipeline GPU required for large datasets High-precision germline calling
FreeBayes Bayesian haplotype-based Fast, handles multi-allelic sites, multi-sample calling Less accurate in high-depth regions Rapid screening, microbial variant calling
Strelka2 Likelihood model Fast, accurate, low memory usage Limited structural variant detection Production pipelines, both germline and somatic

Key Applications

Clinical Diagnostics

Variant calling is used to identify disease-causing mutations in patients with suspected genetic disorders. Clinical workflows require high sensitivity and specificity, with orthogonal validation (Sanger sequencing) of all reported variants. The AMP/ASCO/CAP guidelines provide standards for clinical variant interpretation.

Cancer Genomics

Somatic variant calling from tumor sequencing identifies driver mutations, guides targeted therapy selection, and monitors minimal residual disease. Key challenges include tumor heterogeneity, low tumor purity, and clonal hematopoiesis artifacts. Liquid biopsy variant calling requires ultra-deep sequencing (100,000x) and specialized error suppression techniques.

Population Genomics

Large-scale variant calling across thousands of samples (e.g., gnomAD, 1000 Genomes, UK Biobank) powers GWAS, rare variant association studies, and understanding human genetic diversity. Joint calling across all samples simultaneously improves low-frequency variant detection.

Infectious Disease Genomics

Variant calling from pathogen sequencing identifies drug resistance mutations (e.g., HIV, hepatitis, tuberculosis), tracks transmission chains, and monitors viral evolution. Pathogen variant calling often uses specialized tools due to high genetic diversity and variable coverage.

Pharmacogenomics

Identifying known pharmacogenetic variants (e.g., CYP2C19, CYP2D6, VKORC1, TPMT) from sequencing data enables personalized drug dosing and prevention of adverse drug reactions. Allele-specific genotyping from variant calls is translated into actionable prescribing guidelines.

Common Challenges & Troubleshooting

High false positive rate: Often caused by sequencing errors in homopolymer regions, misalignment around indels, or poor base quality scores. Mitigate with BQSR, hard filtering, and VQSR.

Low sensitivity in difficult regions: GC-rich regions, segmental duplications, and pseudogenes are poorly covered by short reads. Use long-read sequencing or targeted amplicon sequencing with deep coverage.

Batch effects: Variant calls differ across sequencing runs, capture kits, and bioinformatics pipeline versions. Joint calling and consistent pipeline versions minimize batch effects in cohort studies.

Copy number variant calling: Short-read NGS has limited sensitivity for CNVs. Use dedicated tools (CNVnator, Delly, Manta) or array-based methods for robust CNV detection.

Design Primers for Targeted Variant Validation with VigyanLLM

Use VigyanLLM free automated primer design to validate called variants by PCR and Sanger sequencing. Design primers around any genomic coordinate with automated specificity checking via BLAST.

Design Primers Free →