arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.10068q-bio.GNcs.LG
收藏

Lerna:用于配置短读和长读基因组测序的纠错工具的Transformer架构

Lerna: Transformer Architectures for Configuring Error Correction Tools for Short- and Long-Read Genome Sequencing

Purdue University(普渡大学);Indian Institute of Technology Bombay(印度理工学院孟买分校);Adobe Research(Adobe 研究院)

Atul Sharma, Pranjal Jain, Ashraf Mahgoub, Zihan Zhou, Kanak Mahadik, Somali Chaterji

摘要:

测序技术容易出错,这使得下游应用必须进行纠错(EC)。EC工具需要手动配置以获得最佳性能。我们发现,最佳参数(例如,k-聚体大小)都依赖于工具和模板。此外,评估性能(即,给定工具的比对率或增益通常依赖于参考基因组,但质量参考基因组并不总是可用的。我们介绍Lerna用于基于k-mer的EC工具的自动化配置。Lerna首先创建未校正的基因组读段的语言模型(LM);然后,计算困惑度度量以针对不同参数选择来评估校正的读段。接下来,它找到一个在不使用参考基因组的情况下产生最高比对率的基因组。我们的方法的基本直觉是,困惑度量与纠错后的组装质量成反比。结果:首先,我们表明,最佳的k-mer值可以为不同的数据集,即使是相同的EC工具。其次,我们使用其组件注意力为基础的Transformers显示我们的LM的增益。我们展示了模型在误差校正之前和之后对困惑度度量的估计。校正后的混乱度越低,k聚体尺寸越好。我们还表明,校正读取计算的比对率和组装质量与困惑度呈强负相关,从而能够自动选择k-mer值以进行更好的纠错,从而提高组装质量。此外,我们还表明,我们的基于注意力的模型在整个流水线上有显着的运行时改进-比以前的作品快18倍,这是由于并行化了注意力机制和使用JIT编译进行GPU推理。

英文摘要:

Sequencing technologies are prone to errors, making error correction (EC) necessary for downstream applications. EC tools need to be manually configured for optimal performance. We find that the optimal parameters (e.g., k-mer size) are both tool- and dataset-dependent. Moreover, evaluating the performance (i.e., Alignment-rate or Gain) of a given tool usually relies on a reference genome, but quality reference genomes are not always available. We introduce Lerna for the automated configuration of k-mer-based EC tools. Lerna first creates a language model (LM) of the uncorrected genomic reads; then, calculates the perplexity metric to evaluate the corrected reads for different parameter choices. Next, it finds the one that produces the highest alignment rate without using a reference genome. The fundamental intuition of our approach is that the perplexity metric is inversely correlated with the quality of the assembly after error correction. Results: First, we show that the best k-mer value can vary for different datasets, even for the same EC tool. Second, we show the gains of our LM using its component attention-based transformers. We show the model's estimation of the perplexity metric before and after error correction. The lower the perplexity after correction, the better the k-mer size. We also show that the alignment rate and assembly quality computed for the corrected reads are strongly negatively correlated with the perplexity, enabling the automated selection of k-mer values for better error correction, and hence, improved assembly quality. Additionally, we show that our attention-based models have significant runtime improvement for the entire pipeline -- 18X faster than previous works, due to parallelizing the attention mechanism and the use of JIT compilation for GPU inferencing.

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

↑