GViNC

Visualise, navigate and quantitatively compare large genome graphs, pinpointing the regions of the genome where human populations differ most.

GViNC: comparing genome graphs across populations overview

What it does

A genome graph represents many individuals’ genomes in a single structure: the reference sequence runs along a path, and wherever people differ, the graph branches. These branches capture genetic diversity far better than a single linear reference, but as soon as the graph covers thousands of human genomes it becomes too large to compare or even look at as a whole.

GViNC (Genome graph Visualization, Navigation, and Comparison) is a Snakemake workflow, built on top of the vg toolkit and NetworkX, that makes these graphs tractable. It slices a graph into bins along the reference path, counts how branched each region is, and summarises the whole genome graph as a single circular figure.

To measure diversity it defines two kinds of node. A variable node is any position where alternative alleles exist; a hypervariable node is one more complex than a single SNP could ever be (out-degree above four), flagging regions of unusually dense polymorphism. Counting these across bins gives per-region scores, and a graph-distance metric lets you compare whole graphs, for example one population against another.

Why it matters

  • Thousands of genomes in one picture. GViNC rendered a pan-genome graph built from 85 million variants across 2,504 individuals of the 1000 Genomes Project as a single bird’s-eye figure, something existing tools could not do at this scale.
  • Diversity varies by ancestry and chromosome. Applied to population-specific graphs (African, American, East Asian, European, South Asian), GViNC showed that genomic complexity differs between ancestries and across chromosomes.
  • Rare variants drive complexity. Including rare variants increased overall variability about 10-fold, but increased hypervariability roughly 50-fold, showing rare variants are what make regions hypervariable.
  • Finds the hotspots, known and new. GViNC highlighted the expected highly diverse loci such as the HLA region and the DEFB β-defensin clusters, and also surfaced previously unreported high-diversity regions, some with population-specific signatures in protein-coding and regulatory genes.

Key features

  • Partitions a genome graph into reference-anchored subgraphs (bins)
  • Per-bin variability and hypervariability metrics, plus a graph-distance measure for comparing graphs
  • Maps linear genomic coordinates onto graph nodes for navigation
  • Single-figure Circos visualisation of an entire genome graph
  • Portable, reproducible Snakemake pipeline with a bundled Conda environment

Getting started

GViNC is run as a Snakemake workflow. Create the bundled Conda environment (conda env create -f envs/gvinc.yaml), place bgzipped and indexed per-chromosome VCF files in the input folder, point config/config.yaml at your linear reference genome and karyotype file, and launch the analysis with snakemake --cores N. The repository ships with the karyotype file for human reference GRCh38. See the repository README for the full input layout and the complete list of output tables and plots.

How to cite

If GViNC helps your research, please cite:

Venkatesh Kamaraj, Ayam Gupta, Karthik Raman, Manikandan Narayanan, Himanshu Sinha (2025). GViNC: an innovative framework for genome graph comparison reveals hidden patterns in the genetic diversity of human populations. Nucleic Acids Research: Genomics and Bioinformatics 7:lqaf121. doi:10.1093/nargab/lqaf121

BibTeX
@article{Kamaraj2025GViNC,
  author  = {Venkatesh Kamaraj and Ayam Gupta and Karthik Raman and Manikandan Narayanan and Himanshu Sinha},
  title   = {GViNC: an innovative framework for genome graph comparison reveals hidden patterns in the genetic diversity of human populations},
  journal = {Nucleic Acids Research: Genomics and Bioinformatics},
  year    = {2025},
  volume  = {7},
  pages   = {lqaf121},
  doi     = {10.1093/nargab/lqaf121}
}