Skip to content

pggb

Pangenome graph builder for researchers working with multiple genome assemblies

Permissive (OSI) · MIT

Listed by , founder & editor

37

Health

Slowing

Overview

Stars

521

Last commit

4 months ago

Jul 2026

Repository age

6 years

since Sep 2020

Latest version

v0.7.4

Apr 2025

Contributors

–

Releases

0

last 12 months

Docker pulls

5.8k

pangenome/pggb

Language

Shell

pggb builds pangenome variation graphs from a set of input sequences. A graph like this works as a general multiple sequence alignment and shows where genomes share the same path and where they differ.

The pipeline is a shell tool that chains several programs. It does all-to-all alignment with wfmash, graph induction with seqwish, and normalization with smoothxg and gfaffix. It then produces diagnostic visualizations with odgi. It can also write a VCF of small and large variants against any reference in the graph using vg. Output is GFAv1, which other genome graph tools such as vg and odgi can read.

You can install it through Docker, Singularity, bioconda, guix or a manual build. Input is a FASTA file, optionally bgzip-compressed and indexed with samtools. It has been used in the Human Pangenome Reference Consortium to build a graph from the draft human pangenome, and a Nature Methods paper describes the method. It is MIT licensed.

Who it's for

Genomics researchers building pangenomes

It turns a FASTA of many haplotypes into a GFA graph with visual diagnostics.

Skip if: You only need a single reference genome alignment.

Bioinformatics pipeline engineers

It ships as Docker and Singularity images and a command-line tool.

Skip if: You need a graphical interface.

The problem it solves

Comparing many genomes against one reference hides variation that a reference does not contain. pggb builds a graph from all your sequences so differences of any size can be examined together.

Strengths

  • Outputs GFAv1, usable with vg and odgi
  • Can write VCF against any reference in the graph
  • Used by the Human Pangenome Reference Consortium
  • Docker, Singularity, bioconda and guix installs

Trade-offs

  • Command-line only
  • Maintenance has slowed, with no release in the last year
  • Large genomes need many threads and careful partitioning
  • Needs well-formed, indexed FASTA input

Self-host pggb

Self-hostable
No (desktop or local app)
Docker image
pangenome/pggb

Quick start

pggb -i in.fa \       # input file in FASTA format
     -o output \      # output directory
     -n 9 \           # number of haplotypes (optional with PanSN-spec)
     -t 16 \          # number of threads
     -p 90 \          # minimum average nucleotide identity for segments

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is it free?

Yes. It is open source under the MIT license.

What output does it produce?

A GFAv1 graph, plus 1D and 2D visualizations by default and an optional VCF.

How do I install it?

Use Docker, Singularity, bioconda or guix, or build the dependencies manually.

Where is it published?

A Nature Methods paper from 2024 describes pggb.

Similar tools in Scientific research and GIS software

Open Science

Scientific research and GIS software

Local-first desktop workbench for running AI agents on research projects, with any model

2.1k 234 today Thriving MIT

Avogadro

Scientific research and GIS software

Cross-platform molecular editor and visualizer for chemistry, materials and teaching

710 263 today Active BSD-3-Clause

Sky Map

Scientific research and GIS software

1.9k 290 today Thriving GPL-3.0-or-later

open-dronelog

Scientific research and GIS software

1.6k 223 today Thriving AGPL-3.0

WeeWX

Scientific research and GIS software

1.2k 326 yesterday Active GPL-3.0

eLabFTW

Scientific research and GIS software

1.5k 376 today Thriving AGPL-3.0