arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2204.05969cs.DS
收藏

利用字符串压缩为重复性文本高效构建BWT

Efficient Construction of the BWT for Repetitive Text Using String Compression

Diego Díaz-Domínguez, Gonzalo Navarro

AI总结:

本文提出一种基于诱导后缀排序与游程/语法压缩的半外部算法,以期望线性时间构建BCR BWT,在重复性大规模基因组数据上显著降低内存并提升速度。

摘要:

我们提出了一种新的半外部算法,能够在期望线性时间内构建Bauer等人的Burrows–Wheeler变换变体(即BCR BWT)。当输入规模巨大且具有重复性时,我们的方法利用压缩技术降低计算成本。具体而言,我们以诱导后缀排序(ISS)为基础,并借助游程压缩和语法压缩来以紧凑形式维护中间结果。我们的压缩格式不仅节省空间,还加快了所需计算的速度。实验表明,当文本具有重复性时,该方法在空间和计算时间上都有显著节省。在中等规模的真实人类基因组组装集合(14.2 GB–75.05 GB)上,我们的内存峰值平均比最先进的BCR BWT构建算法(ropebwt2)小1.7倍,同时运行速度快5倍。我们当前的实现还能够在41.21小时内、使用118.83 GB工作内存(约为输入大小的10%)计算400个真实人类基因组组装(1.2 TB)的BCR BWT。值得注意的是,我们在1.2 TB文件上报告的结果主要受限于在内存约束下扫描大文件的困难(特别是I/O操作)。这一事实表明,通过更仔细地实现我们的方法,我们可以表现得更好,从而高效扩展到更大的规模。

英文摘要:

We present a new semi-external algorithm that builds the Burrows--Wheeler transform variant of Bauer et al. (a.k.a., BCR BWT) in linear expected time. Our method uses compression techniques to reduce computational costs when the input is massive and repetitive. Concretely, we build on induced suffix sorting (ISS) and resort to run-length and grammar compression to maintain our intermediate results in compact form. Our compression format not only saves space but also speeds up the required computations. Our experiments show important space and computation time savings when the text is repetitive. In moderate-size collections of real human genome assemblies (14.2 GB - 75.05 GB), our memory peak is, on average, 1.7x smaller than the peak of the state-of-the-art BCR BWT construction algorithm (\texttt{ropebwt2}), while running 5x faster. Our current implementation was also able to compute the BCR BWT of 400 real human genome assemblies (1.2 TB) in 41.21 hours using 118.83 GB of working memory (around 10\% of the input size). Interestingly, the results we report in the 1.2 TB file are dominated by the difficulties of scanning huge files under memory constraints (specifically, I/O operations). This fact indicates we can perform much better with a more careful implementation of our method, thus scaling to even bigger sizes efficiently.

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

↑