Four panels: A, adenine versus N6-methyladenosine; B, nanopore sequencing; C, current distributions of unmodified and modified A differ; D, machine-learning models classify the signal segments
RNA m6A detection. Panel A after Shi et al. (2019); panel D after Pratanwanich et al. (2021) and Hendra et al. (2022).

Panel A shows the difference between adenine (A) and N6-methyladenosine (m6A). After Nanopore sequencing (B), the current distributions of unmodified and modified A separate (C), and machine-learning or deep-learning models classify the pooled signal segments at each site (D). NanoBaseLib benchmarks two modifications, m6A and m5C.

m6A results on mESCs_eligos

Six baselines against three independent ground truths. m6Anet, a multiple-instance-learning neural network, is best on every ground truth; SegPore and Nanom6A follow. Precision-recall AUCs below 0.5 across the board show how imbalanced and difficult site-level detection remains.

ModelROC AUC ↑PR AUC ↑
miCLIPmiCLIP2MeRIP-seqmiCLIPmiCLIP2MeRIP-seq
m6Anet
0.868
0.891
0.758
0.417
0.472
0.462
SegPore
0.844
0.831
0.720
0.390
0.374
0.400
Nanom6A
0.823
0.813
0.712
0.355
0.356
0.380
Epinano
0.810
0.810
0.706
0.324
0.372
0.385
MINES
0.763
0.680
0.678
0.286
0.281
0.326
Tombo (de novo)
0.733
0.708
0.639
0.172
0.186
0.241

Test dataset: mESCs_eligos (mouse embryonic stem cells, Mettl3 wild type vs knockout). Bars are scaled 0–1; ★ marks the best model per column.

m5C results on ecoli_eligos

In the in-vitro-transcribed E. coli data every cytosine of IVT_m5C is modified and none in IVT_normalC, which gives a clean site-level ground truth. CHEUI-solo clearly outperforms both Tombo modes.

ModelROC AUC ↑PR AUC ↑
CHEUI-solo
0.842
0.704
Tombo (alternative)
0.715
0.662
Tombo (de novo)
0.561
0.583

Ground truth acquisition

m6A. Modification sites and rates come from short-read assays in which an antibody against the modification pulls down modified fragments: MeRIP-seq (Meyer et al., 2012), miCLIP (Linder et al., 2015) and miCLIP2 (Körtel et al., 2021). Each assay is used as a separate ground truth because they disagree with one another.

m5C. Synthetic RNA in which every cytosine was replaced with m5C during synthesis, so all C positions are modified; the matching unmodified synthesis provides negatives.

Evaluation metrics

Given the predicted modification state over all test sites and the ground truth, we compute sensitivity, specificity, precision and recall, and summarise with the area under the ROC curve and the area under the precision-recall curve. The benchmark files (site lists, predictions and labels) are in rna_mod_detection/ on GitHub, together with the plotting scripts.

Baseline models

ModelVersionCodeMethodScope
m6Anet · paper1.0github.com/GoekeLab/m6anetMultiple-instance learning, MLPm6A only
CHEUI · paper-github.com/comprna/CHEUICNNm6A and m5C
Epinano · paper1.2.0github.com/novoalab/EpiNanoSVM on base-calling error features-
MINES · paper-github.com/YeoLab/MINESRandom forestm6A only
Nanom6A · paper2.0github.com/gaoyubang/nanom6AXGBoostm6A only
SegPore · paper1.0github.com/guangzhaocs/SegPoreGaussian mixture model on segmented signal-
Tombo1.5.1nanoporetech.github.io/tomboStatistical test (de novo / alternative model)-

m6Anet and CHEUI are deep-learning methods; Epinano, MINES and Nanom6A are classical classifiers on hand-crafted features; SegPore fits a Gaussian mixture to segmented signals; Tombo performs a statistical test either de novo (against a canonical model) or with an alternative, modification-aware model.

References

  1. Shi, H., Wei, J. & He, C. Where, when, and how: context-dependent functions of RNA methylation writers, readers, and erasers. Molecular Cell 74, 640–650 (2019).
  2. Liu, H. et al. Accurate detection of m6A RNA modifications in native RNA sequences. Nature Communications 10, 4079 (2019).
  3. Pratanwanich, P.N. et al. Identification of differential RNA modifications from nanopore direct RNA sequencing with xPore. Nature Biotechnology 39, 1394–1402 (2021).
  4. Hendra, C. et al. Detection of m6A from direct RNA sequencing using a multiple instance learning framework. Nature Methods 19, 1590–1598 (2022).
  5. Acera Mateos, P. et al. Prediction of m6A and m5C at single-molecule resolution reveals a transcriptome-wide co-occurrence of RNA modifications. Nature Communications 15, 3899 (2024).
  6. Meyer, K.D. et al. Comprehensive analysis of mRNA methylation reveals enrichment in 3′ UTRs and near stop codons. Cell 149, 1635–1646 (2012). · Linder, B. et al. Nature Methods 12, 767–772 (2015). · Körtel, N. et al. Nucleic Acids Research 49, e92 (2021).