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

面向现代机器学习的快速、内存高效的基因组区间分词器

Fast, memory-efficient genomic interval tokenizers for modern machine learning

Department of Genome Sciences, School of Medicine, University of Virginia(基因组科学系,医学院,弗吉尼亚大学);Department of Biomedical Engineering, School of Medicine, University of Virginia(生物医学工程系,医学院,弗吉尼亚大学);Department of Biochemistry and Molecular Genetics, School of Medicine, University of Virginia(生物化学与分子遗传学系,医学院,弗吉尼亚大学);School of Data Science, University of Virginia(数据科学学院,弗吉尼亚大学)

Nathan J. LeRoy, Donald R. Campbell, Seth Stadick, Oleksandr Khoroshevskyi, Sang-Hoon Park, Ziyang Hu, Nathan C. Sheffield

AI总结:

针对基因组区间数据异构性阻碍机器学习的问题,提出高性能库gtars-tokenizers,将区间映射至预定义词表并兼容主流ML框架,实现大规模数据的高效标准化处理。

摘要:

引言:来自高通量测序实验的表观基因组数据集通常被总结为基因组区间。随着此类数据量的增长,通过深度学习对其进行分析的兴趣也日益浓厚。然而,基因组区间数据的异构性(每个数据集定义了自己的区域)给需要一致、离散词表的机器学习方法造成了障碍。方法:我们引入了gtars-tokenizers,这是一个高性能库,它将基因组区间映射到预定义的区间全集或词表中,类似于自然语言处理中的文本分词。gtars-tokenizers使用Rust构建,提供Python、R、CLI和WebAssembly绑定,实现了两种重叠方法(BITS和AIList),并通过兼容Hugging Face的API与现代ML框架无缝集成。结果:gtars-tokenizers包在大规模数据集上实现了最高效率,同时使得基因组区间能够使用PyTorch和TensorFlow中的标准ML工作流进行处理,而无需临时预处理。这种基于token的方法连接了基因组学与机器学习,支持跨不同计算环境对区间数据进行可扩展且标准化的分析。可用性:PyPI和GitHub:https://github.com/databio/gtars。

英文摘要:

Introduction: Epigenomic datasets from high-throughput sequencing experiments are commonly summarized as genomic intervals. As the volume of this data grows, so does interest in analyzing it through deep learning. However, the heterogeneity of genomic interval data, where each dataset defines its own regions, creates barriers for machine learning methods that require consistent, discrete vocabularies. Methods: We introduce gtars-tokenizers, a high-performance library that maps genomic intervals to a predefined universe or vocabulary of regions, analogous to text tokenization in natural language processing. Built in Rust with bindings for Python, R, CLI, and WebAssembly, gtars-tokenizers implements two overlap methods (BITS and AIList) and integrates seamlessly with modern ML frameworks through Hugging Face-compatible APIs. Results: The gtars-tokenizers package achieves top efficiency for large-scale datasets, while enabling genomic intervals to be processed using standard ML workflows in PyTorch and TensorFlow without ad hoc preprocessing. This token-based approach bridges genomics and machine learning, supporting scalable and standardized analysis of interval data across diverse computational environments. Availability: PyPI and GitHub: https://github.com/databio/gtars.

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

↑