Genome-wide Detection of Cytosine Methylations in Plant from Nanopore sequencing data using Deep Learning

Peng Ni, Neng Huang, Fan Nie, Jun Zhang, Zhi Zhang, Bo Wu, Lu Bai, Wende Liu, Chuan‐Le Xiao, Feng Luo, Jianxin WangbioRxiv 2021

TL;DR

This paper introduces "DeepSignal-plant," a novel deep learning pipeline for accurately detecting DNA methylation (5mC) across all contexts (CpG, CHG, CHH) in plant genomes using Nanopore sequencing data. This method overcomes limitations of existing tools, particularly for non-CpG methylation, and enables more comprehensive profiling, especially in challenging repetitive regions.

What Problem Does This Paper Address?

DNA methylation, specifically 5-methylcytosine (5mC), is a crucial epigenetic modification involved in gene regulation and genome stability in plants. While bisulfite sequencing has been the gold standard for detecting 5mC, it has drawbacks like DNA degradation, short reads, and amplification biases. Nanopore sequencing offers a direct detection method without these issues, but existing computational tools struggle to accurately identify 5mC in non-CpG contexts (CHG and CHH), which are prevalent and important in plants. This gap limits our understanding of plant epigenetics.

Methods

The core of this work is the DeepSignal-plant pipeline, a deep learning model built upon bidirectional recurrent neural networks (BRNN) with LSTM units. Key methodological innovations include:

  • DeepSignal-plant Architecture: A modified version of the DeepSignal architecture, optimized for plant DNA methylation detection, featuring BRNNs instead of inception blocks, resulting in a significantly smaller model size.
  • Sample Selection Strategy: A crucial step to address the imbalance between methylated and unmethylated sites (especially in non-CpG contexts) by selecting high-confidence sites from bisulfite sequencing data.
  • Training Sample Balancing and Denoising: Algorithms to balance positive and negative samples for each k-mer and iteratively remove false positive training samples using cross-prediction. This significantly improves performance, particularly for CHH methylation.
  • Cross-Species Validation: Training models on one plant species and testing on another to demonstrate robustness and generalizability.

Datasets

  • Training and Evaluation Data: Nanopore sequencing data from two model plants, Arabidopsis thaliana and Oryza sativa (rice), were generated. Bisulfite sequencing data from these plants served as the benchmark for training and evaluating the models.
  • Cross-Species Validation Data: Nanopore and bisulfite sequencing data from Brassica nigra were used to test the generalizability of the trained models.
  • Publicly Available Data: The authors also utilized publicly available Nanopore sequencing data for B. nigra from a previous study.

Key Insights and Ideas

  • Non-CpG Methylation is Key in Plants: The study highlights the significant role of CHG and CHH methylation in plants, which are often overlooked by tools focused solely on CpG methylation.
  • Nanopore Sequencing's Advantage in Repetitive Regions: The long reads of Nanopore sequencing are particularly beneficial for profiling methylation in complex and repetitive genomic regions that are difficult to map with short-read bisulfite sequencing.
  • Data Imbalance is a Major Hurdle: The extreme imbalance between methylated and unmethylated cytosines, especially in non-CpG contexts, poses a significant challenge for training accurate machine learning models. The proposed sample selection and denoising strategies are critical for overcoming this.
  • Deep Learning for Direct Methylation Detection: The success of DeepSignal-plant demonstrates the power of deep learning for directly inferring DNA modifications from raw Nanopore signals, bypassing traditional chemical treatments.

Key Results

  • High Accuracy: DeepSignal-plant achieved high correlations with bisulfite sequencing across all contexts: >0.98 for CpG, 0.96 for CHG, and 0.85 for CHH in A. thaliana and O. sativa.
  • Robust Performance with Low Coverage: The pipeline demonstrated high performance even with low Nanopore sequencing coverage (e.g., 20x), outperforming Megalodon in such scenarios.
  • More Comprehensive Methylation Profiling: Nanopore sequencing with DeepSignal-plant detected a higher percentage of cytosines (up to 1.1% more in A. thaliana and >5.3% more in O. sativa) compared to bisulfite sequencing, particularly in previously unmappable gaps and repetitive regions.
  • Cross-Species Generalizability: Models trained on one species performed well on others, indicating the robustness of the approach.
  • Outperforms Existing Tools: DeepSignal-plant outperformed other Nanopore-based methylation detection tools (Tombo, nanopolish, DeepSignal, Megalodon) in non-CpG contexts and showed comparable or superior performance in CpG contexts.

Limitations and Future Work

  • Focus on 5mC: Currently, DeepSignal-plant is optimized for 5mC detection. The authors envision extending this to other DNA modifications as more ground-truth data becomes available.
  • RNA Modifications: The authors suggest that similar deep learning approaches could be applied to RNA modifications, but this requires improvements in basecalling accuracy for RNA sequencing and the generation of large-scale gold-standard RNA modification data.
  • Model Size: While significantly smaller than DeepSignal, the model size could still be a consideration for some applications.
  • Future Work: The authors aim to develop models for other modifications and integrate them into a comprehensive epigenetics analysis tool. They also highlight the potential for Nanopore sequencing to aid in the assembly of complex genomic regions, like long repeats.

Summary updated

Abstract

Abstract Methylation states of DNA bases can be detected from native Nanopore reads directly. At present, there are many computational methods that can detect 5mCs in CpG contexts accurately by Nanopore sequencing. However, there is currently a lack of methods to detect 5mCs in non-CpG contexts. In this study, we propose a computational pipeline which can detect 5mC sites in both CpG and non-CpG contexts of plant genomes by using Nanopore sequencing. And we sequenced two model plants Arabidopsis thaliana ( A. thaliana ) and Oryza sativa ( O. sativa ) by using Nanopore sequencing and bisulfite sequencing. The results of our proposed pipeline in the two plants achieved high correlations with bisulfite sequencing: above 0.98, 0.96, 0.85 for CpG, CHG, and CHH (H indicates A, C or T) motif, respectively. Our proposed pipeline also achieved high performance on Brassica nigra ( B. nigra ). Experiments also showed that our proposed pipeline can achieve high performance even with low coverage of reads. Moreover, by using Nanopore sequencing, our proposed pipeline is capable of profiling methylation of more cytosines than bisulfite sequencing.
BibTeX
@misc{ni2021genome,
  author = {Peng Ni and Neng Huang and Fan Nie and Jun Zhang and Zhi Zhang and Bo Wu and Lu Bai and Wende Liu and Chuan‐Le Xiao and Feng Luo and Jianxin Wang},
  title = {{Genome-wide Detection of Cytosine Methylations in Plant from Nanopore sequencing data using Deep Learning}},
  year = {2021},
  doi = {10.1101/2021.02.07.430077},
  howpublished = {bioRxiv},
}
Figure