Variant calling turns aligned sequencing reads into a list of positions where a sample differs from a reference. The output, a VCF file, looks simple: chromosome, position, reference base, alternate base, quality. Getting there involves a chain of steps. Each choice affects which variants are found and how many false ones survive. This article walks through the standard germline pipeline and points out where small projects most often go wrong.
Start with reads and a reference
The input is FASTQ files. First run quality control with FastQC and MultiQC, and trim only when the data justify it. Aggressive trimming can remove real signal, and modern base callers usually handle quality well enough that light trimming suffices.
Next, align the reads to a reference genome. Use BWA-MEM or BWA-MEM2 for short reads, or minimap2 for long reads. GRCh38, GRCh37 and the newer telomere-to-telomere assemblies are not interchangeable. Coordinates cannot be mixed without liftover. Record the exact assembly and annotation release.
Alignment produces a BAM file. Sort it, index it, and check mapping rate, properly paired fraction, insert size and coverage over the regions you care about. A sample with good FASTQ quality can still align badly because of contamination or the wrong reference.
Duplicates, base quality and coverage
Mark duplicates with Picard MarkDuplicates or samtools markdup. PCR duplicates inflate coverage and can create false evidence for a variant, especially at low allele fractions.
Base quality score recalibration adjusts quality scores for systematic errors specific to the run. GATK's BaseRecalibrator uses known variant sites to estimate these errors. It is optional; if you use it, report the known-sites resource and version.
Coverage determines what you can detect. A region with ten reads cannot support a heterozygous call, and a homozygous alternate call needs more evidence than a heterozygous one. Common conventions are around 30x for germline whole-genome sequencing, higher for exomes and somatic samples, but the right number depends on the question. Report mean coverage, the fraction of the target covered at a useful depth, and zero-coverage regions. The whole-exome workflow discusses capture-specific coverage problems.
Calling variants
Three routes are common for germline short variants.
GATK HaplotypeCaller performs local reassembly around regions with evidence of variation, which helps with indels and with variants near each other. In cohort mode it emits a genomic VCF, a gVCF, that records both variant sites and blocks of reference-matching positions. The blocks are what allow joint genotyping later.
bcftools mpileup followed by bcftools call is a lighter-weight route. It is fast, documented and widely used for non-human organisms and projects without the full GATK ecosystem. It handles multiallelic sites and can emit gVCF-like output with the right options.
DeepVariant converts the pileup into an image and uses a convolutional neural network to call genotypes. It is accurate on SNPs and indels and available in several pipeline frameworks, but needs a containerised environment and a compatible reference.
All three produce a VCF, but differences show up in indels, low-complexity regions and exon edges, so changing caller mid-project changes the variant list. Pick one, document the version and stay consistent.
Joint genotyping for cohorts
Calling each sample separately and merging the VCFs is possible, but it loses information. Joint genotyping combines the gVCFs from all samples, re-evaluates evidence at each site and produces one VCF with genotypes for everyone. In GATK this is GenomicsDBImport followed by GenotypeGVCFs.
Joint calling improves sensitivity for sites that are weakly supported in one sample but clear in others, and it makes genotype quality comparable across samples. Adding a sample later means re-running the joint genotyping, so plan the cohort before the final pass. Single-sample calling with careful filtering can be adequate for small projects; for association testing or clinical interpretation, joint calling is the safer default.
Filtering
A raw VCF contains errors. Filtering separates variants that look like real variation from those that look like mapping artefacts, strand bias or low-quality evidence.
For small exomes and targeted panels, hard filters are common. Typical GATK expressions combine quality by depth, strand bias, mapping quality, rank-sum and strand odds ratio. The thresholds are conventions, not truths, and should be adjusted to the capture and coverage.
For large cohorts, variant quality score recalibration builds a model from known true and false sites and assigns a quality score. It needs enough variants to train, so it suits whole-genome data and large exomes but not a ten-sample panel.
Filtering is not the same as multiple testing correction. A VCF can be perfectly filtered and still produce thousands of association signals by chance when tested. The guide to multiple testing and FDR covers that separate problem.
Normalisation and the VCF itself
Before annotation, normalise the VCF: split multiallelic sites and left-align indels against the reference with bcftools norm. Otherwise the same variant can appear in different representations, and merging or comparing files becomes unreliable.
The VCF has a header with metadata and one line per variant. Core columns are chromosome, position, identifier, reference allele, alternate allele, quality, filter status, INFO, FORMAT and one column per sample. Genotype fields such as GT, GQ, DP and AD carry the evidence. The VCF format guide explains each field and the difference between site-level and genotype-level records.
Keep the raw VCF, the filtered VCF and the filter expressions. Without the unfiltered original you cannot re-filter when the criteria change, and they often do.
Annotation
Annotation attaches biological meaning: gene, transcript, consequence, population frequency, clinical significance. VEP and SnpEff are the standard tools, and ANNOVAR is also common. If the output columns are unfamiliar, the guide to variant annotation columns explains what each one does and does not tell you.
Two choices dominate the output. The first is the transcript set. The same variant can be missense in one transcript and intronic in another, so use a consistent transcript reference, such as MANE Select where available, and state it. The second is the frequency resource. gnomAD provides population allele frequencies, and a variant that is common in the population is unlikely to cause a rare disease.
Clinical databases such as ClinVar add interpretations, but they are not truth. Classifications change between releases, and a variant of uncertain significance remains uncertain. In silico predictors such as CADD or REVEL are supporting evidence, not diagnoses.
Somatic calling is a different problem
Tumour samples add complications: low purity, subclonal variants, copy-number changes and formalin-fixation artefacts. Somatic callers such as Mutect2 use a matched normal where possible, a panel of normals to remove recurrent artefacts, and a germline resource to filter common variants. Tumour-only calling is possible but less reliable.
Structural and copy-number variants need separate tools. A short-variant pipeline will not find a large deletion or a translocation, so "no variants were found" is misleading if the question required them.
Validation
Orthogonal validation with Sanger sequencing or droplet digital PCR confirms a variant by an independent method. It is not necessary for every variant in a screen, but it is expected for variants that drive a conclusion, enter a clinical report or inform a breeding decision. For somatic variants, validate at the reported allele fraction.
Key points
- Variant calling starts with read QC, alignment to a named reference build, and coverage checks.
- Mark duplicates and decide explicitly whether to recalibrate base qualities.
- Choose a caller and keep it consistent: HaplotypeCaller, bcftools or DeepVariant all produce valid VCFs with different error profiles.
- Joint genotyping across a cohort improves genotype quality compared with merging single-sample calls.
- Hard filters suit small panels; VQSR needs large cohorts; learned scores are an alternative.
- Normalise and left-align indels before annotation or comparison.
- Transcript choice and population frequency resource change the annotation, so record both.
- Somatic, structural and copy-number variants need dedicated callers and different validation.
When to ask for help
If a VCF has an unexpected number of variants, a suspicious transition-transversion ratio, or a cluster of calls in one region, the cause is usually upstream: coverage, duplicates, mapping or reference mismatch. An analyst can trace the calls back through the BAM and the alignment statistics and tell you whether the problem is biological or technical. You can order an analysis or discuss the project through our WGS and WES variant analysis service. The free Variant workspace lets you inspect a VCF and its annotations, and the NGS pipeline overview shows how variant calling fits with the rest of a sequencing project.
Sources
- Van der Auwera et al., From FastQ data to high-confidence variant calls: the Genome Analysis Toolkit best practices pipeline (Current Protocols in Bioinformatics, 2013)
- Li and Durbin, Fast and accurate short read alignment with Burrows-Wheeler Aligner (Bioinformatics, 2009)
- Danecek et al., Twelve years of SAMtools and BCFtools (GigaScience, 2021)
- Poplin et al., A universal SNP and small-indel variant caller using deep neural networks (bioRxiv, 2018)
- McLaren et al., The Ensembl Variant Effect Predictor (Genome Biology, 2016)
- The Variant Call Format specification, version 4.2 (SAMtools/hts-specs)
- Benjamin et al., Calling somatic SNVs and indels with Mutect2 (bioRxiv, 2019)
Written by the Solagene team for research and education. Found an error? Tell us and we will correct it.