[Paper Review] Linear Time Construction of Indexable Founder Block Graphs
This paper presents a linear-time algorithm to construct a segment repeat-free founder block graph from a gapless multiple sequence alignment (MSA), enabling efficient string matching via a succinct index. The method combines dynamic programming for optimal segmentation with a fully-functional bidirectional BWT index, resulting in a compressed graph structure that supports fast pattern queries while using only 3% of the original MSA size.
We introduce a compact pangenome representation based on an optimal segmentation concept that aims to reconstruct founder sequences from a multiple sequence alignment (MSA). Such founder sequences have the feature that each row of the MSA is a recombination of the founders. Several linear time dynamic programming algorithms have been previously devised to optimize segmentations that induce founder blocks that then can be concatenated into a set of founder sequences. All possible concatenation orders can be expressed as a founder block graph. We observe a key property of such graphs: if the node labels (founder segments) do not repeat in the paths of the graph, such graphs can be indexed for efficient string matching. We call such graphs segment repeat-free founder block graphs. We give a linear time algorithm to construct a segment repeat-free founder block graph given an MSA. The algorithm combines techniques from the founder segmentation algorithms (Cazaux et al. SPIRE 2019) and fully-functional bidirectional Burrows-Wheeler index (Belazzougui and Cunial, CPM 2019). We derive a succinct index structure to support queries of arbitrary length in the paths of the graph. Experiments on an MSA of SAR-CoV-2 strains are reported. An MSA of size $410 imes 29811$ is compacted in one minute into a segment repeat-free founder block graph of 3900 nodes and 4440 edges. The maximum length and total length of node labels is 12 and 34968, respectively. The index on the graph takes only $3\%$ of the size of the MSA.
Motivation & Objective
- To develop a compact, indexable pangenome representation that supports efficient string matching on founder sequences.
- To address over-expressiveness in pangenome models by using optimal segmentation to reconstruct founder sequences from MSAs.
- To enable efficient querying of arbitrary-length patterns on paths of the founder block graph through succinct indexing.
- To extend the applicability of founder block graphs to general MSAs with gaps, though theoretical foundations remain under development.
Proposed method
- Use dynamic programming to compute an optimal segmentation of the MSA into founder blocks, minimizing discontinuities in row mappings.
- Construct a directed acyclic graph (DAG) where nodes represent non-repeating segments of founder sequences and edges represent transitions between consecutive blocks.
- Enforce the segment repeat-free property: no segment label appears more than once in any path, enabling efficient indexing.
- Integrate a fully-functional bidirectional Burrows-Wheeler transform (BWT) to support fast pattern matching on graph paths.
- Apply succinct data structures to index the graph, ensuring minimal space overhead—only 3% of the MSA size in experiments.
- Extend the method to handle gapped MSAs by detecting nested BWT intervals and deferring left-extension when nested repeats are encountered.
Experimental results
Research questions
- RQ1Can a founder block graph be constructed in linear time from a gapless MSA while ensuring segment repeat-freeness for efficient indexing?
- RQ2How can a succinct index be built on a founder block graph to support exact string matching of arbitrary-length patterns?
- RQ3What is the space and time efficiency of the proposed indexing structure compared to the original MSA?
- RQ4Can the approach be generalized to handle gapped MSAs without sacrificing time complexity or indexing efficiency?
Key findings
- The algorithm constructs a segment repeat-free founder block graph in linear time from a gapless MSA, achieving optimal segmentation with minimal row discontinuities.
- On an SARS-CoV-2 MSA of 410 strains and 29,811 columns, the method produced a graph with 3,900 nodes and 4,440 edges in 58 seconds.
- The total length of node labels in the graph was 34,968, and the succinct index occupied only 87 KB—3% of the original MSA size (2984 KB).
- Query performance was independent of MSA size but linear in pattern length, with consistent response times across different sample sizes and pattern lengths.
- The approach supports efficient string matching on paths of the graph, with no performance degradation from input size, demonstrating scalability.
- Initial experiments on gapped MSAs show behavior similar to the gapless case, though theoretical guarantees for full generality remain to be established.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.