DeepSignal: detecting DNA methylation state from Nanopore sequencing reads using deep-learning

Peng Ni, Neng Huang, Feng Luo, Jianxin WangbioRxiv 2018

TL;DR

This paper introduces DeepSignal, a deep learning framework that leverages raw electrical signals from Nanopore sequencing to accurately detect DNA methylation sites (5mC and 6mA). DeepSignal outperforms previous methods, achieving high accuracy even with low sequencing coverage, making it a powerful tool for epigenetic analysis.

What Problem Does This Paper Address?

DNA methylation is a crucial epigenetic modification that plays a significant role in various biological processes, including development, aging, and disease. Accurately identifying these methylation sites is essential for understanding gene regulation and cellular function. While single-molecule sequencing technologies like Nanopore offer direct detection of DNA methylation without the need for bisulfite conversion, existing methods often struggle with accuracy, require high sequencing coverage, or are limited to specific methylation types (e.g., only CpG sites). This paper aims to address these limitations by developing a more robust and versatile deep learning approach for DNA methylation detection from Nanopore data.

Methods

DeepSignal employs a novel deep learning architecture with two key feature extraction modules:

  • Signal Feature Module: This module uses a Convolutional Neural Network (CNN) to extract features directly from the raw electrical signals generated by the Nanopore sequencer. It considers that a methylated base not only affects its own signal but also influences the signals of neighboring bases.
  • Sequence Feature Module: This module utilizes a Bidirectional Recurrent Neural Network (BRNN), specifically Long Short-Term Memory (LSTM) units, to capture sequence information around the methylated site. This is important because methyltransferases often bind to specific sequence motifs.

These two modules' features are concatenated and fed into a fully connected neural network with a sigmoid activation function for classification, predicting the methylation probability of a target site. The model is trained using a cross-entropy loss function.

Datasets

The study utilized several datasets for training and evaluation:

  • pUC19 plasmid DNA: Used for both 6mA (GATC motifs) and 5mC (CCWGG motifs) methylation detection. This data was generated from dcm and dam methyltransferase treated DNA and their PCR-amplified controls.
  • E. coli K12: Used for CpG methylation (5mC) detection. Data was previously used by Simpson et al.
  • Human NA12878: Used for CpG methylation (5mC) detection. Data was previously used by Simpson et al.

The study also mentions using data previously used by signalAlign [16] for E. coli K12 MG1655 (5mC data).

Key Insights and Ideas

  • Raw signals are rich in information: The paper demonstrates that raw electrical signals from Nanopore sequencing contain sufficient information to detect DNA methylation, even for bases that don't show significant signal differences on their own, by considering neighboring signals.
  • Deep learning excels at integrating diverse features: By combining raw signal features (CNN) and sequence context (BRNN), DeepSignal can capture complex patterns that are missed by traditional statistical or HMM-based methods.
  • Versatility across methylation types and motifs: DeepSignal shows consistent performance across different methylation bases (5mC and 6mA) and motifs (CpG, CCWGG, GATC), unlike some previous methods that were more specialized.
  • Low coverage is feasible: The ability of DeepSignal to achieve high accuracy with low sequencing coverage (e.g., >90% accuracy at 5X coverage) is a significant advantage, potentially reducing sequencing costs and enabling analysis of limited biological samples.

Key Results

  • Higher Accuracy: DeepSignal achieved higher read-level and genome-level accuracy for detecting both 5mC and 6mA compared to previous HMM-based methods like signalAlign and nanopolish.
  • 100% Accuracy on pUC19: For 6mA detection in GATC motifs on pUC19 plasmid, DeepSignal achieved 100% accuracy. For 5mC in CCWGG motifs, it achieved 99.6% accuracy with template strand data and 100% with both template and complement strands.
  • Strong Performance on Human CpG: For human CpG methylation, DeepSignal achieved 0.949 accuracy, outperforming nanopolish (0.894).
  • Low Coverage Performance: DeepSignal demonstrated >90% genome-level accuracy for 5mC and 6mA detection under just 5X coverage using controlled methylation data. It achieved 0.922 accuracy for human CpG data even at 1X coverage.
  • Reduced Coverage Requirement: DeepSignal required significantly fewer sampled reads to achieve high accuracy compared to signalAlign. For example, it achieved >0.9 accuracy for GATC methylation with only 5 reads, while signalAlign needed 30.

Limitations and Future Work

  • Model Training: The paper mentions using a batch size of 512 and an initial learning rate of 0.001, which are standard practices. However, specific details on hyperparameter tuning beyond Adam optimization and learning rate decay are not extensively detailed.
  • Future Work: The authors suggest that DeepSignal's ability to detect methylation with low coverage is particularly important given the cost of Nanopore sequencing, implying its utility for various applications. Further exploration of its performance on more diverse and complex genomic regions or with other types of DNA modifications could be future directions. The paper also implicitly suggests that further optimization of deep learning architectures could lead to even greater accuracy and efficiency.

Summary updated

Abstract

Abstract The Oxford Nanopore sequencing enables to directly detect methylation sites in DNA from reads without extra laboratory techniques. In this study, we develop DeepSignal, a deep learning method to detect DNA methylated sites from Nanopore sequencing reads. DeepSignal construct features from both raw electrical signals and signal sequences in Nanopore reads. Testing on Nanopore reads of pUC19, E. coli and human, we show that DeepSignal can achieve both higher read level and genome level accuracy on detecting 6mA and 5mC methylation comparing to previous HMM based methods. Moreover, DeepSignal achieves similar performance cross different methylation bases and different methylation motifs. Furthermore, DeepSignal can detect 5mC and 6mA methylation states of genome sites with above 90% genome level accuracy under just 5X coverage using controlled methylation data.
BibTeX
@misc{ni2018deepsignal,
  author = {Peng Ni and Neng Huang and Feng Luo and Jianxin Wang},
  title = {{DeepSignal: detecting DNA methylation state from Nanopore sequencing reads using deep-learning}},
  year = {2018},
  doi = {10.1101/385849},
  howpublished = {bioRxiv},
}
Figure