Manuscript Offprint

arXiv:2611.09533

Pangenome Peeling: Decomposing Weighted Adjacencies into Path-Forest Genomes

Alitzel López Sánchez, Jiazhen Leng, Natasha Ivanova, Lingling Jin, David Sankoff

DECOMPOSING WEIGHTED ADJACENCIES INTO PATH-FOREST GENOMES

Alitzel López Sánchez

Department of Mathematics and Statistics

University of Ottawa

Ottawa, ON, Canada

alopezza@uottawa.ca

Jiazhen Leng

Department of Mathematics and Statistics

University of Ottawa

Ottawa, ON, Canada

jleng100@uottawa.ca

Natasha Ivanova

Department of Mathematics and Statistics

University of Ottawa

Ottawa, ON, Canada

nivan018@uottawa.ca

Lingling Jin

Department of Computer Science

University of Saskatchewan

Saskatoon, SK, Canada

lingling.jin@cs.usask.ca

David Sankoff

Department of Mathematics and Statistics

University of Ottawa

Ottawa, ON, Canada

sankoff@uottawa.ca

ABSTRACT

One aspect of pangenome analysis that has received little attention is the recovery of the individual genomes that gave rise to a pangenome graph. While substantial effort has focused on constructing pangenomes from collections of genomes, the inverse problem remains largely unexplored: given a pangenome represented as a set of weighted adjacencies, can we reconstruct the constituent linear genomes that underlie it?

Thus, we introduce the pangenome peeling problem, which seeks to decompose a weighted adjacency graph into a collection of linear genomes whose combined adjacencies reproduce the observed edge weights. This problem is particularly relevant when considering ancestral pangenomes, where the graph structure may be known or inferred, but the underlying genomes are not.

As a first step toward addressing this problem, we formally define pangenome peeling and derive a lower bound on the minimum number of genomes required to explain a given weighted adjacency graph. We then present two reconstruction methods: one based on the sequential addition of edges and a second based on extracting maximum-spanning-tree structures. Both methods produce genome collections that exactly explain the input adjacency data.

To evaluate the recovered sets of genomes, we compare them to the set of input genomes using a maximum-weight matching framework based on the double-cut-and-join distance with indels. Here, the maximum-spanning-tree approach is superior, producing sets of constituent genomes close to the simulations while the sequential addition of edges approach yields constituent genomes increasingly divergent from the input as genome sizes increase.

Keywords Pangenomics · Graph Decomposition · Combinatorial Optimization · Comparative Genomics

1 Introduction

The widespread adoption of long-read sequencing technologies has led to an unprecedented increase in the number of complete genomes available across diverse taxa. As genomic collections continue to expand, it has become elucidated

A PREPRINT

that a single reference genome cannot capture the full extent of genetic variation within a species. To address this limitation, comparative genomic studies increasingly rely on pangenomes, which provide a unified representation of the genetic content observed across multiple individuals [1, 2]. Pangenomes have emerged as a versatile framework for studying sequence diversity, genome evolution, and population-level variation across a wide range of organisms [3].

The utility of pangenomic approaches has been demonstrated across numerous biological systems. Early studies revealed substantial genetic variation that remained invisible under a single-reference paradigm. Notably, the soybean pangenome uncovered genes associated with disease resistance, flowering time, and seed composition that were absent from the cultivated reference genome [4]. Since then, pangenome analyses have become central to studies of adaptation, biodiversity, and crop improvement [5].

Despite these advances, most computational research on pangenomes has focused on the forward problem: constructing a pangenome representation from a collection of genomes. In contrast, little attention has been devoted to the inverse problem. Given a pangenome representation, what information can be recovered about the genomes that underlie it? Addressing this question is essential for understanding the expressive power of pangenome models, the information they preserve, and the ambiguities they inevitably contain.

Recovering constituent genomes from aggregate pangenomic information may prove valuable in settings where complete sampling is impossible. For many lineages, extant genomes provide only a partial view of the past genetic diversity, and extinct or unsampled lineages may have contributed substantially to the observed genomic landscape. This perspective has been useful in other areas of comparative genomics, including studies of horizontal gene transfer involving extinct and unsampled taxa [6]. Recovering constituent genomes from a pangenome may provide insight into genomic structures that are no longer directly observable.

Our contributions. In this work, we introduce the Pangenome Peeling Problem, a novel inverse formulation of pangenome reconstruction. We consider a weighted adjacency graph in which vertices represent genes and edge weights record the multiplicity of observed adjacencies across a collection of genomes. While such graphs are commonly used as pangenome representations, they aggregate information from multiple genomes and therefore obscure the identity of their constituent genomes. We study the problem of recovering a collection of genomes whose combined adjacency content exactly reproduces a given weighted adjacency graph.

We formally define this reconstruction problem and derive an approximate lower bound on the minimum number of constituent genomes required to explain a given instance. We further propose two algorithms based on sequential edge addition (SEQ) and maximum-spanning-tree path decompositions (MST). Using simulated benchmarks, we evaluate the inferred genome collections with respect to pangenome size, core set recovery, and structural similarity measured by the DCJ-indel distance. Our results revealing the superiority of the MST approach.

The open-source implementation of the proposed algorithms, the pangenome simulator, and all scripts used in the experimental evaluation are available at https://github.com/AliLopSan/pangesim.

References (13)

  • What are we learning from plant pangenomes? Annual Review of Plant Biology, 76:663–686, 2025
  • Pangenome graphs and their applications in biodiversity genomics
  • From map to blueprint: the plant pan-genome unraveling genetic mysteries and powering precision breeding
  • Nature biotechnology, 32(10):1045–1052, 2014
  • Genome Biology, 24(1):19, 2023
  • Lateral gene transfer from the dead
  • Annual review of genomics and human genetics, 21(1):139–162, 2020
  • Complexity welcome: Pangenome graphs for comprehensive population genomics
  • ODGI: understanding pangenome graphs
  • Nontrivial path covers of graphs: existence, minimization and maximization
  • Covering and packing in graphs
  • UNIMOG—a unifying framework for genomic distance calculation and sorting based on dcj
  • Double cut and join with insertions and deletions