Abstract
Nanopore sequencing enables comprehensive detection of 5-methylcytosine (5mC), particularly in repeat regions. However, CHH methylation detection in plants is limited by the scarcity of high-methylation positive samples, reducing generalization across species. Dorado, the only tool for plant 5mC detection on the R10.4 platform, lacks extensive species testing. Here, we develop DeepPlant, a deep learning model incorporating both Bi-LSTM and Transformer architectures, which significantly improves CHH detection accuracy and performs well for CpG and CHG motifs. We address the scarcity of methylation-positive CHH training samples through screening species with abundant high-methylation CHH sites using bisulfite-sequencing and generate datasets that cover diverse 9-mer motifs for training and testing DeepPlant. Evaluated across nine species, DeepPlant achieves high whole-genome methylation frequency correlations (0.705-0.838) with BS-seq data on CHH, improved by 23.4- 117.6% compared to Dorado. DeepPlant also demonstrates superior single-molecule accuracy and F1 score, offering strong generalization for plant epigenetics research.
Similar content being viewed by others
Introduction
DNA methylation, specifically 5-methylcytosine (5mC), is an essential epigenetic modification regulating numerous biological processes in plants1, such as gene expression2, transposon silencing3, and genome stability4,5. Unlike in animals, where 5mC primarily occurs at CpG sites, plant 5mC exits across three different sequence contexts, CpG, CHG, and CHH (where H represents A, T, or C). CHH methylation, though less abundant, plays a critical role in silencing transposable elements (TEs), which is essential for maintaining genome integrity during plant development and stress responses3.
Several methods have been developed for detecting 5mC6,7, with bisulfite sequencing (BS-seq)8 being the most widely used for all three methylation contexts. However, BS-seq’s reliance on short-read sequencing technologies limits its ability to accurately profile complex and repetitive genomic regions, such as centromeres and transposable elements (TEs)9. Additionally, BS-seq introduces biases, such as DNA damage10, which can impair accuracy-particularly for CHH motifs that only have half effective coverage due to being asymmetric between forward and reverse DNA strands. Recent advancements in third-generation sequencing, particularly with Oxford Nanopore Technologies (ONT), present a promising alternative. Nanopore sequencing signals can be directly utilized to detect DNA modifications on native long reads11,12,13,14,15, enabling more comprehensive analysis of genomic regions. A key breakthrough in this area for plant has been DeepSignal-Plant16, our deep learning tool developed for genome-wide 5mC detection in CpG, CHG, and CHH contexts. Trained on Arabidopsis thaliana and Oryza sativa, DeepSignal-Plant demonstrated high accuracy across these contexts, correlating strongly with BS-seq while providing enhanced methylation information in repetitive regions.
The recently released ONT’s R10.4 FlowCell has dramatically improved accuracy and stability in basecalling compared to earlier versions and has gradually become the mainstream product. However, software compatible with the R10.4 FlowCell has lagged behind. Substantial changes in the nanopore protein structure and signal collection frequency of R10.4 have led to differences in electrical signal output and data storage formats. As a result, methylation detection tools developed for the R9.4 platform, such as Tombo17, Megalodon18, and DeepSignal-Plant16, cannot be directly applied to the R10.4 FlowCell. To address the compatibility issue with the R10.4 FlowCell, ONT has introduced new 5mC detection models for their Dorado19 software. While Dorado performs well in detecting high-methylation levels of CpG and CHG in plants on R10.4, it struggles with CHH methylation detection (see Results), most likely due to the limited availability of positive CHH samples for training.
In this work, we analyze publicly available BS-seq datasets and screen species with abundant high-methylation CHH sites for model training. We generate new Nanopore and BS-seq data from selected species, significantly increasing the number of CHH-positive samples. The new dataset covers 97.2% of all possible 9-mers centered with CHH motifs. In parallel, we develop DeepPlant, which outperforms Dorado, achieving a correlation improvement ranging from 0.135 to 0.381 with BS-seq in whole-genome CHH methylation frequency quantification. DeepPlant also demonstrates superior single-molecule accuracy, F1 score, and recall, while maintaining greater stability across all tested species. These results suggest that DeepPlant has strong generalizability and holds significant potential for broad applications in plant methylation detection.
Results
Sample selection for generalized CHH methylation model training
This study aimed to enhance nanopore-based 5mC detection across plant species, with a particular focus on developing a CHH methylation model that generalizes well across species. A critical challenge in this process was obtaining methylation-positive samples with diverse motif contexts. In a previous study, CHH-positive samples were sourced from genomic CHH sites with high-methylation levels (≥90%) based on BS-seq data16. However, collecting samples with high CHH methylation levels and broad k-mer coverage is difficult due to the generally low CHH methylation content (~1–17% reported in 34 angiosperms)20 in most plants. And highly methylated CHH sites represent only about 0.02–0.12% of BS-seq quantified CHH sites in A. thaliana and O. sativa (Supplementary Data 1) used for training DeepSignal-Plant16.
To collect more representative positive training samples, we reviewed existing literature20,21 and analyzed the abundance and context k-mer diversity of high-methylation CHH motifs using previously published BS-seq data from 10 plant species16,22,23,24,25,26,27,28,29,30,31,32,33,34,35 (Supplementary Data 1). These species included Arabidopsis thaliana (a maximum of 0.03% high-methylation CHH sites among tested datasets), Oryza sativa (0.12%), Beta vulgaris (1.27%), Salvia miltiorrhiza (2.78%), Solanum tuberosum (1.96%), Ricinus communis (3.91%), Citrus sinensis (1.35%), Gossypium hirsutum (0.01%), Solanum lycopersicum (0.78%), and Physcomitrium patens (7.28%). The samples with the highest ratios of high-methylation CHH sites or the greatest k-mer context diversity were S. tuberosum tuber, S. miltiorrhiza root, P. patens gametophore, R. communis embryo, S. lycopersicum fruit, C. sinensis fruit pericarp, and B. vulgaris leaves (Fig. 1a and Supplementary Data 1).
CHH methylation sites, particularly those with high-methylation levels (≥90%), are rare in plants. This figure presents the statistics on high-methylation CHH sites from previously published bisulfite sequencing (BS-seq) datasets16,22,23,24,25,26,27,28,29,30,31,32,33,34,35 and those generated in this study. a Ratios of high-methylation CHH sites among quantified CHH motifs (≥5 read coverage) (left panel) and the number of covered 9-mer contexts (right panel) in BS-seq datasets from ten plant species. Only 9-mers observed at three or more high-methylation CHH sites were considered. Species other than A. thaliana and O. sativa were selected based on high CHH methylation ratios reported in previous studies20,21. b Ratios of high-methylation CHH sites in BS-seq datasets sequenced for this study, including A. thaliana, O. sativa, and species with abundant high-methylation CHH sites identified in (a), as well as Glycine max and Marchantia polymorpha. c Number of covered 9-mer contexts (top) and heatmap of context abundance (bottom) grouped by CHH motifs in nanopore datasets from six plant species. In the top panel, the top line of each bar corresponds to the number (36,864) of all possible 9-mer sequences centered with a CHH motif. A 9-mer was considered covered if present in 50 or more positive training samples and had at least an equal number of negative samples. “Mixed” refers to combined samples from S. miltiorrhiza, R. communis, and S. tuberosum. Source data are provided as a Source Data file.
We then collected tissue samples from seven of these species and conducted BS-seq. For better sample diversity, A. thaliana, O. sativa, Glycine max, Vitis vinifera, and Marchantia polymorpha were also added to the analysis. Among these, BS-seq data from S. miltiorrhiza root provided the largest number of CHH-positive samples, followed by R. communis embryo and S. tuberosum tuber (Fig. 1b, c). The same three DNA samples were therefore subjected to nanopore sequencing on R10.4 platform. Low-mapping rate (<5%) of P. patens and M. polymorpha BS-seq suggested sample impurity, and the G. max strain showed a relatively high nucleotide difference level to the reference genome (GCF_000004515.6), leading them to be abandoned in further analysis. Analysis of the nanopore data revealed that S. miltiorrhiza alone covered 93.4% of all possible 9-mer CHH contexts. However, the number of high-methylation sites for specific CHH motifs, such as CCA, CCC, and CCT, was low across all species (Fig. 1c). Consequently, we combined the datasets from S. miltiorrhiza, S. tuberosum, and R. communis, resulting in 97.2% coverage of all possible 9-mer contexts centered with CHH motifs, with an average of 9225 samples per context.
To evaluate the model’s generalizability, we selected another six species with varying CHH methylation levels for testing, which are A. thaliana (3.01% overall CHH methylation ratio), V. vinifera (8.04%), O. sativa (3.50%), B. vulgaris (10.23%), S. lycopersicum (15.10%), and C. sinensis (10.61%) (Supplementary Data 2). The number of high-methylation CHH sites in their BS-seq datasets also differed from 2047 in A. thaliana to 520,150 in S. lycopersicum. These results indicate that our selected datasets provide a broad and representative foundation for both model training and evaluation.
Deep neural network architectures and model training for plant 5mC detection
Based on the datasets collected, we developed DeepPlant, a deep learning tool for accurate 5mC detection in plants. DeepPlant employs a triple-encoder architecture (Fig. 2a), similar to our previous tools, DeepSignal36 and DeepBam36. This architecture includes separate encoders for k-mer sequence information (from Dorado basecalling), raw signal features, and a secondary collaborative encoding. Systematic ablation analysis showed that discarding any of the encoders (sequence encoder, signal encoder, and combine encoder) would significantly impact the model’s performance (Supplementary Data 3). A classifier then determines the methylation status of cytosines located at the center of the k-mer. Two deep neural network architectures were implemented in DeepPlant-one based on Bidirectional Recurrent Neural Networks with LSTM units (Bi-LSTM) and the other using Transformer encoders, forming a BERT-like network (Fig. 2a–c and Supplementary Data 4).
a Overview of the signal features used by DeepPlant and the triple-encoder architecture. b, c Bi-LSTM and Transformer encoder architectures applied in DeepPlant. d Accuracy progression during CHH methylation detection training, comparing the performance of Bi-LSTM and Transformer encoders across different k-mer lengths. 9-, 13-, and 51-mer denote the lengths of model feature contexts surrounding target C at CHH sites. e Quantitative evaluation of CHH methylation detection accuracy by different models on single chromosomes using 43× O. sativa and 35× A. thaliana nanopore data. Pearson correlations were calculated between nanopore and corresponding BS-seq data. Source data are provided as a Source Data file.
Cytosine methylation can affect the signals of adjacent sequences, so the input feature length influences model performance16,37. To assess the impact of using different k-mer lengths, we trained DeepPlant models using 9-mer, 13-mer, and 51-mer samples. Testing on O. sativa and A. thaliana showed that models trained with 9-mer samples, matching Dorado’s input length, significantly outperformed Dorado, suggesting the robustness of our training dataset. Among the models trained using different k-mer lengths, the 51-mer model had the highest accuracy on randomly sampled testing dataset (Fig. 2d); however, it is overfitted since it led to poorer methylation frequency quantifications (Fig. 2e). Overall, the 13-mer Bi-LSTM model (default DeepPlant model) was regarded optimal and further assessed in following sections.
In addition, we trained CHG and CpG detection models using a similar Bi-LSTM architecture, which are detailed in the Methods section and Supplementary Fig. 1a–d.
Evaluation of 5mC methylation frequency quantification by DeepPlant
Aggregated methylation frequencies-defined as the ratio of methylated reads to total local effective reads-at CHH sites across the genome is a key metric for evaluating the performance of methylation detection models. As shown in Fig. 2c, d, this metric does not always positively correlate with single-molecule performance but can indicate a model’s overall effectiveness. To assess the quantitative performance of DeepPlant, we profiled CHH methylation frequencies across three training datasets (S. miltiorrhiza, S. tuberosum, R. communis) and six testing datasets: B. vulgaris, O. sativa, A. thaliana, V. vinifera, C. sinensis, and S. lycopersicum. BS-seq data were also used to profile methylation frequencies at each cytosine site, serving as a control to evaluate the performance of nanopore-based methylation callers.
To minimize the sum of false-positive and false-negative calls, we applied an adaptative methylation score threshold selection method in DeepPlant (Supplementary Fig. 2; see “Methods”). We also applied the same approach in methylation frequency profiling using Dorado calls, and it improved the site-level methylation quantification correlations with BS-seq for Dorado compared to using its default settings (Table 1). On the six testing datasets, at a sequencing depth of 30×, DeepPlant achieved 0.705–0.838 Pearson’s correlations (r) with BS-seq (Table 1 and Supplementary Data 5). For species with relatively high CHH methylation content, such as B. vulgaris, C. sinensis, and S. lycopersicum, the correlations exceeded 0.80. Across all testing datasets, DeepPlant consistently showed higher correlations and more similar methylation patterns (Supplementary Fig. 3a–c) with BS-seq compared to Dorado (using its default settings), with advantages ranging from 0.078 to 0.324 at 10× and from 0.135 to 0.381 at 30× sequencing depth (Table 1), even higher than the advantages observed on the three training datasets. As nanopore sequencing depth increased, the correlation between DeepPlant’s aggregated methylation frequencies and BS-seq results steadily improved, while Dorado showed reduced correlations with BS-seq in most cases as sequencing depth increased. Notably, DeepPlant achieved a nearly two-fold correlation coefficient with BS-seq on O. sativa compared to Dorado (0.654 vs. 0.329).
These results highlight DeepPlant’s superior generalizability in CHH methylation frequency quantification. We also evaluated methylation frequency quantification using DeepPlant’s CHG and CpG models across the same nine datasets, and the results are detailed in Supplementary Data 6 and Supplementary Note 1. Overall, our CHG model outperformed Dorado across the datasets, though with a smaller margin compared to the CHH model. And the CpG model performed slightly better than Dorado on seven of nine tested datasets and also performed slightly better than Rockfish on eight tested datasets.
Single-molecule methylation detection performance of DeepPlant
Nanopore sequencing, as a single-molecule long-read sequencing technology, offers a distinct advantage in detecting methylation for individual molecules compared to BS-seq. To assess DeepPlant’s performance in this context, we conducted a comprehensive analysis across nine datasets. Reference sites were selected using corresponding BS-seq data, focusing on fully methylated (100% methylation frequency) and unmethylated (0% methylation frequency) CHH sites, with a minimum coverage of 5×. Given the scarcity of fully methylated CHH sites in the analyzed species, the ratio of fully methylated to unmethylated CHH genomic sites (Supplementary Data 7) is significantly lowered compared to the realistic single-molecule methylated to unmethylated CHH motif ratios in the analyzed species’ DNAs (Supplementary Data 2), where the single-molecule performance could be indirectly evaluated through above methylation frequency quantification assessments. Direct evaluations of DeepPlant and Dorado on the imbalanced fully methylated/unmethylated datasets mainly provided insights into the accuracy of unmethylated site detection, and DeepPlant outperformed Dorado in all instances (Supplementary Data 7). Recognizing the importance of both methylated and unmethylated calls, we then compared the single-molecule performance of DeepPlant and Dorado on datasets with a balanced representation of fully methylated and unmethylated samples. On the training datasets, DeepPlant achieved F1 scores exceeding 0.9 for S. miltiorrhiza and R. communis, outperforming Dorado across all three species. Notably, the F1 score for S. miltiorrhiza was more than 10% higher than Dorado. Results on the testing datasets (Table 2 and Supplementary Data 8) demonstrated that DeepPlant consistently outperformed Dorado and achieved higher F1 scores across all six species, with notable gains of 6.8%, 5.94%, and 5.48% for O. sativa, B. vulgaris, and S. lycopersicum, respectively. DeepPlant maintained <6% false-positive rates (FPRs) across all testing and training datasets (Supplementary Fig. 4a–i). In contrast, Dorado exhibited significantly higher FPRs on C. sinensis, B. vulgaris, O. sativa, and S. lycopersicum, with rates of 24.1%, 11.1%, 10.1% and 11.0%, respectively.
Further analyses using Receiver Operating Characteristic (ROC) and Precision–Recall (PR) curves (Supplementary Fig. 5a–r) confirmed DeepPlant’s advantage at the single-molecule level. Across testing datasets, the area under the ROC curve (AUC) of DeepPlant increased by 0.22–6.77%, and the area under the PR curve (AP) improved by 1.31–7.29% compared to Dorado. The advantages were more pronounced in the training datasets. It is important to note that these metrics were calculated based on CHH sites with extreme methylation frequency levels. In the previous section, we observed much greater advantages of DeepPlant over Dorado in overall methylation frequency quantification. These results suggest that the tested Dorado model could be overfitted to extreme CHH sites.
We also evaluated the CpG and CHG models of DeepPlant across the datasets. Though with smaller advantages than the CHH model, both CpG and CHG models of DeepPlant demonstrated better single-molecule performance compared to Dorado, and the CpG model outperformed Rockfish on most metrics, with detailed results presented in Supplementary Data 6 and Supplementary Note 2.
CHH methylation profiling of O. sativa centromere and transposon regions by DeepPlant
Centromeres are crucial structures in eukaryotic chromosomes, playing essential roles in mitosis and meiosis38. In plants, they are predominantly composed of satellite repeats, transposable elements (TEs), and a small number of genes39. The highly repetitive nature of centromeric sequences presents significant challenges for accurate assembly and functional analysis, including the study of their methylation patterns. Despite the agricultural importance of O. sativa, the methylation characteristics of its centromeres have been largely unexplored. Leveraging ~43× O. sativa nanopore data with a read N50 of 12.8 kb, we conducted an in-depth analysis of centromeric methylation patterns using DeepPlant on the T2T-NIP40 reference genome (Supplementary Data 9). DeepPlant almost completely profiled centromeric regions of chromosomes 4, 5, 8, and 12, while the largest gap in coverage was observed in chromosome 11 (Fig. 3a). Across non-centromeric regions, DeepPlant quantified methylation frequencies for ~98% of CHH sites, representing ~26% improvements compared to the results achieved with ~52× BS-seq data (Fig. 3b). In centromeric regions, DeepPlant covered 88.0% CHH sites, more than double the coverage ratio of BS-seq (37.7%) (Fig. 3b). CHH coverage by DeepPlant in centromeric regions showed only slight reduction compared to mean genome sequencing depth (39.3×/43×), whereas BS-seq exhibited a more pronounced decrease (22.4×/52×). Exemplary centromeric regions successfully profiled by DeepPlant but left blank by BS-seq are shown in Fig. 3c and Supplementary Fig. 6a–c. Moreover, in the sub-telomeric region of chromosome 10, within the gene AGIS_Os10g035850 (LOC_Os10g43075 in IRGSP-1.0/MSU7), all 3830 CHH motifs were profiled by DeepPlant, compared to only 2197 motifs profiled by BS-seq.
a Circos plot illustrating DeepPlant CHH methylation profiling in centromeric regions and 100 kb intervals upstream and downstream in O. sativa. From outer to inner: ideograms of centromere (center box) and neighboring regions (two terminal boxes); histograms of normalized sequencing coverage across 100 bp bins (gray, normalized against mean genomic coverage); histograms of CHH methylation frequencies (blue) across 100 bp bins. b Comparison of CHH motif coverage ratios across different genomic regions between BS-seq, DeepPlant, and Dorado profiling. To be noticed, the same nanopore dataset was used for DeepPlant and Dorado profiling, and the coverage difference between DeepPlant and Dorado derived from the distinct read filters they applied. DeepPlant applies three thresholds for screening high-quality alignments, including MAPQ ≥ 20, primary alignment length/read length ≥80%, and mapping identity ≥80% by default. Only CHH motifs with a minimum read coverage of 10 were regarded as quantified. TE transposable element, CDS non-TE protein-coding sequences. c Read coverage and CHH methylation frequencies in the centromeric regions of Chr1, comparing whole-genome BS-seq data, DeepPlant, and Dorado analysis on Nanopore data. d Boxplot illustrating CHH methylation frequencies on the forward (+) and reverse (−) strands in protein-coding and transposable element (TE) regions. The center line represents the median; each box shows the first and third quartiles; minima represents the larger between Q1−1.5×IQR and the minimum observed value; maxima represents the smaller between Q3 + 1.5×IQR and the maximum observed value. e Violin plot displaying strand-specific CHH methylation status across various TE types and non-TE protein-coding regions. The annotation of TEs and protein-coding regions was acquired from T2T-NIP40. Source data of (c, d) are provided in Zenodo [https://doi.org/10.5281/zenodo.15062213]. Source data of the other panels are provided as a Source Data file.
DeepPlant’s ability to quantify methylation states in a strand-specific manner was further demonstrated in the analysis of O. sativa centromeric TEs (from genome annotation of T2T-NIP). CHH methylation levels were significantly higher in TEs compared to centromeric protein-coding regions (Fig. 3d). Among seven different types of centromeric transposons, no significant strand bias was observed overall. However, when looked at independently, Ac/Ds and Mariner sub-class transposons exhibited higher methylation on the forward strand, while others, including LINE and Ty1-copia, showed higher methylation on the reverse strand (Fig. 3e). This result echoed a previous study that reported strand-biased methylation in A. thaliana centromeres41. These results demonstrate that the combination of DeepPlant and nanopore sequencing offers enhanced coverage and accuracy for profiling methylation in complex genomic regions, such as centromeres and transposable elements, compared to traditional BS-seq approaches.
Discussion
In this study, we introduce DeepPlant, a deep learning tool designed to accurately detect 5-methylcytosine (5mC) modifications across all sequence contexts-CpG, CHG, and particularly CHH-in plant genomes using Oxford Nanopore Technologies (ONT) R10.4 sequencing data. By addressing the limitations of existing methylation detection methods, especially in the CHH context, DeepPlant significantly enhances our ability to profile plant epigenomes comprehensively, including complex and repetitive genomic regions.
A critical challenge in CHH methylation detection has been the scarcity of high-methylation CHH sites for collecting positive samples, which hampers model training and generalization across species. Researchers have traditionally employed in vitro DNA methylation enzyme reactions to provide positive samples for CpG methylation model training42. However, CHH methylation depends on RNA-directed DNA methylation (RdDM), which requires non-coding RNA guidance and the involvement of methyltransferases (DRM1 and DRM2), rendering in vitro enzyme-catalyzed DNA methylation ineffective43. PCR amplification with modified base substitutions44 is a second choice; nevertheless, previous studies have reported significant difficulties replacing cytosines with high-purity 5mC in PCR amplification10,45. And even if this approach succeeded the base contexts will be significantly different from native DNAs. In this study, we addressed the challenge by systematically analyzing publicly available BS-seq datasets and identifying plant species with abundant high-methylation CHH sites, such as S. miltiorrhiza, S. tuberosum, and R. communis. By generating new ONT R10.4 sequencing data for these species, we significantly increased the diversity and number of CHH-positive samples. Our comprehensive training dataset now covers 97.2% of all possible 9-mer CHH contexts, averaging over 9225 samples per context—substantially surpassing DeepSignal-Plant which used A. thaliana and O. sativa16. This extensive coverage is crucial for training a model capable of generalizing across diverse plant species and methylation patterns.
In model training, by optimizing the model with 13-mer sequences, we achieved a balance between capturing sufficient sequence features and avoiding overfitting, which can be a risk when positive samples are limited. Importantly, DeepPlant demonstrates superior performance not only in CHH methylation detection but also in the CpG and CHG contexts. This consistent improvement across all contexts highlights DeepPlant’s versatility and effectiveness in comprehensive 5mC detection in plants.
DeepPlant’s enhanced performance extends to regions of the genome that are challenging for traditional BS-seq methods due to their repetitive nature and sequence complexity. For instance, we successfully profiled methylation patterns in most centromeric regions and TEs of O. sativa, achieving greater coverage than BS-seq and revealing strand-specific methylation patterns consistent with previous observations in A. thaliana40. DeepPlant’s ability to quantify methylation states in a strand-specific manner provides valuable insights into the mechanisms of epigenetic regulation and the functional significance of asymmetric methylation patterns. These findings have implications for understanding the role of DNA methylation in regulating gene expression, transposon silencing, and genome stability in plants.
Despite these advancements, several limitations remain. The computational benchmark showed that DeepPlant is less computationally efficient than Dorado as it took much longer to call methylation on the same dataset (Supplementary Data 10). The scarcity of high-methylation CHH samples, although partially mitigated in this study, continues to pose challenges for model training and generalization. Our reliance on species with naturally abundant CHH methylation may not capture the full diversity of methylation patterns across all plant species. In addition, there is a need to address the potential for overfitting to specific sequence patterns, which underscores the importance of careful model optimization and validation. Future work should explore methods to artificially enrich CHH methylation samples, possibly through targeted methylation or synthetic biology approaches, to further enhance model training. Integrating DeepPlant with other epigenetic and genomic data could provide a more holistic understanding of epigenetic regulation. Applying DeepPlant to study epigenetic responses to environmental stresses, developmental cues, or pathogen interactions holds promise for advancing plant biology and agricultural sciences.
In conclusion, DeepPlant represents a significant advancement in plant epigenetics research, providing a powerful tool for accurate and comprehensive 5mC detection using ONT sequencing data. By overcoming limitations in CHH methylation detection, DeepPlant opens new avenues for exploring the complex epigenetic landscapes of plants. Its ability to profile methylation in challenging genomic regions enhances our capacity to study genome regulation, stability, and adaptation, ultimately contributing to advancements in plant epigenetics.
Methods
Public BS-seq and reference genomes
The reference genomes for all species were downloaded from NCBI (Supplementary Data 1). We reviewed relevant literature to obtain BS-seq data for A. thaliana16, O. sativa16, B. vulgaris22, S. miltiorrhiza23, S. tuberosum24, R. communis25,26,27, C. sinensis28, G. hirsutum29, S. lycopersicum30, and P. patens31,32,33,34,35 as detailed in Supplementary Data 1.
Preparation of plant materials
Plant materials from various species were prepared for sequencing. Callus cultures were established from undeveloped ovules of C. sinensis cv. ‘Liucheng’46 and leaf discs of Vitis vinifera var. ‘Baiti'47. Fresh roots of wild S. miltiorrhiza were collected in March 2024 from Song County, Henan, China, and the epidermal tissue was carefully sliced into thin sections (~0.1 mm thick). For A. thaliana and O. sativa, leaves were collected from one-month-old seedlings of A. thaliana (L.) Heynh. Columbia-0 (Col-0) and O. sativa L. ssp. Japonica cv. Nipponbare. For B. vulgaris L. var. cicla and Glycine max, leaves were collected from 50-day-old plants. For R. communis, embryos were separated from fresh seeds of wild plants collected in March 2024 from Maoming, Guangdong, China. Sporangium powders of M. polymorpha L. and P. patens L. were purchased from the market, which later found to have low purity with <5% mapping ratio of BS-seq reads to reference genomes. Outer pericarps of S. lycopersicum (cultivar DRK0568) were dissected for DNA extraction. A tuber from the S. tuberosum variety A9, with the epidermis removed, was cut into 0.5-cm cubes. After these preparations, all plant samples were immediately frozen in liquid nitrogen and stored at −80 °C until DNA extraction.
DNA extraction and nanopore sequencing
DNA extraction was carried out using DNeasy Plant Kits (Qiagen, Hilden, Germany) for the plant samples. Sequencing was performed on the Oxford Nanopore Technologies (ONT) PromethION R10.4.1 platform by Grandomics company (Wuhan, China). The raw nanopore data was base-called using ONT official basecaller, Dorado19 (version 0.8.0), with the hac model, and 5mC modifications were called with the model version “dna_r10.4.1_e8.2_400bps_hac@v5.0.0” (https://github.com/nanoporetech/dorado?tab=readme-ov-file#dna-models). BS-seq and DeepPlant do not distinguish between 5mC and 5hmC modifications, therefore 5mC was called by Dorado using a 5mC/5hmC combined mode. We then aligned the reads to the reference genome using minimap248.
Whole-genome BS-seq
For methylation profile consistency, the same genomic DNA used for nanopore sequencing was also subjected to BS-seq. The DNAs were first fragmented to an average size of 200−350 bp, followed by end-repair of the short DNA fragments. After bisulfite conversion, PCR amplification was performed, and the sequencing data were generated by BGI Genomics Co. Ltd. The sequencing reads were then processed using the standard workflow of Bismark (v0.24.0)49. Bismark provided a methylation call for every cytosine detected in CpG, CHG, and CHH contexts. The methylation frequency of cytosines is calculated as the number of mapped reads predicted to be methylated divided by the total number of mapped reads. To be noticed, the Bisamark pipeline only counts unique best alignments where the next best alignment does not exist or is not as good.
Select high-confidence sites from BS-seq analyses
We used whole-genome BS-seq analysis as reference for selecting training samples. Sites for extracting training samples were selected from the whole genomes of S. tuberosum, S. miltiorrhiza, and R. communis. To ensure the reliability of the sites, we required the BS-seq coverage at each site to be above 5×. We selected CHH sites with a methylation frequency of zero as negative sites. Different criteria were applied for positive sites based on the methylation levels of different CHH motifs. For the CAA motif, we selected sites with a methylation frequency above 0.95, and the number of such sites exceeded 2 million. For the CAC, CAT, CTA, CTT, and CTC motifs, we selected sites with a methylation frequency above 0.9, with more than 1 million such sites. For the CCA, CCT, and CCC motifs, we selected sites with a methylation frequency above 0.85. For CHG motifs, positive sites were selected from S. miltiorrhiza and R. communis with methylation frequencies above 0.98, while negative sites were chosen with a frequency of zero. For CpG motifs, we selected sites from the HG002 and B. vulgaris datasets with methylation frequencies greater than 0.99 as positive sites and those with frequencies below 0.02 as negative sites.
DeepPlant framework
DeepPlant uses raw sequencing signals from the Nanopore R10.4 flowcell and a reference genome as input data. The raw sequencing signals should be saved in the pod5 file format. The Nanopore sequencing signals need to be base-called by a basecalling tool to obtain the corresponding read sequences, which are then aligned with the reference genome using an alignment tool. The reads need to be stored in a BAM file, and the move table must be retained during the basecalling to enable correspondence between the bases and their sequencing signals. After basecalling, the reads in the BAM file should be sorted by the pod5 file names (fn field).
Feature extraction
We locate the cytosine sites in the aligned reads based on the selected reference genome’s cytosine positions. A k-mer is extracted from the read for each target cytosine, with the target cytosine positioned in the middle of the k-mer. Reads not aligned to the reference or had low alignment quality were filtered out. The default filtering criteria for low-quality alignments are as follows: Reads with a mapping quality (MAPQ) score of less than 20 were filtered. Reads were further filtered if the length of the primary alignment (total length minus soft clipped bases) to the total number of bases in the read was less than 80% or the mapping identity was lower than 80%. We locate the raw sequencing signals for the k-mer from the pod5 file using the move table. The raw sequencing signals are standardized using the median shift and median absolute deviation (MAD) scale36. The mean and standard deviation are calculated for each base’s standardized signal. These, along with basecalling quality, the number of corresponding signals, and the base itself, form the sequence features. This leads to a matrix with dimensions of k×5. In addition, 15 signals are sampled from the standardized signals of each base to form signal features, resulting in a k×15 matrix. Thus, each k-mer has two types of features for cytosine methylation detection.
Model architecture
The k-mer sequence is transformed into an embedding representation, combined with other statistical features to create the sequence features. We then use three encoders to build DeepPlant. The first encoder independently encodes the sequence features, while the second encoder independently encodes the signal features. The encoded results from both are concatenated and fed into the third encoder, which performs collaborative encoding of the sequence. After the collaborative encoding, a feedforward network is used as the final classifier to determine the methylation probability of the target cytosine.
DeepPlant encoders use two structures: a bidirectional recurrent neural network(BiRNN)11 consisting of long short-term memory(LSTM)12 units and a transformer encoder13. The bidirectional LSTM scans the k-mer both forward and backward. Then, a feedforward network produces hidden vectors, aggregating information from all bases in the k-mer at the end of the sequence. We extract the hidden vectors from the sequence’s end in both the forward and backward directions and concatenate them to get the final encoding representation. On the other hand, when using the transformer encoder in DeepPlant, since the attention mechanism does not retain positional information, similar to natural language processing, both the sequence feature encoder and the signal feature encoder need to perform positional encoding at the beginning. We use sinusoidal positional encoding13, which can be described as:
where \({\mbox{pos}}\) is the position of the base within the k-mer, \(i\) is the index of the hidden vector dimension of the base or signal, and \({\mbox{d}}\) is the dimension of the hidden vector with default value of 128.
Then, we adopt a structure similar to BERT50, using a multi-head attention module and a feedforward network to construct another encoder with residual connections and layer normalization51 between the modules. The transformer encoder attends to the influence of the neighboring cytosines on both sides of the base, which affects its signal. We extract the hidden vector as the final encoding representation at the central position.
Training
We ultimately extracted 124 million samples genome-wide from S. miltiorrhiza, S. tuberosum, and R. communis nanopore sequencing data for CHH motifs, with a 1:1 ratio of positive to negative samples. For CHG motifs, we extracted samples from S. miltiorrhiza and R. communis, and for CpG motifs, samples were extracted from the HG002 and B. vulgaris datasets. About 1% of the total samples were used as a test set to select the best-performing model. Adam52 was used as the optimizer for the network, with exponential decay rates for the first and second-moment estimates set to 0.9 and 0.999, respectively. The initial learning rates for the LSTM and transformer encoder were set to 0.001 and 0.0005, respectively, and decreased by 80% with each epoch. The model’s optimization gradients were generated using cross-entropy loss. Gradient clipping was applied to prevent gradient explosion in the network. In addition, dropout layers53 were inserted between different layers of the model to mitigate overfitting, and early stopping54 was employed during training. The sequence feature encoder and the signal feature encoder were set to 2 layers, while the collaborative encoder was set to 3. The sequence encoder and signal encoder had a feature dimension of 128, whereas the collaborative encoder had a feature dimension of 256. Detailed network parameters are listed in Supplementary Data 4.
Model evaluation
We evaluated DeepPlant and Dorado using Nanopore R10.4 sequencing data from nine species: B. vulgaris, O. sativa, A. thaliana, V. vinifera, C. sinensis, S. miltiorrhiza, S. tuberosum, S. lycopersicum, and R. communis. We conducted all evaluations for each tool independently, and each tool was used with its default parameter settings. For read-level evaluation, we used BS-seq analysis as the benchmark. We selected sites with sequencing coverage higher than 5×, where sites with a methylation frequency of 0 were used as negative samples and those with a methylation frequency of 100% as positive samples. We extracted k-mer samples from these sites, sampling 100,000 positive and 100,000 negative samples. For datasets with insufficient positive samples, we applied the Synthetic Minority Over-Sampling Technique (SMOTE)55 to oversample and meet the evaluation requirements. We used DeepPlant and Dorado to determine their methylation status, and the sample is classified as methylated if the methylation probability is higher than the non-methylation probability. To increase the reliability of the results, we repeated this process three times and calculated the average of the three evaluation results.
For site-level evaluation, we downsampled the nanopore sequencing data to obtain datasets with depth of 5×, 10×, 15×, 20×, 25×, and 30×. For each sequencing depth, we selected cytosine locus with BS-seq and nanopore sequencing coverage, both higher than 5×, as valid evaluation sites, the number of sites detected by each method is listed in Supplementary Data 2. We determine the methylation threshold \({P}_{th}\) based on the output methylation probability distribution (Supplementary Fig. 2). Divide the range from 0.2 to 0.9 into 70 intervals with a step size of 0.01, using the left endpoint of each interval as the representative value for that interval. For the detection results of a single dataset, group the samples into the corresponding intervals based on their methylation probabilities, count the number of samples in each interval and calculate their proportion. The value corresponding to the interval with the smallest proportion is selected as the methylation threshold \({P}_{th}\). If the methylation probability \({P}_{m}\ge {P}_{th}\), the sample is classified as methylated; otherwise, it is classified as non-methylated. After aligning the target cytosine in the test reads with the reference genome, we calculated the number of cytosines predicted to be methylated and the total number of cytosines at each target genomic site to determine the methylation frequency at the site. We then calculate the Pearson correlation between the predicted methylation frequency at the whole-genome evaluation sites and the methylation frequency from BS-seq. The benchmarking results, including runtime and memory consumption, are provided in Supplementary Data 10.
K-mer balancing
Due to the low methylation levels of the CHH motif, there is a significant imbalance between the number of positive and negative k-mer samples available for training. This causes the model to produce different prediction biases for different k-mers, leading to unstable performance. Compared to DeepSignal-plant16, we adopted a stricter sample balancing method to mitigate the impact caused by k-mer sequences. The algorithm is as follows:
Input: a set of positive samples \({S}_{{pos}}\), set of negative samples \({S}_{{neg}}\), the maximum quantity of kmer k_max.
Output: a set of balanced positive samples \({S}_{{pos}}^{{\prime} }\), set of balanced negative samples \({S}_{{neg}}^{{\prime} }\).
-
1.
Kpos = set of k-mers in Spos, Kneg = set of k-mers in Sneg
-
2.
Kcomm = Kneg. Intersection(Kpos)
-
3.
KNUMpos = number of samples of each k-mer in Spos, KNUMneg = number of samples of each k-mer in Sneg
-
4.
\({S}_{{neg}}^{{\prime} }\) = ∅, \({S}_{{pos}}^{{\prime} }\) = ∅
-
5.
for each k-mer k in Kcomm do
-
(1)
k_count = min of KNUMpos(k), KNUMneg(k), k_max
-
(2)
\({S}_{{pos\_k}}^{{\prime} }\) = set of at most k_count samples of k extracted from Spos randomly
-
(3)
\({S}_{{neg\_k}}^{{\prime} }\) = set of at most k_count samples of k extracted from Sneg randomly
-
(4)
\({S}_{{neg}}^{{\prime} }\) += \({S}_{{neg\_k}}^{{\prime} }\)
-
(5)
\({S}_{{pos}}^{{\prime} }\) += \({S}_{{pos\_k}}^{{\prime} }\)
-
(1)
-
6.
return \({S}_{{pos}}^{{\prime} }\), \({S}_{{neg}}^{{\prime} }\)
Data availability
All sequencing data generated in this study (BS-seq and nanopore sequencing data of S. miltiorrhiza, S. tuberosum, R. communis, C. sinensis, S. lycopersicum, and V. vinifera; BS-seq data of G. max, P. patens and M. polymorpha) and our assembly of V. vinifera have been deposited in the Genome Sequence Archive in BIG Data Center, Beijing Institute of Genomics under accession PRJCA030666. The BS-seq and Nanopore sequencing data of A. thaliana, O. sativa, and B. vulgaris are available at BIG under accession PRJCA023349. The reference genomes of S. miltiorrhiza (GCF_028751815.1), S. tuberosum (GCF_000226075.1), R. communis (GCF_019578655.1), C. sinensis (GCF_022201045.2), A. thaliana (GCF_000001735.4), O. sativa (GCF_034140825.1), S. lycopersicum (GCA_915070445.1), and B. vulgaris (GCF_026745355.1) were downloaded from NCBI. The genome assembly and annotation for the T2T-NIP of O. sativa were accessed from RiceSuperPIRdb [http://www.ricesuperpir.com/web/nip]. Source data for Fig. 3c and d as well as Supplementary Fig. 3 and 6 are provided in Zenodo [https://doi.org/10.5281/zenodo.15062213]. Source data are provided with this paper.
Code availability
DeepPlant codes, installation, and usage instructions are available at Github [https://github.com/xiaochuanle/DeepPlant] and Zenodo [https://doi.org/10.5281/zenodo.15022822], which are distributed under the MIT License.
References
Zhang, H., Lang, Z. & Zhu, J.-K. Dynamics and function of DNA methylation in plants. Nat. Rev. Mol. Cell Biol. 19, 489–506 (2018).
Breiling, A. & Lyko, F. Epigenetic regulatory functions of DNA modifications: 5-methylcytosine and beyond. Epigenet. Chromatin 8, 24 (2015).
Wang, Z. & Baulcombe, D. C. Transposon age and non-CG methylation. Nat. Commun. 11, 1221 (2020).
Lucibelli, F., Valoroso, M. C. & Aceto, S. Plant DNA methylation: an epigenetic mark in development, environmental interactions, and evolution. Int. J. Mol. Sci. 23, 8299 (2022).
He, L. et al. DNA methylation-free Arabidopsis reveals crucial roles of DNA methylation in regulating gene expression and development. Nat. Commun. 13, 1335 (2022).
Vaisvila, R. et al. Enzymatic methyl sequencing detects DNA methylation at single-base resolution from picograms of DNA. Genome Res. 31, 1280–1289 (2021).
Booth, M. J. et al. Quantitative sequencing of 5-methylcytosine and 5-hydroxymethylcytosine at single-base resolution. Science 336, 934–937 (2012).
Frommer, M. et al. A genomic sequencing protocol that yields a positive display of 5-methylcytosine residues in individual DNA strands. Proc. Natl. Acad. Sci. USA 89, 1827–1831 (1992).
Treangen, T. J. & Salzberg, S. L. Repetitive DNA and next-generation sequencing: computational challenges and solutions. Nat. Rev. Genet. 13, 36–46 (2012).
Dai, Q. et al. Ultrafast bisulfite sequencing detection of 5-methylcytosine in DNA and RNA. Nat. Biotechnol. https://doi.org/10.1038/s41587-023-02034-w (2024).
Schuster, M. & Paliwal, K. K. Bidirectional recurrent neural networks. IEEE Trans. Signal Process. 45, 2673–2681 (1997).
Hochreiter, S. & Schmidhuber, J. Long short-term memory. Neural Comput 9, 1735–1780 (1997).
Vaswani, A. et al. Attention is all you need. Advances in Neural Information Processing Systems 30, 5998–6008 (2017).
Stanojević, D., Li, Z., Bakić, S., Foo, R. & Šikić, M. Rockfish: a transformer-based model for accurate 5-methylcytosine prediction from nanopore sequencing. Nat. Commun. 15, 5580 (2024).
Ahsan, M. U., Gouru, A., Chan, J., Zhou, W. & Wang, K. A signal processing and deep learning framework for methylation detection using Oxford Nanopore sequencing. Nat. Commun. 15, 1448 (2024).
Ni, P. et al. Genome-wide detection of cytosine methylations in plant from Nanopore data using deep learning. Nat. Commun. 12, 5976 (2021).
GitHub - nanoporetech/tombo. Oxford Nanopore Technologies. https://github.com/nanoporetech/tombo (2024).
GitHub - nanoporetech/megalodon. Oxford Nanopore Technologies. https://github.com/nanoporetech/megalodon (2024).
GitHub - nanoporetech/dorado: Oxford Nanopore’s Basecaller. https://github.com/nanoporetech/dorado/ (2024).
Niederhuth, C. E. et al. Widespread natural variation of DNA methylation within angiosperms. Genome Biol. 17, 194 (2016).
Bartels, A. et al. Dynamic DNA methylation in plant growth and development. Int. J. Mol. Sci. 19, 2144 (2018).
Gutschker, S. et al. Multi-omics data integration reveals link between epigenetic modifications and gene expression in sugar beet (Beta vulgaris subsp. vulgaris) in response to cold. BMC Genomics 23, 144 (2022).
Li, J., Li, C., Deng, Y., Wei, H. & Lu, S. Characteristics of Salvia miltiorrhiza methylome and the regulatory mechanism of DNA methylation in tanshinone biosynthesis. Hortic. Res. 10, uhad114 (2023).
Shi, Y., Qin, Y., Li, F. & Wang, H. Genome-wide profiling of DNA methylome and transcriptome reveals epigenetic regulation of potato response to DON stress. Front. Plant Sci. 13, 934379 (2022).
Xu, W., Yang, T., Dong, X., Li, D.-Z. & Liu, A. Genomic DNA methylation analyses reveal the distinct profiles in castor bean seeds with persistent endosperms. Plant Physiol. 171, 1242–1258 (2016).
Han, B. et al. Epigenetic regulation of seed-specific gene expression by DNA methylation valleys in castor bean. BMC Biol. 20, 57 (2022).
Han, B. et al. Dynamics of imprinted genes and their epigenetic mechanisms in castor bean seed with persistent endosperm. New Phytol. 240, 1868–1882 (2023).
Huang, H. et al. Global increase in DNA methylation during orange fruit development and ripening. Proc. Natl. Acad. Sci. USA 116, 1430–1436 (2019).
Li, X. et al. Genomic rearrangements and evolutionary changes in 3D chromatin topologies in the cotton tribe (Gossypieae). BMC Biol. 21, 56 (2023).
Lang, Z. et al. Critical roles of DNA demethylation in the activation of ripening-induced genes and inhibition of ripening-repressed genes in tomato fruit. Proc. Natl. Acad. Sci. USA 114, E4511–E4519 (2017).
Domb, K. et al. DNA methylation mutants in Physcomitrella patens elucidate individual roles of CG and non-CG methylation in genome regulation. Proc. Natl. Acad. Sci. USA 117, 33700–33710 (2020).
Griess, O. et al. Knockout of DDM1 in Physcomitrium patens disrupts DNA methylation with a minute effect on transposon regulation and development. PLoS ONE 18, e0279688 (2023).
Coruh, C. et al. Comprehensive annotation of Physcomitrella patens small RNA loci reveals that the heterochromatic short interfering RNA pathway is largely conserved in land plants. Plant Cell 27, 2148–2162 (2015).
Meyberg, R. et al. Characterisation of evolutionarily conserved key players affecting eukaryotic flagellar motility and fertility using a moss model. New Phytol. 227, 440–454 (2020).
Lang, D. et al. The Physcomitrella patens chromosome-scale assembly reveals moss genome structure and evolution. Plant J. 93, 515–533 (2018).
Ni, P. et al. DeepSignal: detecting DNA methylation state from Nanopore sequencing reads using deep-learning. Bioinformatics 35, 4586–4595 (2019).
Bai, X. et al. DeepBAM: a high-accuracy single-molecule CpG methylation detection tool for Oxford nanopore sequencing. Brief. Bioinform. 25, bbae413 (2024).
Cheng, Z. et al. Functional rice centromeres are marked by a satellite repeat and a centromere-specific retrotransposon. Plant Cell 14, 1691–1704 (2002).
Naish, M. & Henderson, I. R. The structure, function, and evolution of plant centromeres. Genome Res. 34, 161–178 (2024).
Shang, L. et al. A complete assembly of the rice Nipponbare reference genome. Mol. Plant 16, 1232–1236 (2023).
Luo, S. & Preuss, D. Strand-biased DNA methylation associated with centromeric regions in Arabidopsis. Proc. Natl. Acad. Sci. USA 100, 11133–11138 (2003).
Lei, Y., Huang, Y.-H. & Goodell, M. A. DNA methylation and de-methylation using hybrid site-targeting proteins. Genome Biol. 19, 187 (2018).
Read, A. et al. Genome‐wide loss of CHH methylation with limited transcriptome changes in Setaria viridis DOMAINS REARRANGED METHYLTRANSFERASE (DRM) mutants. Plant J. 111, 103–116 (2022).
Reikofski, J. & Tao, B. Y. Polymerase chain reaction (PCR) techniques for site-directed mutagenesis. Biotechnol. Adv. 10, 535–547 (1992).
Liu, C. et al. DNA 5-methylcytosine-specific amplification and sequencing. J. Am. Chem. Soc. 142, 4539–4543 (2020).
Carimi, F., Tortorici, M. C., De Pasquale, F. & Crescimanno, F. G. Somatic embryogenesis and plant regeneration from undeveloped ovules and stigma/style explants of sweet orange navel group [Citrus sinensis (L.) Osb.]. Plant Cell Tissue Organ Cult. 54, 183–189 (1998).
Das, D., Reddy, M., Upadhyaya, K. & Sopory, S. An efficient leaf-disc culture method for the regeneration via somatic embryogenesis and transformation of grape (Vitis vinifera L.). Plant Cell Rep. 20, 999–1005 (2002).
Li, H. Minimap2: pairwise alignment for nucleotide sequences. Bioinformatics 34, 3094–3100 (2018).
Krueger, F. & Andrews, S. R. Bismark: a flexible aligner and methylation caller for Bisulfite-Seq applications. Bioinformatics 27, 1571–1572 (2011).
Devlin, J., Chang, M.-W., Lee, K. & Toutanova, K. BERT: Pre-training of deep bidirectional transformers for language understanding. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT), 4171–4186 (2019).
Ba, J. L., Kiros, J. R. & Hinton, G. E. Layer normalization. Preprint at https://doi.org/10.48550/arXiv.1607.06450 (2016).
Kingma, D. P. & Ba, J. Adam: A method for stochastic optimization. Proceedings of the 3rd International Conference on Learning Representations (ICLR), 1–15 (2015).
Srivastava, N., Hinton, G., Krizhevsky, A., Sutskever, I. & Salakhutdinov, R. Dropout: a simple way to prevent neural networks from overfitting. J. Mach. Learn. Res. 15, 1929–1958 (2014).
Prechelt, L. Early stopping—but when? In Neural Networks: Tricks of the Trade (eds Orr, G. B. & Müller, K.-R.) 55–69 (Springer Berlin Heidelberg, Berlin, Heidelberg, 1998).
Chawla, N. V., Bowyer, K. W., Hall, L. O. & Kegelmeyer, W. P. SMOTE: synthetic minority over-sampling technique. J. Artif. Intell. Res. 16, 321–357 (2002).
Acknowledgements
The authors thank all those who generated and freely released the data analyzed in our present study. The authors acknowledge financial support from the National Key R&D Program of China (2022YFF1201900 to C.-L.X.), the National Natural Science Foundation of China (no. U21A20414 to Q.H.; no. 32270713, 62350004 to C.-L.X.; no. 82230031 to W.C.); Guangdong Basic and Applied Basic Research Foundation (2020B1515020057 to C.-L.X.).
Author information
Authors and Affiliations
Contributions
C.-L.X., L.C., Q.H., and W.C. conceived the study. H.-X.C., C.-L.X., and Z.-D.L. implemented the algorithms of DeepPlant, H.-X.C., and X.B. wrote the code of DeepPlant, X.B., H.-X.C., B.W., R.S., and H.-C.Y. carried out experiments and data analysis, H.-X.C., B.W., X.B., C.-L.X., and Y.C. wrote the manuscript. B.W. modified and improved the manuscript. All authors read and approved the final version of the manuscript.
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing interests.
Peer review
Peer review information
Nature Communications thanks the anonymous reviewers for their contribution to the peer review of this work. A peer review file is available.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
Source data
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Chen, HX., Liu, ZD., Bai, X. et al. Accurate cross-species 5mC detection for Oxford Nanopore sequencing in plants with DeepPlant. Nat Commun 16, 3227 (2025). https://doi.org/10.1038/s41467-025-58576-x
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41467-025-58576-x
This article is cited by
-
Non-CG DNA methylation in animal genomes
Nature Genetics (2025)