Lossless Pangenome Indexing Using Tag Arrays
Preprint
- 18 January 2026
- preprint
- Published by Springer Nature in Research Square
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
- Version 1, 2026-01-18, Research Square
- Published version: Algorithms for Molecular Biology, 21 (1).
This publication has 43 references indexed in Scilit:
- Computational pan-genomics: status, promises and challengesBriefings in Bioinformatics, 2016
- A global reference for human genetic variationNature, 2015
- Improved genome inference in the MHC using a population reference graphNature Genetics, 2015
- Merging of multi-string BWTs with applicationsBioinformatics, 2014
- Indexing Graphs for Path Queries with Applications in Genome ResearchIEEE/ACM Transactions on Computational Biology and Bioinformatics, 2014
- Exploring single-sample SNP and INDEL calling with whole-genomede novoassemblyBioinformatics, 2012
- Storage and Retrieval of Highly Repetitive Sequence CollectionsJournal of Computational Biology, 2010
- Effect of read-mapping biases on detecting allele-specific expression from RNA-sequencing dataBioinformatics, 2009
- Fast and accurate short read alignment with Burrows–Wheeler transformBioinformatics, 2009
- Initial sequencing and analysis of the human genomeNature, 2001