Lossless pangenome indexing using tag arrays
Authors:
Open Access
- 18 June 2026
- journal article
- Published by Springer Nature in Algorithms for Molecular Biology
- Vol. 21 (1)
Abstract
Pangenome graphs represent the genomic variation by encoding multiple haplotypes within a unified graph structure. However, efficient and lossless indexing of such structures remains challenging due to the scale and complexity of pangenomic data. We present a practical and scalable indexing framework based on tag arrays, which annotate positions in the Burrows–Wheeler transform (BWT) with graph coordinates. Our method extends the FM-index with a run-length compressed tag structure that enables efficient retrieval of all unique graph locations where a query pattern appears. We introduce a novel construction algorithm that combines unique k -mers, graph-based extensions, and haplotype traversal to compute the tag array in a memory-efficient manner. To support large genomes, we process each chromosome independently and then merge the results into a unified index using properties of the multi-string BWT and r-index. Our evaluation on the HPRC graphs demonstrates that the tag array structure compresses effectively, scales well with added haplotypes, and preserves accurate mapping information across diverse regions of the genome. This indexing method enables lossless and haplotype-aware querying in complex pangenomes and offers a practical indexing layer to develop scalable aligners and downstream graph-based analysis tools. The index additionally supports efficient one-to-all coordinate translation, enabling any interval on a haplotype to be mapped to its corresponding intervals across all other haplotypes in the graph.Keywords
All Related Versions
Funding Information
- National Human Genome Research Institute
This publication has 46 references indexed in Scilit:
- How to Find Long Maximal Exact Matches and Ignore Short Ones2024
- Wheeler Maps2024
- Efficient construction of the BWT for repetitive text using string compressionInformation and Computation, 2023
- Variation graph toolkit improves read mapping by representing genetic variation in the referenceNature Biotechnology, 2018
- Wheeler graphs: A framework for BWT-based data structuresTheoretical Computer Science, 2017
- Document retrieval on repetitive string collectionsInformation Retrieval Journal, 2017
- A global reference for human genetic variationNature, 2015
- Succinct de Bruijn Graphs2012
- Compressed Suffix Arrays for Massive Data2009
- Initial sequencing and analysis of the human genomeNature, 2001