Network-based Variant Calling — Graph-genome Genotyping

Research
Introduced by
Erik Garrison, Paten lab (UCSC); Hannes Eggertsson, deCODE Genetics
Year
2017–2018
Type
Computational genomics pipeline
Family
Bioinformatics / omics

What does it do?

Network-based (graph-genome) variant calling replaces the single linear reference genome with a variation graph, in which nodes represent sequence segments and alternative alleles appear as parallel paths that diverge and rejoin at variant sites.

Reads are mapped onto this graph, so known variants are already represented in the reference and reads carrying them are not penalised as mismatches. The approach aims to reduce reference bias when calling SNPs, indels and structural variants. Key tools include the Variation Graph Toolkit (vg) and Graphtyper.

The intuition behind the method

A conventional variant caller works like navigating with one fixed road map. If your route uses a road the map does not show, the map reports an error rather than recognising a legitimate path. A graph-genome caller uses a map that already contains the known alternative roads: each catalogued variant is a fork in the graph. When a read follows an alternative fork, the caller can treat that path as valid and genotype it, instead of reading the difference as a sequencing error or a novel mutation. The benefit is expected to be greatest in repetitive regions and in populations that are poorly represented in the canonical reference, because the graph carries variation that the linear reference lacks.

History

Two papers cited on this page mark the development of the tools described here. Garrison et al. (2018) introduced the Variation Graph Toolkit, which represents genetic variation in the reference to improve read mapping. Eggertsson et al. (2017) described Graphtyper, which performs population-scale genotyping using pangenome graphs. Graph-aware aligners such as vg giraffe and GraphAligner are also used for read mapping to variation graphs.

When to use it

Use network-based variant calling when the study population is poorly represented in the standard linear reference, when accuracy at repeat-rich or structurally complex loci matters for the question, or when SNPs, indels and structural variants should be called within one framework. It suits large population studies in which known variants are to be re-genotyped across many samples rather than discovered de novo. Do not use it when computing resources are limited, since graph workflows are memory-intensive. It is also not a clear gain for studies restricted to conserved coding regions, where linear callers already perform well. Avoid it when no suitable population variant panel exists, because the graph then contains little of the variation that motivates the method.

Limitations and considerations

  • Memory and compute requirements are higher than for linear-reference pipelines, and large population graphs make this a practical constraint on hardware.
  • Accuracy is bounded by the variant panel used to build the graph. Rare or novel variants absent from the graph can still be missed or mis-genotyped.
  • Tooling and documentation are less standardised than for established linear callers such as GATK and DeepVariant, which raises the learning curve for new users.
  • Graph construction and read mapping take longer per sample than equivalent linear workflows, which can make small cohorts slower overall.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Is intended to reduce reference bias for alleles that are common in populations underrepresented in the canonical linear reference, because those alleles are already part of the graph.
  • Represents repeat-rich regions and structural variants as graph topology, which can make alignment at these loci less ambiguous than against a single linear sequence.
  • Allows known variants to be re-genotyped jointly across many samples, which suits population-scale cohorts.
  • Outputs standard VCF files, so results can be passed to downstream annotation and association tools without a special format.
  • Graphtyper was developed for population-scale genotyping using pangenome graphs (Eggertsson et al., 2017).

Applications

  • Re-genotyping known variants across large biobank-scale cohorts, where the graph is built from a shared population panel.
  • Clinical genomics for patients from ancestry groups underrepresented in the linear reference, where reference bias may affect genotype accuracy.
  • Structural variant discovery and genotyping in cancer genomics, where rearrangements produce complex graph topology.
  • HLA typing, a highly polymorphic region in which linear-reference mapping is difficult and graph representations of alleles are used.
  • Comparative analyses across related samples or species that share a common pangenome graph as the reference backbone.
  • Re-analysis of existing sequencing datasets to improve variant recall without new sequencing.

How it works

How it works

1

A variation graph is built by embedding known variants (for example from dbSNP or gnomAD, or from an existing population VCF) into the reference sequence as alternative paths. The graph is stored in GFA format. Each variant site appears as a bubble with two or more traversal paths between a shared start and end node.

2

Sequencing reads are aligned to the variation graph rather than to a linear reference. Graph-aware aligners, such as vg giraffe and GraphAligner, find a high-scoring path through the graph for each read. Because known variant sites are already graph paths, reads carrying those variants do not need to be forced onto the reference allele, which is where linear-reference aligners can introduce mismatches or soft-clipping at polymorphic sites.

3

Aligned reads are projected back onto the graph paths at each variant bubble and read support for each allele is tallied. The genotype at each site is then inferred from these counts and written as a standard VCF file. Each tool applies its own genotyping model, so consult its publication for the statistical details.

4

Called variants are filtered on quality metrics such as GQ, DP and allele balance, and annotated for functional consequence with tools such as ANNOVAR or VEP. Thresholds for these metrics depend on the tool and the study, so set them from validation against a truth set or from the distributions observed in your own data rather than from fixed defaults. Structural variants inferred from graph topology should be checked for support across samples. Population-level statistics, including Hardy-Weinberg equilibrium, can flag systematic genotyping errors before downstream analysis.

Common pitfalls

  • Building the graph from an incomplete or ancestrally mismatched variant panel reintroduces the reference bias the method is meant to remove. Use a diverse, curated resource matched to the study population, such as gnomAD or the 1000 Genomes Project.
  • Leaving low-frequency alleles in highly complex graph regions can create many small bubbles that trap reads and raise false-positive rates. Consider filtering rare alleles from graph construction where they form many small bubbles, since this trades sensitivity for specificity; evaluate the effect on known truth sets before adopting a threshold.
  • Mixing graph-called and linear-called datasets without checking coordinates can produce mismatched positions, because graph aligners do not always yield read coordinates that map directly to linear reference positions. Verify coordinate conversion before merging.
  • Accepting automated structural variant calls from graph paths without validation is risky, since these calls are error-prone. Novel SVs supported only by short reads should be corroborated with orthogonal evidence, such as long reads or optical mapping.

Frequently asked questions

How does network-based variant calling differ from GATK HaplotypeCaller?

GATK HaplotypeCaller maps reads to a single linear reference and assembles local haplotypes at candidate sites. Network-based callers use a pre-built graph in which known variants are explicit paths, so reads carrying those variants are not penalised for differing from the reference. The graph approach is intended to reduce reference bias and improve recall in polymorphic regions. GATK remains widely used for well-characterised coding regions and has a more established tooling base.

Do I need a population-specific variant panel to build the graph?

The graph quality depends directly on the variant panel used to construct it, so a panel that reflects the study population is important. Diverse public resources such as gnomAD or the 1000 Genomes Project are examples of such panels. If the study population differs substantially from the panel, the expected benefit of the graph is reduced. Adding study-specific variants to the graph in a later iteration is one way to address this.

Can graph-based variant calling handle long reads (PacBio, Oxford Nanopore)?

Read-type support differs between tools and should be confirmed in each tool's documentation rather than assumed, including for Graphtyper. Graph-aware aligners such as GraphAligner and vg giraffe are candidates for mapping reads to a graph, but whether a given aligner accepts long reads is a property of that tool. Long reads may help resolve some complex structural variants that short reads cannot place confidently, but the specific gains depend on the locus and the data, and should be checked on the study data.

Is the VCF output from network-based callers compatible with standard association analysis?

Graphtyper and vg call produce standard VCF files with per-sample genotype fields, which can be imported into association analysis tools that accept VCF input. The main caution is to confirm that variant positions correspond to the intended linear reference coordinates when graph-called and linear-called datasets are combined.

What sample sizes are appropriate for building a useful pangenome graph?

For re-genotyping known variants, a small study can benefit from a publicly available population graph. For building a new population-specific graph, the number of samples needed depends on the frequency of the variants of interest: common variants are captured with fewer samples, and rarer variants require substantially larger cohorts to be represented reliably.

Related methods

Sources

  1. Garrison, E., Sirén, J., Novak, A. M., Hickey, G., Eizenga, J. M., Dawson, E. T., Jones, W., Garg, S., Markello, C., Lin, M. F., Paten, B., & Durbin, R. (2018). Variation graph toolkit improves read mapping by representing genetic variation in the reference. Nature Biotechnology, 36(9), 875–879.

    Open DOI reference
  2. Eggertsson, H. P., Jonsson, H., Kristmundsdottir, S., Hjartarson, E., Kehr, B., Masson, G., Zink, F., Hjorleifsson, K. E., Jonasdottir, A., Jonasdottir, A., Jonsdottir, I., Gudbjartsson, D. F., Melsted, P., Stefansson, K., & Halldorsson, B. V. (2017). Graphtyper enables population-scale genotyping using pangenome graphs. Nature Genetics, 49(11), 1654–1660.

    Open DOI reference