Skip to main content
QUICK REVIEW

[Paper Review] Chaining with overlaps revisited

Veli Mäkinen, Kristoffer Sahlin|arXiv (Cornell University)|Jan 19, 2020
Genomics and Phylogenetic StudiesBiochemistry, Genetics and Molecular Biology7 citations
TL;DR

This paper revisits chaining with overlapping anchors in semi-global sequence alignment, proposing a corrected and proven O(n log²n)-time algorithm for exact matches and O(n log n)-time for non-overlapping or relaxed precedence cases. It establishes a direct connection between optimal chaining under weak precedence and the longest common subsequence (LCS) problem, showing that the chaining score equals the length of an anchor-restricted LCS.

ABSTRACT

Chaining algorithms aim to form a semi-global alignment of two sequences based on a set of anchoring local alignments as input. Depending on the optimization criteria and the exact definition of a chain, there are several $O(n \log n)$ time algorithms to solve this problem optimally, where $n$ is the number of input anchors. In this paper, we focus on a formulation allowing the anchors to overlap in a chain. This formulation was studied by Shibuya and Kurochin (WABI 2003), but their algorithm comes with no proof of correctness. We revisit and modify their algorithm to consider a strict definition of precedence relation on anchors, adding the required derivation to convince on the correctness of the resulting algorithm that runs in $O(n \log^2 n)$ time on anchors formed by exact matches. With the more relaxed definition of precedence relation considered by Shibuya and Kurochin or when anchors are non-nested such as matches of uniform length ($k$-mers), the algorithm takes $O(n \log n)$ time. We also establish a connection between chaining with overlaps to the widely studied longest common subsequence (LCS) problem.

Motivation & Objective

  • To address the lack of correctness proof in Shibuya and Kurochkin's (2003) chaining algorithm for overlapping anchors.
  • To develop a provably correct algorithm for chaining with overlaps under a strict precedence relation.
  • To reduce time complexity to O(n log²n) for exact matches and O(n log n) for non-overlapping or uniformly sized anchors (e.g., k-mers).
  • To establish a formal connection between chaining with overlaps and the longest common subsequence (LCS) problem.
  • To show that the optimal chain score under weak precedence corresponds exactly to the length of an anchor-restricted LCS.

Proposed method

  • Introduces a strict precedence relation between anchors, defined by all interval endpoints being strictly increasing in both sequences.
  • Uses semi-dynamic range maximum queries to efficiently compute optimal chain scores, relying on a general data structure rather than custom ones.
  • Derives the correctness of the algorithm through case analysis on overlapping and non-overlapping anchor pairs.
  • Modifies the coverage score to account for overlaps by subtracting overlapping segments, ensuring no overcounting of aligned characters.
  • Applies dynamic programming with state transitions based on anchor precedence and interval overlap.
  • Proves equivalence between optimal chaining under weak precedence and the anchor-restricted LCS problem via anchor reordering and score preservation.

Experimental results

Research questions

  • RQ1Can Shibuya and Kurochkin’s (2003) chaining algorithm for overlapping anchors be corrected and proven correct?
  • RQ2What is the time complexity of a provably correct chaining algorithm under strict precedence and overlapping anchors?
  • RQ3How does the chaining formulation with overlaps relate to the classical longest common subsequence (LCS) problem?
  • RQ4Can the optimal chain score be shown to equal the length of an anchor-restricted LCS?
  • RQ5Does relaxing the precedence condition preserve the O(n log n) time complexity for k-mer anchors or non-overlapping matches?

Key findings

  • The proposed algorithm runs in O(n log²n) time for exact matches and O(n log n) time when anchors are non-overlapping or under relaxed precedence, improving upon the original algorithm’s lack of correctness proof.
  • The algorithm is proven correct through detailed case analysis on anchor overlaps and precedence relations, resolving the gap in Shibuya and Kurochkin’s original work.
  • The coverage score in the chaining formulation correctly accounts for overlapping regions by subtracting shared segments, preventing overcounting of aligned characters.
  • An optimal chain under weak precedence corresponds exactly to the length of an anchor-restricted LCS, establishing a formal link between chaining and the LCS problem.
  • For k-mer matches or non-overlapping anchors, the algorithm simplifies to O(n log n) time, matching the best-known complexity for standard chaining problems.
  • The connection to LCS is proven by showing that any longer anchor-restricted LCS could be restructured into a higher-scoring chain, contradicting optimality.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.