通过前缀无关解析加速FM-index查询
Acceleration of FM-index Queries Through Prefix-free Parsing
AI总结:
本文提出使用前缀无关解析替代诱导后缀排序构建基于词的FM-index,显著加速了DNA序列的计数查询,尤其对短模式(几百字符)效果显著,在GRCh38和SARS-CoV-2数据集上比现有方法快3-18倍。
摘要:
FM-index是DNA比对等领域中至关重要的数据结构,但使用它进行搜索通常对查询模式中的每个字符至少需要一次随机访问。Ferragina和Fischer在2007年观察到,基于词的索引通常比基于字符的索引使用更少的随机访问,因此支持更快的搜索。然而,由于DNA缺乏自然的词边界,在应用基于词的FM-indexing之前,有必要以某种方式对其进行解析。去年,Deng等人提出通过诱导后缀排序对基因组数据进行解析,并展示了当模式长度为数千个字符或更长时,所得到的基于词的FM-index比标准FM-index支持更快的计数查询。在本文中,我们表明使用前缀无关解析——它接受参数,使我们能够调整短语的平均长度——代替诱导后缀排序,对于仅几百个字符的模式也能带来显著的加速。我们实现了我们的方法,并证明在对GRCh38的查询中,它比竞争方法快3到18倍。并且在对25,000、50,000和100,000个SARS-CoV-2基因组的查询中始终更快。因此,非常清楚的是,我们的方法以内存的轻微增加加速了所有最先进方法的计数性能。我们的源代码可在https://github.com/marco-oliva/afm获取。
英文摘要:
FM-indexes are a crucial data structure in DNA alignment, for example, but searching with them usually takes at least one random access per character in the query pattern. Ferragina and Fischer observed in 2007 that word-based indexes often use fewer random accesses than character-based indexes, and thus support faster searches. Since DNA lacks natural word-boundaries, however, it is necessary to parse it somehow before applying word-based FM-indexing. Last year, Deng et al.\ proposed parsing genomic data by induced suffix sorting, and showed the resulting word-based FM-indexes support faster counting queries than standard FM-indexes when patterns are a few thousand characters or longer. In this paper we show that using prefix-free parsing -- which takes parameters that let us tune the average length of the phrases -- instead of induced suffix sorting, gives a significant speedup for patterns of only a few hundred characters. We implement our method and demonstrate it is between 3 and 18 times faster than competing methods on queries to GRCh38. And was consistently faster on queries made to 25,000, 50,000 and 100,000 SARS-CoV-2 genomes. Hence, it is very clear that our method accelerates the performance of count over all state-of-the-art methods with a minor increase in the memory. Our source code is available at https://github.com/marco-oliva/afm .
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。