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

Embed-Search-Align:使用Transformer模型进行DNA序列比对

Embed-Search-Align: DNA Sequence Alignment using Transformer Models

Aarhus University(奥胡斯大学)

Pavan Holur, K. C. Enevoldsen, Shreyas Rajesh, Lajoyce Mboning, Thalia Georgiou, Louis-S. Bouchard, Matteo Pellegrini, Vwani Roychowdhury

AI总结:

针对DNA序列比对需在全基因组定位短读段的问题,提出Embed-Search-Align框架,通过Transformer生成无参考DNA嵌入并结合向量存储搜索,在人类基因组比对中准确率达99%,优于传统方法及6种Transformer基线。

摘要:

DNA序列比对涉及将短DNA读段分配到广泛参考基因组上最可能的位置。这一过程对多种基因组分析至关重要,包括变异检测、转录组学和表观基因组学。经过数十年改进的传统方法分两步应对这一挑战:基因组索引,随后高效搜索以定位给定读段的可能位置。基于大型语言模型在将文本编码为嵌入方面的成功——其中距离度量捕捉语义相似性,近期研究探索了相同的Transformer架构是否能生成DNA序列的嵌入。此类模型在短DNA序列分类中已显示出早期前景,例如检测编码/非编码区域以及增强子、启动子序列。然而,序列分类任务的性能无法转化为序列比对,后者需要在全基因组范围内搜索以比对每个读段,这是一项显著更长范围的任务。我们通过将Transformer模型的序列比对任务构建为“Embed-Search-Align”任务来弥合这一差距。在此框架中,一种新颖的无参考DNA嵌入模型生成读段和参考片段的嵌入,这些嵌入被投影到共享向量空间中,其中读段-片段距离用作比对的替代指标。技术贡献包括:(1)用于DNA序列表示自监督训练的对比损失,促进丰富的无参考、序列级嵌入;(2)DNA向量存储,支持在全局范围内对片段进行搜索。当将250长度的读段比对到人类基因组(3GB)时,DNA-ESA的准确率达99%,可与Bowtie和BWA-Mem等传统方法相媲美。DNA-ESA超过了Nucleotide Transformer、Hyena-DNA等6种Transformer模型基线的性能,并在染色体和物种间表现出任务迁移能力。

英文摘要:

DNA sequence alignment involves assigning short DNA reads to the most probable locations on an extensive reference genome. This process is crucial for various genomic analyses, including variant calling, transcriptomics, and epigenomics. Conventional methods, refined over decades, tackle this challenge in 2 steps: genome indexing followed by efficient search to locate likely positions for given reads. Building on the success of Large Language Models in encoding text into embeddings, where the distance metric captures semantic similarity, recent efforts have explored whether the same Transformer architecture can produce embeddings for DNA sequences. Such models have shown early promise in classifying short DNA sequences, such as detecting coding/non-coding regions, and enhancer, promoter sequences. However, performance at sequence classification tasks does not translate to sequence alignment, where it is necessary to search across the genome to align each read, a significantly longer-range task. We bridge this gap by framing the Sequence Alignment task for Transformer models as an "Embed-Search-Align" task. In this framework, a novel Reference-Free DNA Embedding model generates embeddings of reads and reference fragments, which are projected into a shared vector space where the read-fragment distance is used as a surrogate for alignment. Technical contributions include: (1) Contrastive loss for self-supervised training of DNA sequence representations, facilitating rich reference-free, sequence-level embeddings, and (2) a DNA vector store to enable search across fragments on a global scale. DNA-ESA is 99% accurate when aligning 250-length reads onto a human genome (3gb), rivaling conventional methods such as Bowtie and BWA-Mem. DNA-ESA exceeds the performance of 6 Transformer model baselines such as Nucleotide Transformer, Hyena-DNA, and shows task transfer across chromosomes and species.

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

↑