Computing the original eBWT faster, simpler, and with less memory.

IF 1 Q4 RESPIRATORY SYSTEM
Egyptian Journal of Bronchology Pub Date : 2021-10-01 Epub Date: 2021-09-27 DOI:10.1007/978-3-030-86692-1_11
Christina Boucher, Davide Cenzato, Zsuzsanna Lipták, Massimiliano Rossi, Marinella Sciortino
{"title":"Computing the original eBWT faster, simpler, and with less memory.","authors":"Christina Boucher, Davide Cenzato, Zsuzsanna Lipták, Massimiliano Rossi, Marinella Sciortino","doi":"10.1007/978-3-030-86692-1_11","DOIUrl":null,"url":null,"abstract":"<p><p>Given an input string, the <i>Burrows-Wheeler Transform</i> (BWT) can be seen as a reversible permutation of it that allows efficient compression and fast substring queries. Due to these properties, it has been widely applied in the analysis of genomic sequence data, enabling important tasks such as read alignment. Mantaci et al. [TCS2007] extended the notion of the BWT to a collection of strings by defining the <i>extended Burrows-Wheeler Transform</i> (eBWT). This definition requires no modification of the input collection, and has the property that the output is independent of the order of the strings in the collection. However, over the years, the term eBWT has been used more generally to describe any BWT of a collection of strings. The fundamental property of the original definition (i.e., the independence from the input order) is frequently disregarded. In this paper, we propose a simple linear-time algorithm for the construction of the original eBWT, which does not require the preprocessing of Bannai et al. [CPM 2021]. As a byproduct, we obtain the first linear-time algorithm for computing the BWT of a single string that uses neither an end-of-string symbol nor Lyndon rotations. We also combine our new eBWT construction with a variation of <i>prefix-free parsing</i> (PFP) [WABI 2019] to allow for construction of the eBWT on large collections of genomic sequences. We implement this combined algorithm (pfpebwt) and evaluate it on a collection of human chromosomes 19 from the 1,000 Genomes Project, on a collection of Salmonella genomes from GenomeTrakr, and on a collection of SARS-CoV2 genomes from EBI's COVID-19 data portal. We demonstrate that pfpebwt is the fastest method for all collections, with a maximum speedup of 7.6x on the second best method. The peak memory is at most 2x larger than the second best method. Comparing with methods that are also, as our algorithm, able to report suffix array samples, we obtain a 57.1x improvement in peak memory. The source code is publicly available at https://github.com/davidecenzato/PFP-eBWT.</p>","PeriodicalId":34128,"journal":{"name":"Egyptian Journal of Bronchology","volume":"13 1","pages":"129-142"},"PeriodicalIF":1.0000,"publicationDate":"2021-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11090109/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Egyptian Journal of Bronchology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1007/978-3-030-86692-1_11","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2021/9/27 0:00:00","PubModel":"Epub","JCR":"Q4","JCRName":"RESPIRATORY SYSTEM","Score":null,"Total":0}
引用次数: 0

Abstract

Given an input string, the Burrows-Wheeler Transform (BWT) can be seen as a reversible permutation of it that allows efficient compression and fast substring queries. Due to these properties, it has been widely applied in the analysis of genomic sequence data, enabling important tasks such as read alignment. Mantaci et al. [TCS2007] extended the notion of the BWT to a collection of strings by defining the extended Burrows-Wheeler Transform (eBWT). This definition requires no modification of the input collection, and has the property that the output is independent of the order of the strings in the collection. However, over the years, the term eBWT has been used more generally to describe any BWT of a collection of strings. The fundamental property of the original definition (i.e., the independence from the input order) is frequently disregarded. In this paper, we propose a simple linear-time algorithm for the construction of the original eBWT, which does not require the preprocessing of Bannai et al. [CPM 2021]. As a byproduct, we obtain the first linear-time algorithm for computing the BWT of a single string that uses neither an end-of-string symbol nor Lyndon rotations. We also combine our new eBWT construction with a variation of prefix-free parsing (PFP) [WABI 2019] to allow for construction of the eBWT on large collections of genomic sequences. We implement this combined algorithm (pfpebwt) and evaluate it on a collection of human chromosomes 19 from the 1,000 Genomes Project, on a collection of Salmonella genomes from GenomeTrakr, and on a collection of SARS-CoV2 genomes from EBI's COVID-19 data portal. We demonstrate that pfpebwt is the fastest method for all collections, with a maximum speedup of 7.6x on the second best method. The peak memory is at most 2x larger than the second best method. Comparing with methods that are also, as our algorithm, able to report suffix array samples, we obtain a 57.1x improvement in peak memory. The source code is publicly available at https://github.com/davidecenzato/PFP-eBWT.

计算原始 eBWT 更快、更简单、内存更少。
给定一个输入字符串,Burrows-Wheeler 变换(BWT)可以看作是对其进行的可逆排列,可以实现高效压缩和快速子串查询。由于这些特性,BWT 已被广泛应用于基因组序列数据的分析中,实现了读取比对等重要任务。Mantaci 等人[TCS2007]通过定义扩展 Burrows-Wheeler 变换(eBWT),将 BWT 的概念扩展到字符串集合。该定义无需修改输入集合,且输出与集合中字符串的顺序无关。不过,多年来,eBWT 一词已被更广泛地用于描述字符串集合的任何 BWT。原始定义的基本属性(即与输入顺序无关)经常被忽视。在本文中,我们提出了一种构建原始 eBWT 的简单线性时算法,它不需要 Bannai 等人[CPM 2021]的预处理。作为副产品,我们获得了第一个计算单字符串 BWT 的线性时间算法,该算法既不使用字符串末符号,也不使用 Lyndon 旋转。我们还将新的 eBWT 结构与无前缀解析(PFP)[WABI 2019]的一种变体结合起来,以便在大量基因组序列集合上构建 eBWT。我们实现了这一组合算法(pfpebwt),并在千人基因组计划的人类 19 号染色体集合、GenomeTrakr 的沙门氏菌基因组集合以及 EBI COVID-19 数据门户的 SARS-CoV2 基因组集合上对其进行了评估。我们证明 pfpebwt 是所有数据集中速度最快的方法,其最大速度是第二好方法的 7.6 倍。峰值内存最多是第二名方法的 2 倍。与我们的算法一样能够报告后缀数组样本的方法相比,我们的峰值内存提高了 57.1 倍。源代码可通过 https://github.com/davidecenzato/PFP-eBWT 公开获取。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Egyptian Journal of Bronchology
Egyptian Journal of Bronchology RESPIRATORY SYSTEM-
自引率
7.70%
发文量
56
审稿时长
9 weeks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信