arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.13920cs.DS
收藏

层次重叠图的实用算法

Practical algorithms for Hierarchical overlap graphs

Saumya Talera, Parth Bansal, Shabnam Khan, Shahbaz Khan

AI总结:

针对层次重叠图(HOG)计算及后缀-前缀查询问题,提出仅使用基本数组的最优实用算法,在十亿字符级数据集上实现毫秒级查询,兼顾理论与实际性能。

摘要:

基因组组装是生物信息学中的一个重要问题,它利用一组重叠子串来计算源字符串。传统上,基因组组装使用由这组子串构建的组装图来高效计算源字符串,在可扩展性和避免信息丢失之间存在权衡。可扩展的 de Bruijn 图以丢失关键重叠信息为代价。完整的重叠信息使用二次空间的 overlap graphs 存储。Hierarchical overlap graphs [IPL20] (HOG) 克服了这些限制,尽管使用线性空间,仍避免了信息丢失。经过一系列次优改进后,Khan 和 Park 等人同时提出了两种最优算法 [CPM2021],其中只有前者看似实用。我们实证分析了所有计算 Hierarchical overlap graphs 的算法,其中最优算法 [CPM2021] 如预期般优于以前的算法。然而,它的形式证明仍然基于相对复杂的论证,并且在实现时使用了相对复杂的数据结构。我们提出了一种直观的算法,仅使用基本数组,并且也是最优的。我们的算法在所有算法中经实证证明在时间和内存上表现更好,突显了其在理论和实践中的重要性。我们进一步探索了层次重叠图在解决字符串集合上后缀-前缀查询变体中的应用,这是 Loukides 等人 [CPM2023] 最近研究的。他们提出了需要复杂黑盒数据结构的最新算法,使其看似不切实际。我们的算法尽管未能匹配它们的理论界限,但对于拥有约十亿字符的数据集,能在 0.002-100 ms 内回答查询。

英文摘要:

Genome assembly is a prominent problem studied in bioinformatics, which computes the source string using a set of its overlapping substrings. Classically, genome assembly uses assembly graphs built using this set of substrings to compute the source string efficiently, having a tradeoff between scalability and avoiding information loss. The scalable de Bruijn graphs come at the price of losing crucial overlap information. The complete overlap information is stored in overlap graphs using quadratic space. Hierarchical overlap graphs [IPL20] (HOG) overcome these limitations, avoiding information loss despite using linear space. After a series of suboptimal improvements, Khan and Park et al. simultaneously presented two optimal algorithms [CPM2021], where only the former was seemingly practical. We empirically analyze all the algorithms for computing Hierarchical overlap graphs, where the optimal algorithm~[CPM2021] outperforms the previous algorithms as expected. However, it is still based on relatively complex arguments for its formal proof and uses relatively complex data structures for its implementation. We present an intuitive algorithm, using only elementary arrays, which is also optimal. Our algorithm empirically proves even better for both time and memory over all the algorithms, highlighting its significance in both theory and practice. We further explore the applications of hierarchical overlap graphs to solve variants of suffix-prefix queries on a set of strings, recently studied by Loukides et al.~[CPM2023]. They presented state-of-the-art algorithms requiring complex black-box data structures, making them seemingly impractical. Our algorithms, despite failing to match their theoretical bounds, answer queries in $0.002$-$100~ms$ for datasets having around a billion characters.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑