← Papers

Unverified paper record

Crop phenotype prediction using SNP context and whole-genome feature embedding based on DNABERT-2.

Plant Methods · 12 Jan 2026 · 10.1186/s13007-025-01492-4

Abstract

Modern agriculture demands precise genomic prediction to accelerate elite crop breeding, yet traditional genomic prediction approaches, such as genomic best linear unbiased prediction (GBLUP) and Bayesian methods, focus primarily on the cumulative effect of individual SNPs, thus neglecting the concerted influence that the surrounding sequence context has on the phenotype. To overcome these limitations, we propose two novel feature embedding modes (SNP-context and whole-genome) based on DNABERT-2, a cross-species genomic foundation model that uses self-attention mechanisms and transfer learning to automatically identify conserved sequence features across diverse evolutionary lineages without prior biological assumptions. The whole-genome feature embedding aggregates genomic information at a global scale by pooling vectors from chunked sequences processed by DNABERT-2, whereas the context feature embedding captures local information by directly encoding variable-length (500–3000 bp) sequences centered on target SNPs. To reduce noise in the high-dimensional feature embeddings, we employed principal component analysis (PCA) and partial least squares (PLS) to project the features into a lower-dimensional space. We generated two kinds of feature embedding for three crop datasets (rice413, rice395, and maize301), investigated the impact of 500–3000 bp flanking SNP contexts on phenotypic prediction, and compared prediction accuracy variations across algorithms at 4–768 feature dimensions among the PCA, PLS, and no dimensionality reduction strategies. The results demonstrate that machine learning (ML) algorithms operating under the SNP-context embedding mode achieve greater accuracy and lower mean absolute errors (MAEs) than traditional SNP features, with performance peaking at optimal context lengths that proved to be trait-dependent (e.g., 1000 bp to 3000 bp), particularly for traits with low-to-moderate heritability (H 2 ∈ (0.2, 0.7]). In contrast, using whole-genome embeddings as input for ML can further improve the prediction accuracy for highly heritable traits (H 2 ∈ (0.7, 1.0]), even outperforming state-of-the-art deep learning models (such as DNNGP and ResGS) that rely on SNP markers. The proposed feature embedding methods, which leverage DNABERT-2 to capture the contextual features of SNPs, effectively overcome the limitations of traditional prediction models. This study demonstrates that the SNP-context mode is superior for traits with low-to-moderate heritability, while the whole-genome embedding mode excels for highly heritable ones. Our work provides plant breeders with a flexible and powerful analytical framework, enabling them to select the most suitable phenotypic prediction method based on the complexity of the target trait, thereby accelerating genetic gain in the breeding of elite crop varieties.

Plant phenotyping relevance

DNABERT-2を用いた遺伝情報から作物形質を予測する新規特徴埋め込み・機械学習手法の開発と比較評価が中心であり、植物形質推定の計算手法に該当する。

titleCrop phenotype prediction using SNP context and whole-genome feature embedding based on DNABERT-2.
abstractTo overcome these limitations, we propose two novel feature embedding modes (SNP-context and whole-genome) based on DNABERT-2
abstractThe proposed feature embedding methods, which leverage DNABERT-2 to capture the contextual features of SNPs, effectively overcome the limitations of traditional prediction models.

Code and data availability

The paper's authors explicitly state that the Python implementation of their crop phenotype prediction method (SNP-context and whole-genome DNABERT-2 embedding pipeline) is publicly available on GitHub. Other URLs in the text (samtools, bcftools, pysam, pyfaidx, PyCaret) are generic third-party libraries, not paper-own

Codepublic

The Python implementation of our method is publicly available and downloadable from the GitHub repository: https://github.com/oliveSpring/Crop_DNA_Embedding.git.

Open resource ↗oliveSpring/Crop_DNA_Embedding · lines:513-602

This is an automatically classified, unverified record. Curator approval is required before any resource enters the Catalog.