Abstract
The epitranscriptome embodies many new and largely unexplored functions of RNA. A significant roadblock hindering progress in epitranscriptomics is the identification of more than one modification in individual transcript molecules. We address this with CHEUI (CH3 (methylation) Estimation Using Ionic current). CHEUI predicts N6-methyladenosine (m6A) and 5-methylcytosine (m5C) in individual molecules from the same sample, the stoichiometry at transcript reference sites, and differential methylation between any two conditions. CHEUI processes observed and expected nanopore direct RNA sequencing signals to achieve high single-molecule, transcript-site, and stoichiometry accuracies in multiple tests using synthetic RNA standards and cell line data. CHEUI’s capability to identify two modification types in the same sample reveals a co-occurrence of m6A and m5C in individual mRNAs in cell line and tissue transcriptomes. CHEUI provides new avenues to discover and study the function of the epitranscriptome.
Subject terms: Machine learning, Transcriptomics, RNA sequencing, RNA, Data processing
The epitranscriptome holds many unexplored RNA functions, but detecting multiple modifications from one sample remains challenging. Here, authors devise a strategy combining AI and nanopore sequencing to uncover a transcriptome-wide co-occurrence of two modification types in individual RNA molecules.
Introduction
The identification of transcriptome-wide maps of two modified ribonucleotides in messenger RNAs (mRNA), 5-methylcytosine (m5C) and N6-methyladenosine (m6A)1–3, has sparked over the last decade a new and expanding area of epitranscriptomics. Techniques based on immunoprecipitation, enzymatic, or chemical reactivity enrichment methods, coupled with high-throughput sequencing, have uncovered the role of these and other modifications in multiple steps of mRNA metabolism, including translation of mRNA into protein4,5, mRNA stability6, and mRNA processing such as pre-RNA alternative splicing7 and RNA export from the nucleus8. Several physiological processes have also been functionally linked with RNA modifications, such as sex determination9, early embryonic development10, neurogenesis11 and learning12. Moreover, growing evidence indicates that RNA modification pathways are dysregulated in diseases such as cancer13 and neurological disorders11. Most of these studies have focused on changes at global or gene levels or on the dysregulation of the RNA modification machinery, whereas little is known about how multiple modifications occur in individual mRNA molecules.
A major roadblock preventing rapid progress in research on RNA modifications is the general lack of universal modification detection methods. Although over 300 naturally occurring RNA modifications have been described14, only a handful of them can be mapped and quantified across the transcriptome15,16. Nanopore direct RNA sequencing (DRS) is the only currently available technology that can determine the sequence of individual RNA molecules in their native form at a transcriptome-wide level. DRS can capture information about the chemical structure, including naturally occurring covalent modifications in nucleotide residues (nucleotides)17,18. Nonetheless, RNA modification detection from DRS signals presents various challenges. The differences between modified and unmodified signals are subtle at single molecule level and depend on the sequence context. Additionally, due to the variable translocation rate of the molecules through the pores and the potential pore-to-pore variability, different copies of the same molecule present considerable signal variations19. These challenges necessitate the application of advanced computational models to interpret the signals and identify modification state.
Several computational methods have been developed in the past few years to detect RNA modifications in DRS data. These methods can be broadly grouped into two categories. The first one includes methods that rely on comparing DRS signals between two conditions, one corresponding to a sample of interest, often the wild type (WT) sample, and the other with a reduced presence of a specific modification, usually obtained through a knock-out (KO) or knock-down (KD) of a modification writer enzyme or through in-vitro transcription. This category includes Nanocompore20, Xpore21, DRUMMER22, nanoDOC23, Yanocomp24 and Tombo25 in sample comparison mode, among others, all utilizing the collective properties of DRS signals in the two conditions. This category also includes ELIGOS26 and Epinano27, which compare base-calling errors between two experiments; and NanoRMS28, which compares signal features between two samples. The second category of tools can operate in a single condition, i.e., without using a KO/KD or an otherwise control. This category includes MINES29, Nanom6A30, and m6Anet31, all predicting m6A on specific sequence contexts, Tombo25 in alternate mode, which identifies transcriptomic sites with potential m5C modification, and Epinano-RMS, which predicts pseudouridine on high stoichiometry sites28. Other methods have been recently developed that use one or more of these strategies to predict RNA modifications32–35.
Despite the numerous advances in direct RNA modification detection, some major limitations remain. Approaches comparing two conditions generally require a control sample, which can be difficult or impossible to generate. Their modification calling is also indirect, as it relies on changes in the control sample relative to wild type (WT) and these changes may not be directly related to the modification of interest. For instance, depletion of m5C leads to a reduction of hm5C36, hence potentially confounding the results. Regarding the methods that use error patterns, they depend on the specific accuracy of the base caller method, which will vary over time with the base caller version and architecture. Moreover, this may not be applicable to all modifications. For instance, it was described that error patterns were not consistent enough to confidently identify m5C methylation26. Limitations also exist in methods that work with individual samples. MINES, Nanom6A, and m6Anet only predict m6A modifications in 5′-DRACH/RRACH-3′ motifs, and Epinano-RMS only detects pseudouridine in transcriptome sites of high stoichiometry. Additionally, the ability of current methods from both categories to predict stoichiometry is limited. Some of them cannot predict it, whereas others only estimate the stoichiometry at 5′-DRACH-3′ sites or rely on a control sample devoid of modifications. Transcriptome-wide methods that can predict multiple modifications in individual RNA molecules could enable more precise study of their function.
To advance the field in this direction, we have developed CHEUI (CH3 (methylation) Estimation Using Ionic current) for the prediction of m6A and m5C from the same sample at a transcriptome-wide level in individual molecules, at transcript reference sites, and between conditions. CHEUI is based on a two-stage neural network and was trained using read signals generated from in-vitro transcripts (IVTs). We validated CHEUI’s accuracy through a comprehensive set of benchmarking analyses using synthetic RNA standards, orthogonal experiments, and cell line data. Using CHEUI in cell line transcriptomes, we further identified a co-occurrence of m6A and m5C in individual mRNA molecules. CHEUI addresses some of the current limitations in the transcriptome-wide identification of RNA modifications and provides new opportunities for the study of the epitranscriptome.
Results
CHEUI detects m6A and m5C in individual reads, transcriptomic sites, and across conditions
For signal preprocessing, CHEUI uses the nanopore read signals corresponding to the 9 mer, composed of five overlapping 5 mers, centered at every single adenosine (A) for m6A or cytosine (C) for m5C (Fig. 1a) (Suppl. Fig. 1). Signal preprocessing further includes derivation of distances between the observed signals and expected unmodified signal values for each 9 mer (Fig. 1a) (Suppl. Fig. 2a–c). The inclusion of the distance increased accuracy by ~10% in a test using independent data (Suppl. Fig. 2d). After preprocessing the signals, CHEUI employs two different modules: CHEUI-solo (Fig. 1b), which makes predictions in individual reads and transcript reference sites in given input sample; and CHEUI-diff (Fig. 1c), which tests differential methylation between any two samples. CHEUI-solo predicts RNA methylation at two different levels. Model 1 predicts m6A or m5C at nucleotide resolution on individual read signals. Model 2 predicts m6A or m5C at the transcript site level, i.e., relative to a position in the reference transcript, based on the per-read predictions from Model 1 (Fig. 1b). Both CHEUI-solo Models 1 and 2 are Convolutional Neural Networks (CNNs) (Suppl. Fig. 3). CHEUI-diff uses a statistical test to compare the individual read probabilities from CHEUI-solo Model 1 across two conditions, to predict differential stoichiometry of m6A or m5C at each transcriptomic site (Fig. 1c). More details about the models are provided in the Methods section.
CHEUI accurately detects m5C and m6A in reads and sequence contexts not seen during training
To evaluate CHEUI’s accuracy, we first tested CHEUI-solo’s ability to correctly classify individual read signals not previously used but from 9 mer contexts seen during training, also known as sensor generalization37. For this test, only read signals from 9 mers with a single modified nucleotide were considered, i.e., 9 mers where only one A or one C was present, which were collectively called IVT set 127. CHEUI achieved accuracy, precision, and recall values of ~0.8 for m6A and m5C predictions in individual reads (Fig. 2a, IVT set 1). Then, to determine CHEUI’s ability to classify signals from 9 mer contexts not seen during training, also known as k mer generalization37, we used signals from a different set of IVTs from a different sequencing experiment26, which we called IVT set 2. As before, this test only included signals from 9 mer sites with a single middle A or C. CHEUI achieved accuracy, precision, and recall of ~0.8 for m6A and ~0.75 for m5C (Fig. 2a, IVT set 2).
Inspection of the individual read probability distributions showed that modification calls with CHEUI-solo Model 1 probability close to 0.5 are more likely to be mislabeled (Suppl. Fig. 4a–4d). We thus explored whether a double cutoff for the individual read probability would improve the accuracy. In this setting, predictions above a first probability cutoff would be considered methylated, whereas those below a second probability cutoff would be considered non-methylated, with all other read signals between these two cutoff values being discarded. Similar double-cutoff strategies have been shown before to improve the accuracy of methylation and stoichiometry estimation from DNA nanopore sequencing38. Amongst the configurations tested, the double cutoff 0.7 and 0.3 provided the optimal balance between accuracy gain and the number of preserved reads, with an improved area (AUC) under the receiver operating characteristic curve (ROC) for m6A (from 0.857 – 0.899) and m5C (from 0.827 to 0.877) (Fig. 2b), while retaining about 73% of the reads (Fig. 2c).
To train and test CHEUI-solo Model 2 for predicting the methylation probability at the transcript site level, we built in-silico controlled mixtures of reads, with pre-defined proportions of modified and unmodified read signals from the IVT set 1 not included previously in the training or testing of CHEUI-solo Model 1. CHEUI achieved an AUC of 0.92 for m6A and 0.953 for m5C at transcript site detection (Fig. 2d). Moreover, at a per-site probability > 0.99, the estimated false positive rate (FPR) on the test data was 0.00074 for m6A and 0.00034 for m5C (Fig. 2e).
CHEUI accurately detects m6A and m5C stoichiometry levels
We next compared CHEUI-solo with Nanocompore20, Xpore21 and Epinano27 for the ability to detect and quantify RNA modifications. To achieve this, we built positive and negative independent test datasets using read signals from IVT test 2 not used before, but with known modification state. The positive sites were built as mixtures with a pre-defined stoichiometry of 20, 40, 60, 80, and 100 percent, using 81 sites for m6A and 84 sites for m5C for each stoichiometry mixture. The negative sites consisted of 512 sites for A and 523 sites for C, using only signals from non-modified IVTs. The positive and negative sites were built by sampling reads randomly at a variable level of coverage, resulting in a lifelike coverage range of 20 – 149 reads per site. Since Nanocompore, Xpore, and Epinano required a control sample to detect modifications, a second dataset containing only unmodified signals was created for the same sites, randomly sub-sampling independent reads to the same level of coverage. We observed that the number of true positives (TP) detected by most tools increased with the site stoichiometry (Fig. 2f). Notably, CHEUI-solo recovered a higher number of true methylated sites compared to the other tools at all stoichiometry levels for both m6A and m5C. We next estimated the false positives by predicting with all tools on the built negative sites, using a single sample for CHEUI-solo and two independent negative samples for Xpore, Epinano, and Nanocompore. Xpore and Epinano showed the highest false positive rate (FPR) for m6A and m5C. CHEUI-solo had 1 misclassified site for m5C and none for m6A, whereas Nanocompore had no false positives (Fig. 2g).
We next evaluated the stoichiometry prediction in a site-wise manner. For this analysis, we included nanoRMS28 and Tombo25, which can estimate stoichiometries at pre-defined sites. Stoichiometries were calculated for the sites that were previously predicted to be modified by each tool. For NanoRMS and Tombo, the predictions for all sites were considered since these tools do not specifically predict whether a site is modified or not. CHEUI-solo outperformed all the other tools, showing a higher correlation for m6A (Pearson r = 0.839) and m5C (Pearson r = 0.839) with the ground truth (Fig. 2h). CHEUI-solo was followed by Xpore (r = 0.524) and Nanocompore (r = 0.498) for m6A, and by Xpore (r = 0.556) (Fig. 2h) and NanoRMS (r = 0.46) (Suppl. Fig. 5) for m5C.
CHEUI identifies m6A modifications in cellular mRNA
We next tested CHEUI’s ability to correctly identify m6A in cellular RNA. Using DRS reads from wild-type (WT) HEK293 cells21 (Suppl. Data S1), we tested 3,138,914 transcriptomic adenosine sites with a coverage of >20 reads in all three available replicates. Prior to any significance filtering, these sites showed a high correlation among replicates in the predicted stoichiometry and modification probability per site (Fig. 3a). Analyzing the replicates together, we considered as significant those sites with prediction probability > 0.9999, which was estimated to result in an FDR nearing 0 using an empirical permutation test. After imposing this cutoff, CHEUI-solo identified 10,036 significant m6A transcriptomic sites on 3905 transcripts, corresponding to 8776 genomic sites (Suppl. Data S2 and S3). Most of the modifications were detected on single As, with a minor proportion of AA and AAA sites predicted as modified (Suppl. Fig. 6a). Moreover, 85.12% of the transcriptomic sites identified by CHEUI (84.5% genomic sites) had the 5′-DRACH-3′ motif, which is a higher proportion than the 76.57% identified in m6ACE-seq and miCLIP experiments39,40. Interestingly, CHEUI-solo predicted m6A in 1,493 non-DRACH motifs (1,356 genomic sites), with the two most common ones being 5′-GGACG-3′ (203 genomic sites) and 5′-GGATT-3′ (121 genomic sites). These motifs were also the two most common non-DRACH motifs identified previously by miCLIP2 experiments in the same cell line, occurring at 245 (5′-GGACG-3′) and 96 (5′-GGATT-3′) sites41.
The m6A modification rate along mRNAs recapitulated the profile described previously, with an enrichment at the 3’ and 5’ UTRs1,3,42 (Suppl. Fig. 6b). Moreover, CHEUI predictions recovered the depletion of m6A sites in the range of <200 nt from the splice-sites, as was recently described43–45 (Fig. 3b). Furthermore, considering the m6A sites identified in HEK293 cells by GLORI46, a method based on the chemical conversion of adenosines, the 6368 sites predicted by CHEUI and GLORI (out of the 28,865 GLORI sites with >20 nanopore reads) showed a high correlation in their estimated stoichiometries (Fig. 3c). We next assessed CHEUI’s false positive rate (FPR) by predicting m6A on DRS data from in-vitro transcribed HeLa transcriptomes47, which are fully non-modified. The FPR was on average 0.0003 (i.e., 3 false predictions at P > 0.9999 for every 10,000 tested sites) across three replicates (Suppl. Fig. 7a). Furthermore, CHEUI Model 2 probabilities were skewed towards zero (Suppl. Fig. 7b) and the FPR decreased with increasing coverage (Suppl. Fig. 7c), with most of the tested sites having coverage of 21–100 reads (Suppl. Fig. 7d).
Next, we considered previously published DRS data from HEK293 cells with a knockout of the m6A writer METTL3 (METTL3-KO)21. Using CHEUI-solo predictions at individual read level, we confirmed a significant decrease in the proportion of m6A nucleotides in METTL3-KO with respect to the WT (p-value = 1.3E-254) (Suppl. Fig. 8a). Furthermore, using a transcriptomic site modification probability of >0.9999 as before, we corroborated the overall decrease in the proportion of modified sites along mRNAs in the KO samples (Suppl. Fig. 8b). However, CHEUI predicted 4603 significant m6A transcriptomic sites in METTL3-KO (Suppl. Data S4), with 2068 of them also present in the WT, which is consistent with recent estimates from other methods using the same cells41,46 and with the observation that the used METTL3-KO is not a complete allelic knockout48. Using an additional independent method41, we were able to confirm this observation (Suppl. Fig. 9).
To compare CHEUI with other methods, we investigated the differential stoichiometry for m6A sites between HEK293 WT and METTL3-KO. CHEUI-diff showed enrichment of significant cases with higher modification stoichiometry in WT (Suppl. Fig. 8c) (Suppl. Data S5). In comparison with Xpore and Nanocompore, CHEUI-diff detected more sites with higher modification stoichiometry in WT at three different significance thresholds (Fig. 3d). CHEUI-diff also predicted a higher proportion of sites with supporting evidence from m6ACE-seq or miCLIP experiments in HEK293 cells39,40 (Suppl. Fig. 10a) and containing the 5′-DRACH-3′ motif (Suppl. Fig. 10b), except at the 0.001 significance level, where 0.70 of CHEUI-diff sites and 0.71 of Xpore sites contained the motif. Comparing two METTL3-KO replicates to estimate false positives, CHEUI-diff predicted the lowest number of sites (0, 1, and 3, at the three significance thresholds, respectively) (Suppl. Fig. 10c). In contrast, Xpore predicted over 2000 sites at 0.001 significance and over 12,000 sites at 0.05 significance. Only 9.8% of these Xpore sites at 0.05 significance contained the 5′-DRACH-3′ motif. This was a substantially lower proportion than the 46% found by Xpore in the WT vs. METTL3-KO comparison at the same significance level, suggesting that most of the Xpore sites in the comparison of the two METLL3-KO replicates were false positives. The overall low overlap of the nanopore-based methods with orthogonal experimental techniques suggests a different repertoire of modifications is visible to each method. This is further confirmed by the low overlap of the modification detections among diverse experimental techniques (Suppl. Fig. 11).
CHEUI identifies m5C modifications in cellular mRNA
We next used CHEUI to identify m5C in cell-derived RNA. To accomplish this, we used CRISPR-cas9 gene editing technology in HeLa cells to generate a knock-out (KO) of the NOP2/Sun RNA Methyltransferase 2 (NSUN2), which modifies cytosines in mRNAs and tRNAs4,49. The KO was confirmed by Sanger sequencing (Suppl. Fig. 12a) and western blotting (Suppl. Fig. 12b). The DRS (Suppl. Data S1) yielded 2,700,022 transcriptomic sites with a coverage of >20 reads for the WT and 1,637,178 for the NSUN2-KO HeLa cells. Testing these sites with CHEUI-solo Model 2, prior to any significance filtering, we observed a high correlation in the predicted stoichiometry and modification probability between the replicates (Fig. 3e). Analyzing the three replicates together, significant transcriptomic sites were considered at probability > 0.9999, which we estimated corresponds to FDR nearing 0 using an empirical permutation test. We obtained 3167 significant transcriptomic sites in WT (Suppl. Data S6) and 1841 in NSUN2-KO (Suppl. Data S7). As above, we also assessed CHEUI’s false positive rate (FPR) using an in-vitro transcribed WT HeLa transcriptome47. We calculated an average FPR of 0.0006 (i.e., 6 false predictions for every 10,000 tested sites) across three replicates (Suppl. Fig. 7a). As for m6A, CHEUI-solo Model 2 probabilities were skewed towards zero (Suppl. Fig. 7b) and the FPR decreased with increasing coverage (Suppl. Fig. 7c), with most of the tested sites having coverage of 21–100 reads (Suppl. Fig. 7d).
As we observed before for m6A, the prediction of two or more adjacent m5C sites was rare, and most of the predictions were individual m5C sites (Suppl. Fig. 13a). We then compared CHEUI-solo m5C calls with a union set of 7918 sites previously detected in HeLa using bisulfite RNA sequencing (bsRNA-seq) in three independent studies4,8,49 (Suppl. Fig. 13b). From these sites, 372 (4.7%) had > 20 nanopore reads and could be tested by CHEUI. These sites showed a higher probability than sites without bsRNA-seq evidence (Suppl. Fig. 13c). Additionally, CHEUI-solo detection probabilities on this union set of 372 sites were significantly higher in WT compared with NSUN2-KO (Fig. 3f). Further validating this result, a permutation analysis to compare the probability of these sites against the background distribution of probabilities in the same samples confirmed that CHEUI-solo returned higher probability modification detection values in the WT samples than expected by chance (p-value = 0.001) (Suppl. Fig. 13d). In contrast, the NSUN2-KO did not show this enrichment (p-value = 0.025) (Suppl. Fig. 13e). In contrast to what we found for m6A, looking at individual nucleotides with CHEUI-solo Model 1 we observed only a mild reduction in the proportion of m5C over the total cytosine occurrences in the NSUN2-KO compared with the WT (p-value = 1.2E-35) (Suppl. Fig. 14a). Moreover, the profile of significant m5C sites along mRNAs did not change between the WT and NSUN2-KO (Suppl. Fig. 14b). These results are consistent with reports showing that a fraction of m5C sites in mRNA are NSUN2-independent4,49, which have been proposed to be regulated by NSUN650,51.
To investigate NSUN2-dependent sites, we used CHEUI-diff to identify differentially modified sites between WT and NSUN2-KO (Suppl. Data S8). This yielded 186 potential NSUN2-dependent unique genomic sites, 18 of which were previously identified by bsRNA-seq. In contrast, Nanocompore and Xpore only found 4 and 11 overlaps with bsRNA-seq sites in this comparison, respectively, while they predicted many more sites transcriptome-wide (Suppl. Fig. 15). Furthermore, the 186 potential NSUN2-dependent sites showed similarity to the previously described sequence motif for NSUN2-dependent sites: 5′-m5CNGGG-3′49 (Fig. 3g). We also identified 1250 NSUN2-independent sites, defined as those predicted in WT but with no significant change relative to KO, which showed a different motif (Fig. 3g). Encouragingly, these NSUN2-independent sites occurred in genes significantly enriched in mitotic cell cycle function (p-value = 6.206E-5) and processes (p-value = 1.594E-4), which agrees with previous findings for genes with NSUN2-independent sites52.
To further assess the validity of our predictions, we investigated the likelihood of RNA secondary structure formation in their vicinity. Consistent with previous studies4,49, canonical base-pair probabilities were higher in NSUN2-dependent sites compared to NSUN2-independent sites (Fig. 3h, i), and the potential base-pairing arrangements suggested a higher occurrence of stem-loops at around 5 nt downstream of the NSUN2-dependent m5C site (Suppl. Figs. 16 and 17). Further supporting CHEUI results, NSUN2-dependent sites identified previously by bsRNA-seq49 showed significantly higher stoichiometry differences between WT and NSUN2-KO than all other m5C sites (Suppl. Fig. 18).
To further investigate the correspondence between nanopore-based predictions and bsRNA-seq, we performed DRS and bsRNA-seq on the RNA obtained from newly designed IVT templates s generated to be either fully m5C modified or non-modified (Suppl. Data S9). Applying permissive parameters to the analysis of bsRNA-seq data (Methods), we estimated a conversion rate of 0.9987 in the non-modified samples and 0.0269 in the modified samples. However, from the 4423 C sites on the IVT templates, 99.55% were covered in the non-modified sample but only 72.12% in the modified sample. In contrast, >99% of the C sites were covered with >20 nanopore reads in both samples, and hence visible to CHEUI (Suppl. Data S9). Unlike for the cellular transcriptome, we cannot use the permutation analysis to select a CHEUI probability cutoff. We thus calculated at various probability cutoffs the recall, as the proportion of m5C-sites detected in the modified IVTs, and the false positive rate, as the proportion of predicted m5C sites in the non-modified IVTs. At P > 0.99, the FPR was <1%, with a recall of 65.22% (Suppl. Data S9). Moreover, at P > 0.99, CHEUI predicts 824 of the 1,219 sites missed by bsRNA-seq, with 26 of these 9 mers also predicted by CHEUI but not by bsRNA-seq in the HeLa WT data. These 26 9 mers included sites with 2 and 3 Cs together. This suggests that at C-rich sites, nanopore sequencing may present an advantage over bsRNA-seq in the identification of m5C.
Impact of other modifications on the prediction of m6A and m5C
To test if other modifications could impact the detection of m6A or m5C in individual read signals, we tested CHEUI on the signals from IVTs containing other modifications not used for training, namely, 1-methyladenosine (m1A), hydroxymethylcytosine (hm5C), 5-formylcytosine (f5C), 7-methylguanosine (m7G), pseudouridine (Y) and inosine (I)26. All read signals were processed for each 9 mer centered at A or C as before, with the modification either at the same central base (m1A and m6A for A, and m5C, 5fC, and hm5C for C) or in the neighboring bases in the 9 mer (Y, m7G, I, m1A, m6A for C; or Y, m7G, I, m5C, 5fC, hm5C for A) (Fig. 4a). As a general trend, the proportion of signals containing other modifications predicted as positives by CHEUI recapitulated the results for signals without any additional modifications (Fig. 4b). This was the case for all modifications, except for predictions by the m6A model in signals containing m1A, a chemical isomer of m6A, which followed a similar trend as m6A (Fig. 4b, upper panel).
To investigate whether m1A misclassification might be due to the similarity between the m1A and m6A nanopore signals, we used Xpore and Nanocompore to test the discrimination of m6A and m1A without any a priori assumption about the modification type. We used 81 9 mers centered at A and made all possible pairwise comparisons among three sets of read signals: one with no modifications, one with all signals having m1A, and one with all signals having m6A. Coverage per site ranged between 21 and 324 reads, with a median coverage of 62 reads. When comparing m6A or m1A against unmodified signals, Xpore identified significant differences for 11 and 16 sites, Nanocompore detected 5 and 3 sites, and CHEUI m6A model predicted 19 sites in both cases (Fig. 4c). In the comparison of m6A against m1A read signals, Xpore found a significant difference in only two of the sites, whereas Nanocompore found none (Fig. 4c). These results suggest that the DRS signals for these two isomers may be indistinguishable with the current statistical models and/or pore chemistry (Suppl. Fig. 19). To further address the m6A and m1A DRS signal similarity, we retrained the CHEUI-solo m6A model using m1A signals as negatives and m6A signals as positives. Although this new model achieved accuracy comparable to the original one in the separation of m6A from non-modified signals (Suppl. Fig. 20a), it showed a trade-off between accurately detecting m6A and correctly separating m6A from m1A (Suppl. Fig. 20b), further indicating existing limitations to separate these isomeric RNA modifications using the nanopore signals.
We further assessed how the presence of one modification may impact the detection of the other at short distances in individual reads. We analyzed the detection of m5C at 9 mers in non-modified individual reads and in reads where m6A was present nearby, using reads from the IVT test 2 datasets. The proportion of false positives (0.07–0.14) for the CHEUI m5C Model 1 when m6A was 1–4 nt away was similar to the background proportion with no modification (0.08). The proportion of false positives for m6A detection in the presence of a nearby m5C modification (0.08-0.12) was also similar to the background level (0.13) (Suppl. Fig. 21).
Transcriptome-wide analysis suggests m6A and m5C co-occurrence in individual mRNA molecules
We next used CHEUI’s ability to identify m6A and m5C from the same sample to investigate the potential co-occurrence of modifications in a mammalian transcriptome. Using WT HEK293 data, we calculated whether individual reads covering two predicted modified transcriptomic sites presented specific modification combinations (i.e., m6A-m5C, m6A-m6A, m5C-m5C) more frequently or at a similar rate in comparison with random pairs of modifications sites from different transcripts. Intriguingly, we observed that read-level modification co-occurrence, defined as the proportion of molecules with both sites having the same modification state, was higher than expected by chance for m6A and m5C modifications (Fig. 5a). This increased co-occurrence was observed at short distances (<5 nt) as well as long distances (>5 nt). Given the observed partial influence of nearby modifications in the prediction of m5C and m6C described above, we decided to perform an additional test. At each position, we compared the observed co-occurrence with the expected value calculated by independently permuting the modification state across the reads. As a result, m5C upstream of m6A (i.e., 5’-m5C…m6A-3’) showed a significant co-occurrence at short distances (5–8 nt) and at longer distances (11–12 nt) (Fig. 5b), whereas m6A upstream of m5C (i.e. 5’-m6A…m5C-3) showed a significant co-occurrence only at longer distances (13–15 nt) (Fig. 5b). We also found that m6A-m5C sites with 40-60% stoichiometry showed the most significant overrepresentation compared to the values expected by chance (Suppl. Fig. 22). The co-occurrence of m6A-m6A or m5C-m5C was also higher than expected at short distances (1–4 nt) but was close to expected values at longer distances (5–15 nt) (Suppl. Fig. 23). Furthermore, discarding m6A and m5C sites at distances <5 nt from each other, we also observed an enrichment of transcripts harboring both modifications relative to the total number of m6A and m5C transcriptomic sites, both in HEK293 (Fig. 5c) and HeLa (Suppl. Fig. 24).
To examine how CHEUI resolves m6A and m5C co-occurrences in RNA molecules, we visualized a region of 38 nt from 34 RNA molecules derived from the transcript ENST00000258214 of the gene CCDC102A, which codes for a protein component of the myosin complex (Fig. 5d). These RNA sequences present high confidence predictions by CHEUI-solo Model 2 (probability > 0.9999) for m6A (position 2179 nt of the transcript) with 0.72 stoichiometry and m5C (position 2150 nt of the transcript) with 0.66 stoichiometry, with 78% of the individual molecules containing both modifications (Fig. 5d). While nucleotides adjacent to these modified sites had a high modification probability at the level of individual reads by CHEUI-solo Model 1 (probability > 0.7), the corresponding transcript reference sites were not considered significant by CHEUI-solo Model 2. Generally, consecutive modified sites were rarely detected using our defined cutoff for CHEUI-solo Model 2 (probability > 0.9999) (Suppl. Figs. 6a and 13a).
An intriguing question is the possibility of a coordinated m6A and m5C occurrence in a physiological context, where RNA modifications play an important role. We decided to study m6A and m5C during brain development, where m6A has been reported to be relevant53. We collected cortex tissue from wild-type mice at three different embryonic stages E12, E15 and E18, and performed DRS of 3′ poly(A)+ RNA (Suppl. Fig. 25) (Suppl. Data S1). We tested a total of 1.4 M–2.2 M transcriptomic A sites and 1.2 M–2 M transcriptomic C sites. Using the probability cutoff of >0.9999, we obtained 2,876 – 6,040 m6A sites and 1390–2180 m5C sites (Suppl. Data S2 and S10), with modification rates along mRNAs similar to those observed for the cell lines (Suppl. Fig. 26). We found that in all three conditions, m6A and m5C modifications at distances of 5 nt or more co-occurred in transcripts significantly more often than expected by the random incidence of the two modifications (Suppl. Fig. 27).
The pairs of methylated sites (m6A-m5C and m5C-m6A) in each condition showed a wide variation in co-occurrence at the level of individual reads, but the global co-occurrence values were significantly higher than expected by chance at each of the three developmental stages (Fig. 5e). Moreover, read-level co-occurrences were higher than expected by chance at distances 5–15 nt and at low and intermediate stoichiometries (Suppl. Fig. 28). Furthermore, co-occurrence values of m6A-m5C sites showed a high correlation among the three embryonic stages, suggesting that the co-occurrence of modifications is transcript-specific and conserved across this developmental timeline (Fig. 5f). The conservation of the co-occurrence was apparent even for the sites of low stoichiometry across developmental points, which can be exemplified by a 35 nt region from the transcript ENSMUST00000014438 (gene Ndufa2), where co-occurring m6A and m5C sites were found 13 nt apart (Suppl. Fig. 29). While the modification frequency in these sites was moderate at about 30%, the m6A-m5C and m5C- m6A co-occurrence in molecules were 0.961, 0.957 and 0.913 for the E12, E15 and E18, respectively, consistent with the identified high conservation across conditions.
Discussion
We have developed CHEUI for the transcriptome-wide identification of m6A and m5C from the same sample, both in individual molecules as well as in transcriptome reference sites, together with their stoichiometry quantification, without requiring a KO/KD or an otherwise control sample. To assess the expected performance of CHEUI, we performed an in-depth benchmarking using in-vitro transcribed RNA for which we knew the methylation state in each read. This was particularly effective for the assessment of stoichiometry, which is challenging to test in cellular RNA where a complete knowledge of the modification state of all RNA molecules is generally not available. Using controlled mixtures of modified and non-modified reads, we tested variable coverage and stoichiometry values using different nanopore-based approaches. These analyses showed that CHEUI accomplishes high sensitivity, precision, and modification stoichiometry accuracy compared to other nanopore-based tools. We further used the IVT strategy to compare side-by-side bisulfite RNA-sequencing (bsRNA-seq) and CHEUI for the identification of m5C on a ground truth dataset. This showed that CHEUI presents a trade-off between the recall of m5C in modified IVTs and the false positive rate in non-modified IVTs. This analysis also indicated a potential limitation of bsRNA-seq for the detection of m5C in C-rich contexts, which can be recovered using nanopore sequencing.
For the analysis of cell transcriptomes, given the large number of sites tested, we used very strict cut-offs to maintain a low expected false discovery rate (FDR). While these strict cutoffs resulted in a reduction of CHEUI sensitivity, many of sites identified by orthogonal methods had high CHEUI probabilities that were below the set thresholds. Relaxing these thresholds would recover more sites found by orthogonal techniques but at the cost of introducing potential false positives. This limitation may stem from the variability of the nanopore signals, where the differences between modified and non-modified reads are often comparable to the differences observed in the population of non-modified reads. Improvements in the prediction models and in the RNA sequencing chemistry can potentially facilitate the identification of m6A and m5C at higher sensitivity.
In cell transcriptomes, CHEUI and other tested nanopore-based methods showed a low correspondence with orthogonal experimental methods. For m6A, we observed a low overlap with CLIP-based sites, which also showed a low overlap among different experiments in the same cell models. We also observed a low overlap with bsRNA-seq for m5C. Furthermore, CHEUI and other nanopore-based methods generally detected many potential m5C sites there were not present in the bsRNA-seq datasets. These results suggest that there are biases and differences in detection rates associated with each technology and that much is yet to be learned about the full distribution of modifications in mRNA. Independent validation experiments of the modified sites detected only from nanopore reads will be necessary to confirm these predictions or establish whether they are due to other sources of nanopore signal variation. Further strategies to address these discrepancies between technologies could involve identifying consensus approaches that combine multiple experimental sources or nanopore-based methods trained on a wider range of experimental inputs.
We observed that CHEUI and other nanopore-based methods tested could not accurately separate the positional isomers m1A and m6A. Visual inspection of the signals for m6A and m1A in the same k -mer contexts suggests that they deviate in the same way from the signals corresponding to unmodified nucleotides. In contrast, m5C and hm5C, which have different chemical groups attached to the same position, may be visually distinguished from each other and from the unmodified nucleotides. Difficulties to separate the isomeric m1A and m6A have also been described with other technologies54. More sophisticated predictive models including additional features to the nanopore signal, such as neighboring sequence motifs or secondary structure, could overcome the observed limitation.
CHEUI’s capacity to predict two modifications in the same sample enabled us to measure the co-occurrence of m6A and m5C in transcripts. While our systematic analysis of signals shows that at distances of > 5 nt the co-occurrence of m6A and m5C can be reliably identified in the reference transcriptome and in individual molecules, we observed a residual mutual signal interference of the modifications at distances <5 nt. This effect on the individual read prediction would be exacerbated in ribosomal RNA molecules since they are highly and densely modified. This limitation could be addressed by incorporating additional predictive features or developing new models trained on datasets with defined combinations of adjacent modifications.
The mechanisms underlying the identified co-occurrence of modifications in reads and across transcripts remain to be elucidated. A possibility could be crosstalk between RNA modification enzymes, whereby the binding of RNA by readers or writers for one modification may drive the deposition or removal of the other. There are other reasonable explanations for non-random modification co-occurrence that do not require the interaction of the methylation machineries. Co-occurring modifications at a single-molecule level may represent the relics from the history of the RNA molecule, which acquired the modifications by passing through certain processing steps or points of cellular response55. Such epitranscriptomic relics may contain entangled modifications of various types, combinations of which can be characteristic of a subpopulation of the cell’s RNA with a shared history. Another possibility is an enhanced accessibility of the RNA to the methylation enzymes induced by one or the other modification, possibly in contrast to the cases where such accessibility is not present due to the mRNA localization or translation. A more evolutionary-inspired possibility is the correction of function, whereby once a modification is introduced, it enhances or compensates for the functional effects of a pre-existing modification. Using more targeted experiments with methodologies that can identify more than one modification from the same sample, such as CHEUI, can potentially provide further insights into the co-occurrence of modifications in individual molecules and open new opportunities to study the functions embodied by the epitranscriptome.
Methods
We confirm that our research complies with all relevant ethical regulations. Procedures were conducted in accordance with the Australian National University Animal Experimentation Ethics Committee (protocol number A2019/46).
Nanopore signal preprocessing
The nanopore sequencing data was preprocessed using the following steps prior to running CHEUI. First, the FAST5 files were basecalled using Guppy. IVT datasets were basecalled with Guppy version 4.0.14. Data from mouse (E12, E15, E18) and cell lines (WT and METTL3-KO in HEK293 cells, and WT and NSUN2-KO in HeLa) were basecalled using Guppy version 5.0. Reads were then aligned to the corresponding reference transcriptome using Minimap256. The genome and annotation references used were GRCh38 and Gencode v38 for the human data, and GRCm39 and Ensembl v104 for the mouse data. For the IVT reads, options -ax map-ont -k 5 were used, whereas for human and mouse transcriptomes, the options -ax map-ont –k14 were used. Reads were then filtered to select the best match for each read using samtools -F 232457. Nanopolish’s (version 0.13.2)17 eventalign was then used to align the read signals to the matched transcript references using the options --scale-events --signal-index --samples --print-read-names. Nanopolish eventalign output consists of 5 mers along the transcript reference and a list of signal values for each of those 5 mers. Although each 5 mer is given in the 5′ – 3′ orientation, the list of signals per 5 mer is ordered in the 3′ – 5′ orientation. To process the signals in the right 5′ – 3′ orientation, we thus flipped the signals per 5 mer before concatenating the signals from overlapping 5 mers. All the (per read) signals for every 5 overlapping consecutive 5 mers, together with the read ID and sequence, were then used to create the input for CHEUI-solo Model 1.
CHEUI-solo Model 1
Model description
CHEUI-solo Model 1 is a convolutional neural network (CNN) modified from the Jasper model58. The model architecture (Suppl. Fig. 3) was implemented using Keras59 and Tensorflow60. The input for this CNN is defined as follows. For a given position of interest, e.g., adenosine (A) for the m6A model or cytosine (C) for the m5C model, given the 9 mer centered at that position, i.e., NNNN(A | C)NNNN, CHEUI uses the signals corresponding to the five consecutive overlapping 5 mers including that middle position of interest. The number of signals is, in general, variable and was fixed before being used as input for the CNN model. The signals for each 5 mer are then converted into a 20-length vector by dividing the values into 20 segments preserving their order and calculating the median value for each segment. If a 5 mer contained >20 values, the values were divided into 20 equal subsets, and the median value of each subset was used. If the event had fewer than 20 values, the median was appended to these values until it reached 20 values. As a result, each 9 mer was then mapped to a vector of 5 × 20 = 100 signal values, which is used as input for CHEUI-solo Model 1. CHEUI also uses as input the distance between the observed and the expected signal for every 5 mer. The expected signal is built using the k mer model from Nanopolish17, which describes the signal value for each 5 mer in the absence of modifications. For each of the 5 overlapping 5 mers in the observed signals, each expected value was repeated 20 times to obtain a vector of expected values of length 100. Then, a vector of length 100 with the absolute distances between the components of the expected and the observed signal vectors is calculated. These vectors of observed signals and absolute distances are used as input for CHEUI-solo Model 1. Of note, CHEUI-solo Model 1 does not use the actual k mer (k = 9) sequence, only the vector of observed signals and the vector of distances, providing a high level of abstraction form the sequence context.
Training and testing of CHEUI-solo Model 1
CHEUI-solo Model 1 was trained using read signals generated from in-vitro transcript (IVT) data26,27 to produce one model for each modification, m6A or m5C. The positive training set contained m6A (or m5C) in place of the canonical nucleotides, i.e., every A was replaced by m6A (or every C by m5C)27. For both models, the negative sets were made from read signals from IVTs but with no modifications. For both modifications, we constructed non-overlapping datasets for training (IVT train 1), validation (IVT validation 1), and testing (IVT test 1, IVT test 2) (Suppl. Data S11). Datasets IVT train 1, IVT test 1, IVT validation 1 were built from publicly available reads27, using non-overlapping signal reads for each dataset that could share the same 9 mer sequence contexts. IVT train 1 was composed of 9 mers with any number of As (or Cs) in the modified and unmodified sequences. IVT validation 1, used for parameter optimization, was composed of 9 mers containing only one A (or C) at the center of the 9 mer. IVT test 1, which was used to test sensor generalization, was also composed of 9-mers with only one A (or C) at the center. On the other hand, IVT test 2, used to test k mer generalization, was built from independent IVT experiments26. IVT test 2 contained non-overlapping signal reads and included 9 mer contexts that were not present in the other train, test, or validation datasets. IVT test 2 was also composed of 9 mers with only one A (or C) at the center of the 9 mer. Importantly, the training and testing was performed on individual read signals.
Binary cross-entropy was used as the objective function, AMSGrad was used as the optimizer, and the Nvidia Tesla V100 was used to accelerate computing. Training was performed for 10 epochs and for every 200,000 read signals the accuracy, precision, recall and binary cross-entropy loss were calculated on the IVT validation 1 set along with the parameters of the model at that stage. After 10 epochs, there was no improvement on the validation accuracy, so the training was terminated. Accuracy was defined as the proportion of correct cases, i.e. (TN + TP)/(TN + TP + FN + FP); precision was calculated as the proportion of predicted modifications that were correct, i.e. TP/(TP + FP) and recall as the proportion of actual modifications that were correctly predicted, i.e., TP/(TP + FN); where TP = true positive, FP = false positive, TN = true negative, FN = false negative. Binary cross-entropy was defined as
1 |
where yi = 1 for a modified base in a specific position of a read and 0 otherwise, and p(yi) is the posterior probability from Model 1.
CHEUI-solo Model 2
Model description
CHEUI-solo Model 2 is a binary classifier implemented as a CNN like for Model 1. CHEUI-solo Model 2 takes as input the distribution of probabilities generated by Model 1 for all read signals at a given transcriptomic site, i.e., a position in a reference transcript, and predicts the stoichiometry and probability of that site being methylated (m6A or m5C). Model 2 assumes that the distribution of the individual-read probabilities at a given transcriptomic site originates from two classes, one with a subset or all reads having high Model 1 probabilities (modified site), and a second one with low Model 1 probabilities (unmodified site).
Model training and testing
CHEUI-solo Model 2 was trained using controlled mixtures of modified and unmodified reads not used previously for training, validation, or testing of CHEUI-solo Model 1. These controlled mixtures were built to comprise a wide range of values for coverage and stoichiometry and with a high proportion of low coverage and low stoichiometry sites to mimic what was previously observed in transcriptomes4,49,61. The new read signals were processed as described above and used to make predictions with CHEUI-solo Model 1. The training set for Model 2 consisted of mixtures of modified and unmodified reads from IVTs27 with their corresponding Model 1 probabilities. To model the low stoichiometry and coverage values, the training sites were built as follows: (1) a site was chosen to be modified or unmodified with 50% probability; (2) if unmodified, a coverage was chosen randomly between 0 and 100, using a linear decay, i.e., the higher the coverage, the less likely it was to be selected, and the per-read probabilities were assigned at random from the pool of unmodified signals; (3) if, on the contrary, the site was selected to be modified, the coverage and stoichiometry of the site were chosen using the same linear decay as before, with high coverage and stoichiometry values less likely to be chosen. The linear decay was implemented using the random.choices function from the general python distribution using the weights (10 - coverage) × 0.01 + 0.9 as argument. Weights indicate the relative likelihood of each element on the list to be chosen, with each incremental unit of coverage or stoichiometry corresponding to a decrease in their weight by one unit. Using this procedure, we generated ~1.5 M synthetic sites per modification with variable coverage and stoichiometry. These sites were randomly split into training and testing in a 9:1 proportion.
Comparison with other tools
Tools selected for comparison
We chose tools available for each specific benchmarking comparison. We used Epinano27, which implements a linear regression with two samples, one depleted of modifications to detect outliers, i.e., observations with large residuals, to identify modifications. We used EpiNano-Error, which combines all types of read errors (mismatches, insertions and deletions) in pairwise mode. We also used NanoRMS28, which does not predict modified sites but uses predictions from another method to calculate the stoichiometry with a sample comparison approach. Specifically, NanoRMS uses the signals processed by Tombo or Nanopolish and implements a supervised k-NN method based on the sample labels, or an unsupervised method based on k-means with k = 2, to separate modified and unmodified signals. For NanoRMS, the stoichiometry was calculated from the proportion of reads from the WT sample in the modified cluster, divided by the total number of WT reads. We also tested Nanocompore20, which uses the assignment of raw signals to a transcriptome reference with Nanopolish and the mean current value and mean dwell time of all signals per 5 mer, and then compares the distributions for all read signals aligning on the same site between two conditions. Nanocompore then fits a Gaussian mixture model with two components to the data and performs a statistical test to determine whether each cluster is significantly associated with a sample. We also tested Xpore21, which operates similarly to Nanocompore, using the assignment of raw signals to the transcript reference with Nanopolish and comparing the mean current values between two or more conditions for each transcriptomic site. Xpore uses information from unmodified k-mers as a prior for Gaussian distributions and variational Bayesian inference to infer the mean and variance of each distribution. After fitting the data into clusters, Xpore labels clusters with values closer to the expected unmodified signals as unmodified and then performs a statistical test on the differential modification rates between samples and assigns a p-value per site. We also tested Tombo in sample comparison mode, which performs a statistical test comparing the signal values between two conditions; and Tombo in alternative mode, which predicts a proportion of m5C modification per transcriptomic (not individual read) site, although it does not provide a score or a probability for the modification calls.
Controlled IVT mixtures for benchmarking
To create a controlled and independent dataset to benchmark the accuracy in the prediction of stoichiometry and transcript-site modification, we used the reads from Jenjaroenpun, P. et al.26 corresponding to one sequencing experiment per IVT, and which were not used in the previous tests to generate mock WT and KO samples. The mock WT sample was generated by randomly sampling reads from the modified and unmodified sets to create multiple stoichiometry mixtures with 20, 40, 60, 80, and 100 percent. The mock KO sample was created by randomly sampling reads from the unmodified pool of reads. We ran Epinano, Nanocompore, Xpore, and CHEUI, using default parameters to predict RNA modifications. Epinano, Nanocompore, and Xpore were run using the generated WT and KO mock samples. CHEUI was run using only the generated WT sample, as it does not require a KO/KD or control sample. Predicted sites were considered at three levels of significance or alpha values, i.e., predicted sites were considered significant if, after correcting for multiple testing, the adjusted p-values were ≤ alpha, where alpha = 0.05, 0.01, 0.001.
Transcript-site predictions, i.e., the methylation state of a position in the reference sequence, in the IVT-based mixtures were classified as positive if they had a probability > 0.99 from CHEUI-solo Model 2, and negative otherwise. Nanocompore, Xpore, Epinano, and CHEUI were run using thresholds recommended by the documentation for each tool. For Xpore, sites containing a k mer (k = 9) centered in adenosine, in the evaluation of m6A, or a cytosine, in the evaluation of m5C, that had a predicted p-value <0.05 were considered significant. For Nanocompore, the same selection of k mers centered in adenosine or cytosines was done, and sites with a p-value <0.05 were selected as positives. For Epinano, we used Guppy version 3.0.3 and EpiNano-Error with the combined errors Epinano_sumErr method to detect modifications, as recommended in the Epinano documentation. We then used the linear regression model and unm or mod from the linear model residuals z score prediction column to classify sites as unmodified or modified, respectively.
To estimate the false positive rate for Epinano, Nanocompore, and Xpore we evaluated the number of sites each tool predicted as modified when comparing two sets of reads with no modifications. For CHEUI, we used only one of those datasets with no modifications. We evaluated all sites with A or C, regardless of whether they had other As or Cs nearby in the same k mer (k = 9) sequence context. In contrast, to determine the true positive rate and stoichiometry, we only evaluated k-mers (k = 9) containing one centered m6A and no additional As, or one centered m5C and no additional Cs to avoid the influence of having two or more modified nucleotides affecting the tested site, since the IVTs were built with all nucleotides of one type either modified or not modified.
Stoichiometry benchmarking
Stoichiometries were calculated in the following way. Given a modified site identified by CHEUI-solo Model 2 at an annotated transcript position in a given sample, the stoichiometry is calculated as the proportion of reads covering that site that have the site identified as modified according to CHEUI-solo Model 1. For the analyses presented, we used the probability by CHEUI-solo Model 1 > 0.7 to tag a site as modified at the individual read level, and <0.3 to tag the site as unmodified at the individual read level, discarding calls with probability values in the range [0.3, 0.7]. Stoichiometry was only calculated in transcriptomic sites predicted as positively modified by CHEUI, i.e., with a CHEUI-solo Model 2 probability of > 0.9999. For Xpore, we used the values of the column mod_rate_WT-rep1, which we interpreted as the modification rate of the mock WT sample. In the case of Nanocompore, we used the column cluster_counts that contains the number of WT and KO reads that belong to the two clusters, one modified and the other unmodified. Stoichiometry was then calculated as the percentage of modified reads in the WT sample, i.e., we divided the number of WT reads in the modified cluster by the total number of WT reads. We also included NanoRMS with k-NN and k-means for the stoichiometry comparison. In this case, since NanoRMS only predicts the stoichiometry on sites predicted by another method and since Epinano predicted very few sites in our test set, we applied NanoRMS to all tested sites (81 for m6A and 84 for m5C) to obtain a more unbiased assessment. The percentage of modified reads per site was obtained from the NanoRMS output tables, dividing the number of modified reads in the WT by the total number of WT reads. Finally, Tombo assesses every site and gives a fraction of modified reads but does not specify the site as modified or not. As most of the sites had a fraction of modified reads above 0, even for the unmodified sample (75 out of 84 sites), we only considered Tombo for the stoichiometry comparisons.
Testing m6A and m5C accuracy in read signals with other modifications
For this test, we used the Nanopore signals for the IVT transcripts from Jenjaroenpun, P. et al.26. Each dataset contained either unmodified signals, or signals for modified nucleotides with m6A, m5C, 1-methyladenosine (m1A), hydroxy-methylcytosine (hm5C), 5-formylcytosine (5fC), 7-methylguanosine (m7G), pseudouridine (Y), and Inosine (I) modifications. We considered all 9 mers centered at A or C in the IVT reads containing modifications other than m6A (for A-centered 9 mers) or m5C (for C-centered 9 mers). Thus, the modifications were either at the same central base (m1A and m6A for A; and m5C, 5fC, and hm5C for C) or in neighboring bases (Y, m7G, I, m1A, m6A for C; or Y, m7G, I, m5C, 5fC, hm5C for A). We used CHEUI-solo Model 1 to predict m6A in the middle A or m5C in the middle C for all these read signals, to determine the influence of these other modifications on CHEUI’s ability to correctly separate A from m6A and C from m5C.
CHEUI-solo for transcriptome-wide analyses
Reads from the three replicates for each condition WT HeLa, NSUN2-KO HeLa, WT HEK293, and METTL3-KO HEK293 were aligned to the Gencode v38 transcriptome (GRCh38) using minimap2 as described above. CHEUI-solo (Model 1 and Model 2) was run on pooled replicates from each condition, except when comparing replicates within the same condition. In each case, CHEUI-solo Model 1 was run on all the reads, whereas CHEUI-solo Model 2 was run only on transcriptomic sites with the coverage of >20 reads. This produced a methylation probability and estimated stoichiometry in all tested transcriptomic sites. To establish a probability cutoff of significance for CHEUI-solo Model 2, we calculated the probability distribution of modified sites expected by chance, without a biological signal. To do so, in each given condition, we shuffled all read signals across all transcriptomic sites, maintaining the same number of transcriptomic sites and the same coverage at each site. We then run CHEUI-solo Model 2 over these sites with the new read signal distributions obtained after shuffling the reads. For each tested probability cutoff, the proportion of candidate transcriptomic sites selected as methylated from the shuffled configuration was considered as an estimate of the false discovery rate (FDR). Using this approach, we found that a probability cutoff of 0.9999 for CHEUI-solo Model 2 would yield an FDR = 0 for m6A, and an FDR = 0.000384 for m5C. We thus consider modified transcriptomic sites the ones having a Model 2 probability equal to or >0.9999 for both modifications. CHEUI-solo (Model 1 and 2) was also applied as above to three replicates of DRS of in-vitro transcribed WT HeLa cells. Predicted m6A or m5C sites with Model 2 probability > 0.9999 were considered as false positives.
Comparison with other methods for m6A detection in HEK293 cell lines
Xpore, Nanocompore and CHEUI-diff were used to call differential RNA modifications on all A sites, using 3 WT and 3 KO replicates for HEK293. CHEUI-diff was run on sites that had > 20 reads in both conditions, WT and KO. We used three distinct levels of significance: 0.05, 0.01, and 0.001. For Xpore and CHEUI-diff, FDR correction was performed with Benjamini-Hochberg procedure. Since Nanocompore already provides adjusted p-values, the threshold was applied without FDR correction. To compare the transcriptomic sites identified as m6A in WT, we selected those sites predicted by each method to have increased stoichiometry in the WT. By default, CHEUI-diff does not test sites where the difference in stoichiometry between the two conditions is <0.1 in its absolute value. For Xpore, we used the module xpore postprocessing to filter the output. To calculate the potential number of m6A false positives we used each tool to compare two replicates from the same KO condition with the highest number of reads, METTL-KO replicates 2 and 3. The KO was used instead of the WT samples to minimize the chances of including variably modified m6A sites that may occur in WT samples. To compare the nanopore-based predictions with m6A transcriptomic sites with previous evidence we employed the union of m6ACE-seq and miCLIP sites39,40.
CHEUI application to the signals derived from RNA of NSUN2-KO and WT HeLa cells
CHEUI-solo (Models 1 and 2) was run by pooling together three replicate samples from each cell line, WT and NSUN2-KO HeLa. Information about previously identified m5C sites in HeLa was collected from three different bisulfite RNA sequencing (bsRNA-seq) experiments4,8,49 and the union of these three sets was considered for subsequent comparisons. The probabilities of the modification calls derived from CHEUI-solo Model 2 corresponding to sites with orthogonal evidence were compared between WT and NSUN2-KO using a two-tailed Mann–Whitney U-test.
The permutation analysis to test the enrichment of high probability calls in the candidate sites detected by bsRNA-seq was performed in the following way. First, we calculated how many bsRNA-seq candidate sites were tested by CHEUI-solo (total sites) and how many of these were the high probability sites, defined as those having Model 2 probability of > 0.99. Then, we randomly sampled the same number of transcriptomic sites tested with CHEUI-solo Model 2 and counted how many of these were high-probability sites. We repeated this procedure 1000 times and calculated an empirical p-value.
Sequence logos were computed using WebLogo (https://weblogo.berkeley.edu/logo.cgi). To study the propensity of secondary structure formation around NSUN2-dependent and -independent m5C sites, we used RNAfold 2.4.1862. We estimated base-pairing probabilities in the region covering 90 nucleotides centered over the m5C site (45 nt on either side). For each sequence, we calculated the nucleotide positions that had pairwise interactions with other nucleotides according to RNAfold. At each position, we then calculated the proportion of nucleotides with interactions with respect to the total number of sequences. These proportions were plotted separately for the WT and NSUN2-KO samples. The enrichment of functions and processes associated with genes with modifications was assessed using g:Profiler63.
Bisulfite RNA sequencing analysis
We performed RNA bisulfite treatment (bsRNA-seq) following the protocol from Johnson et al.64. There were no deviations done for the protocol except the fact that a GE50 spin column was used for the removal of the excess of bisulfite reagent (sodium bisulfide and hydroquinone) instead of a GE25. This protocol was applied to RNA fully modified with m5C or non-modified obtained from in-vitro transcripts (IVTs) m1, m2, m3, m4 (Suppl. Data S9) built from four non-overlapping fragments from the mouse canonical pre-rRNA (~13 kb long). Sequencing of the bisulfite-treated samples was performed with Illumina. For the analysis of the Illumina reads from the bisulfite-treated data we used meRanTK65, adjusting the parameters to make it more permissive to m5C detection: the edit distance was changed from the default 2 – 200, the number of Cs per Illumina read was changed from the default 3–200, the minimum methylation ratio of a single C needed for methylation was changed from the default 0.2–0, and the minimum coverage at a given reference site above which methylation call is performed was changed from the default 20–0. The same modified and non-modified RNA samples were used to perform nanopore DRS.
CRISPR-Cas9 knockout (KO) of NSUN2 in HeLa cells
HeLa cell lines and culture
HeLa cells (human cervical cancer) were obtained from ATCC (cat. no CCL-2) and confirmed via short tandem repeat (STR) profiling with CellBank Australia. Cells were grown in DMEM medium (Gibco) supplemented with 10% FBS and 1 × antibiotic-antimycotic solution (Sigma) and passaged when 70–90% confluent. HeLa cell cultures were tested to be negative for mycoplasma contamination prior to their processing for gene editing.
Guide sequence design
Two CRISPR (cr)RNAs were designed, targeting the 5′-proximal (exon 2 crRNA “AGGCUACCCCGAGAUCGUCA”) and 3′-proximal (exon 19 crRNA “AAUGAGAGUGCAGCCAGCAC”) regions of the gene. Gene sequences from Ensembl (Asia server) were processed via CCTop66 to check for efficacy and predict potential off-target cleavage effects. The two sequences with highest predicted efficacy and minimal off-target effects were selected as crRNA and ordered as Alt-R CRISPR-Cas9 crRNA from Integrated DNA Technologies (IDT).
Ribonuclear protein preparation
2.5 µM of NSUN2 exon 2 crRNA was combined with equimolar amounts of NSUN2 exon 19 crRNA and annealed with 5 µM Alt-R CRISPR-Cas9 trans-activating CRISPR (tracr)RNA, ATTO 550 (IDT) in 10 µl of 1 × IDT Duplex Buffer. The ribonuclear protein (RNP) assembly reaction was then performed by combining 0.575 µM of the annealed crRNA:tracrRNA with 30.5 pmol of IDT Alt-R S.p. Cas9 Nuclease V3 in 2.2 µl Neon Transfection System R resuspension buffer (Invitrogen) for 5 min at 37 °C; the resultant mixture was kept at room temperature until transfection.
Transfection
Electroporation was conducted using Neon Transfection System (Invitrogen) and following the manufacturer’s protocol, with the following modifications. HeLa cells were resuspended in Neon Transfection System R resuspension buffer (Invitrogen) to a concentration of 2.8 × 107 per ml. For each electroporation reaction, 2 × 105 cells prepared as above were incubated with 1 × v/v RNP at 37 °C for 5 min, before being electroporated at 1,005 volts, 35 milliseconds, with 2 pulses. Two reactions were seeded per well of a 24-well plate. Cells were recovered in complete medium under standard incubation conditions of 37 °C and 5% v/v CO2 for 24 to 36 h.
Single cell sorting
Cells were sorted for singlets and ATTO 550 positivity on a FACSAria II Cell Sorter (BD) hosted at the Flow Cytometry Facility of the John Curtin School of Medical Research, the Australian National University. Although all singlets were positive when compared with negative controls, only cells with high-intensity ATTO 550 ( > 1033 RFU) were sorted into 96-well plates for subsequent culturing. Cells were maintained in complete media and expanded to 6-well plates for genomic DNA (gDNA) extraction upon reaching 70% confluency.
Amplicon analysis
The gDNA was extracted by incubating cell pellets with 30 µl of in-house rapid lysis buffer (40 µg Proteinase K, 10 mM Tris-HCl pH 8.0, 1 mM EDTA, 0.1% v/v Tween-20) at 56 °C for 1 h followed by denaturation at 95 °C for 10 min. Amplification of NSUN2 gene was conducted with standard protocols under 35 cycles in Mastercycler Nexus (Eppendorf), using Q5 High-Fidelity DNA Polymerase (New England BioLabs) and 5 µl of extracted gDNA. Amplicons were purified with ExoSAP-IT (Applied Biosystems) and sequenced on an AB 3730xl DNA Analyzer, by the ACRF Biomolecular Resource Facility (BRF) from the John Curtin School of Medical Research, Australian National University, following the manufacturer’s protocol (Applied Biosystems 2002). Sequencing data was analyzed manually using SnapGene software (from Insightful Science; available at https://www.snapgene.com/) to confirm alteration of the target loci.
Protein analysis
Cells were grown in DMEM medium (Gibco) supplemented with 10% FBS and 1 × antibiotic-antimycotic solution (Sigma) and passaged when 70-100% confluent. Unmodified wild-type (WT) and NSUN2 KO cells were scraped in 200–500 μl of protein extraction buffer (50 mM Tris pH 7.5 at 25 °C, 5 mM EDTA, 150 mM NaCl, 21.5 mM MgCl2, 10% glycerol, 1% v/v Triton X-100, 1 × Complete EDTA-free Protease Inhibitor Cocktail (Sigma)) and incubated for 10 min on ice, then incubated for 30 min at 4 °C on a rotator. The mixture was centrifuged at 13,000 g for 10 min at 4 °C. The supernatant was transferred to a clean tube, and used immediately, or stored at –80 °C. Total protein concentration was then estimated by taking a Qubit measurement via Protein Assay Kit (Thermo Fisher Scientific) following the manufacturer’s instructions. 30 μg of total protein was loaded on NuPage 4–12% w/v Bis-Tris Protein Gels (Invitrogen), and proteins were electrophoretically separated using NuPAGE MES SDS Running Buffer under conditions recommended by the manufacturer. Separated proteins were transferred onto PVDF membrane using iBlot 2 Transfer Stacks, PVDF, mini (Thermo Fisher Scientific, cat. no. IB24002), following manufacturers’ instructions. The membrane was blocked in Odyssey Blocking Buffer (LI-COR, cat. no. 927-40000) and probed with primary antibodies: anti-NSUN2 (1:1,000; Proteintech, cat. no. 20854-1-AP), anti-ACTB (1:1,000; SantaCruz, cat. no. sc-47778 AF790). The membranes were then incubated with the anti-rabbit-IR-Dye680 secondary antibody (1:10,000; LI-COR, cat. no. 925-68071) and scanned using the Odyssey CLx Imaging System (LI-COR). The KO’s effect was assessed by the specific intensity alteration of the fluorescent signal of the respective band with mobility corresponding to that expected of NSUN2.
Extraction of polyadenylated RNA from HeLa cells
Three each ⌀10 cm plates with WT and NSUN2-KO HeLa cells at 80% confluency were washed twice in ice-cold PBS and scraped in 500 µl of denaturing lysis and binding buffer (100 mM Tris-HCl pH 7.4, 1 % w/v lithium dodecyl sulfate (LiDS), 0.8 M lithium chloride, 40 mM EDTA and 8 mM DTT; LBB). The cell lysate was thoroughly pipetted with 200 µl tip until the sample viscosity was reduced, and pipetting was seamless. 500 µl of oligo(dT)25 magnetic beads (New England Biolabs) suspension was then used per replicate. The beads were washed with 1 ml of LBB twice, each time collecting the beads on a magnet and completely removing the supernatant. Upon washing, the oligo(dT)25 beads were resuspended in the cell lysate and placed in a rotator set for 20 rpm at 25 °C for 5 min, followed by the same rotation at 4 °C for 30 min. The suspension was briefly spun down at 12,000 g, separated on a magnet, and the supernatant was discarded. The beads were then resuspended with 1 ml of wash buffer (20 mM Tris-HCl pH 7.4, 0.2 % v/v Titron X-100, 0.4 M lithium chloride, 10 mM EDTA and 8 mM DTT; WB) and washed on a rotator set for 20 rpm at 4 °C for 5 min, using 3 rounds of washing. The beads were collected on a magnetic rack and the supernatant was discarded. The wash procedure was repeated three times. The elution was carried out stepwise. Washed bead pellet was first resuspended in 50 µl of the elution buffer (25 mM HEPES-KOH, 0.1 mM EDTA; HE). The suspension was heated at 60 °C for 5 min to facilitate the elution, and the eluate was collected upon placing the bead-sample mixture on a magnetic rack, separating the beads, and recovering the clean supernatant. The resultant pellet was next resuspended in another 50 µl of HE buffer, and the process was repeated.
The eluates from oligo(dT) bead extraction were combined and further purified using AMPure XP SPRI beads (Beckman Coulter Life Sciences) generally according to the manufacturer’s recommendations. Briefly, the eluate samples were supplemented with 1.2 × volumes of the SPRI bead suspension in its standard (supplied) binding buffer, and the resultant mixture incubated at room temperature for 5 min with periodic mixing. The SPRI beads were brought down by a brief 2000 g spin and separated from the solution on a magnetic rack. The supernatant was removed, and the beads were resuspended in 1 ml of 80% v/v ethanol, 20% v/v deionized water mixture and further washed by tube flipping. The bead and solution separation procedure were repeated. The ethanol washing process was repeated one more time. Any remaining liquid was brought down by a brief spin and removed using a pipette, and the beads were allowed to air-dry while in the magnetic rack for 2 min. The purified RNA was then eluted in deionized water and the RNA content was assessed using absorbance readout via Nanodrop and fluorescence-based detection via Qbit RNA high sensitivity (HS) assay kit (Thermo Fisher Scientific). RNA was then stored frozen at –80 °C until downstream processes were required.
RNA DRS Library Preparation for HeLa samples
The library preparation generally followed the manufacturer’s recommendations. 650-800 ng of RNA from HeLa cells were used for each 2 × library preparation within every replicate (with all recommended volumes doubled-up) with direct RNA sequencing kit (SQK-RNA002) as supplied by Oxford Nanopore Technology. The modifications were that Superscript IV RNA Polymerase (Thermo Fisher Scientific) was used, RNA Control Standard (RCS) was omitted, and RNasin Plus (Promega) was included at 1 U/ µl in all reaction solutions until the SPRI purification step after the reverse transcription reaction. The final adapter-ligated sample was eluted in 40 µl.
Embryonic mouse brain development experiments
Brain tissue extraction
Mice (strain C57BL/6 J) were dissected on embryonic day (E) E12, E15 and E18. All procedures were conducted in accordance with the Australian National University Animal Experimentation Ethics Committee (protocol number A2019/46). Pregnant females were cervically dislocated, and (male and female) embryos were extracted in cold sterile PBS. The frontal area of the cortex, i.e., the pallium, was then dissected with micro-knifes under a Zeiss STEMI 508 stereomicroscope and tissue samples were immediately placed in a 1.5 ml microcentrifuge tube (Eppendorf) containing 300 µl of denaturing lysis and binding buffer (100 mM Tris-HCl pH 7.4 at 25 °C, 1 % w/v lithium dodecyl sulfate (LDS), 0.8 M lithium chloride, 40 mM EDTA and 8 mM DTT; LBB). Samples were immediately agitated by vigorous pipetting until near-complete tissue dissolution, flash-frozen on dry ice and stored at – 80 °C until downstream processes were required.
Polyadenylated RNA extraction from the denatured brain development samples
About 150 mg of the original (wet weight without denaturing buffer) of the cortex tissue was used per extraction. Upon defrosting, the tissue/LBB mixture was thoroughly pipetted with 200 µl tip until the sample viscosity was reduced, and pipetting was seamless. 500 µl of oligo(dT)25 magnetic beads (New England Biolabs) suspension was used per replicate. The beads were washed with 1 ml of LBB twice, each time collecting the beads on a magnet and completely removing the supernatant. Upon washing, the oligo(dT)25 beads were resuspended in the tissue/LBB mixture and placed in a rotator set for 20 rpm at 25 °C for 5 min, followed by the same rotation at 4 °C for 30 min. The suspension was briefly spun down at 12,000 g, separated on a magnet, and the supernatant was discarded. The beads were then resuspended with 1 ml wash buffer (20 mM Tris-HCl pH 7.4, 0.2 % v/v Titron X-100, 0.4 M lithium chloride, 10 mM EDTA and 8 mM DTT; WB) and washed on a rotator set for 20 rpm at 4 °C for 5 min, 3 wash rounds in total were performed. For each wash, the beads were collected on a magnetic rack and the supernatant was discarded. The elution was carried out stepwise. Washed bead pellet was first resuspended in 50 µl of the elution buffer (25 mM HEPES-KOH, 0.1 mM EDTA; HE). The first suspension was heated at 60 °C for 5 min to facilitate the elution, and the eluate was collected upon placing the bead-sample mixture on a magnetic rack, separating the beads, and recovering the clean supernatant. The resultant pellet was next resuspended in another 50 µl of HE buffer, and the process was repeated. The eluates were then combined and subjected to an additional solid-phase reversible immobilization (SPRI) bead purification step as described in the Extraction of polyadenylated mRNA from HeLa cells sub-section above and stored frozen at –80 °C until downstream processes were required.
MinION flow cell priming and DRS
Nanopore sequencing was conducted on an Oxford Nanopore MinION Mk1B using R9.4.1 flow cells for 24-72 h per run, depending on the flowcell exhaustion rate. Tthe flow cells were left at 25 °C for 30 min to reach ambient temperature. The flow cells were then inserted into the MinION Mk1B and a quality check was performed to ensure that the pore count was above manufacturer warranty level (800 pores). Prior to the sample loading, the priming solution (Flush Buffer mixed with Flush Tether) was degassed in a vacuum chamber for 5 min. A similar approach was repeated when loading the RNA library. The run set up on the loaded libraries was performed according to the recommended running options using MinKNOW software (Version 4.3.25). The SQK-RNA002 sequencing option was selected, and the bulk file output was switched from OFF to ON to export the complete data. For real-time assessment of the quality of the run, the output FAST5 files were base called in-line with sequencing using the MinKNOW-provided Guppy software.
RNA abundance analysis of the embryonic mouse brain tissue development sequencing data
Basecalled reads were aligned to the mouse reference genome (GRCm39) using minimap2 v2.1.0 (parameters: -ax splice -k14 -B3 -O3,10 --junc-bonus 1 --junc-bed). During alignment, splice junction coordinates were provided to minimap2 in BED format using the junc-bed flag to improve the accuracy of the spliced alignments. Splice junction BED files were generated using minimap2 paftools.js gff2bed function, using the the gene structure reference (Ensembl 2014 mouse GTF). Primary genomic alignments were assigned to genes using Subread featureCounts v2.0.1 in stranded, long-read mode (using parameters --primary -L -T 48 -s 1 --extraAttributes gene_biotype, gene_name). DESeq2 v1.26.067 was used to obtain log-normalized gene counts. PCA plots were generated from regularized log transformed gene counts, using DESeq2’s plotPCA function.
Liftover of transcriptomic to genomic sites and calculation of metatranscript coordinates
We used our R2Dtool68 (https://github.com/comprna/R2Dtool) to perform positional annotation of the CHEUI Model 2 RNA methylation calls, and to transpose the methylation predictions from transcriptomic to genomic coordinates. First, the R2Dtool script cheui_to_bed.sh was run with default parameters to convert the CHEUI methylation calls to a bed-like format (i.e., tab-delimited, where column 1 represents the reference sequence, column 2 represents interval start, and column 3 represents interval end). Next, the R2Dtool R2_annotate command was used with default parameters and the relevant GTF annotation (Ensembl v104 / GRCm39 GTF for mouse and Gencode v38 / GRCh38 for human) to perform positional annotation of the bed-like CHEUI Model 2 methylation calls. Positional annotation included metatranscript coordinates, and the distances from a given site to the nearest upstream and downstream splice junctions annotated (if applicable) in the same transcript where the modified site was predicted. Finally, the R2Dtool R2_lift command was run with default parameters to transpose the annotated methylation calls from transcriptomic coordinates (i.e., position on a specific transcript) to genomic coordinates (i.e., position on a specific chromosome).
RNA methylation metatranscript plots
The absolute distance (in nucleotides) and relative metagene position (as a fraction of the overall UTR or CDS length) of each methylation site with respect to the reference transcript isoform were calculated using R2Dtool68. The relative meta-transcript coordinates were derived as previously described69, placing the modifications along three equal-sized segments of length L. Position 0 represents the transcript start site (TSS), position L represents the CDS start, position 2 L represents the CDS end, and position 3 L represents the polyadenylation site (PAS). For our graphical representation, we used L = 40. Meta-transcript plots showing the abundance of tested and significant sites, alongside the proportion of significant sites per tested region, were made using ggplot2 (https://ggplot2.tidyverse.org/).
Co-occurrence of modifications in transcripts and reads
To study the co-occurrence of modifications in annotated transcripts, we considered all protein-coding transcripts (mRNAs) with at least two tested sites, i.e., by default having 20 or more reads at each site. For the co-occurrence of m6A and m5C, we partitioned these mRNA transcripts into four sets according to whether they contained two significant m6A and m5C sites, only one of the modifications, or had no significant sites (even though both were tested). Based on this partition, we performed a two-tailed Fisher’s exact test to determine whether the association of m6A and m5C in transcripts was higher than expected. To study the co-occurrence of modifications in reads, we considered those transcripts with two modified sites at a relative distance from 1 to 15 nt. We then calculated the co-occurrence as the proportion of reads with both modifications, i.e., the number of reads that at both sites have the same modification state divided by the total number of reads considered. To calculate the expected level of co-occurrence in the same sample, we calculated the co-occurrence for 1000 pairs of modified sites located in different transcripts. For this analysis, we discarded any possible reads and sites of the ribosomal RNAs (rRNAs) (only present in the mouse data). It is known that rRNAs are hypermodified in multiple positions. Considering our analysis of the effects of other modifications on the identification of m6A and m5C, we expect these to be affected by the other modifications.
Statistics and reproducibility
All statistical analyses performed on the data are indicated in the Methods section or figure captions. Replicates were used for the experiments with cell lines and the mouse tissues. No statistical method was used to predetermine sample size. The Investigators were not blinded to allocation during experiments and outcome assessment. Modifications occurring in ribosomal RNA (rRNA) were excluded from this study, as the ribosomal RNA is known to be hypermodified with a large variety of modifications that, as we show in the manuscript, can affect the detection of m6A and m5C. As only reads for one rRNA (18 S) in mouse were observed, this exclusion does not impact the general results of our analyses. Randomization was performed at the time of splitting the available in vitro transcribed datasets into training, validation, and testing. This was performed only once. Additional randomization of reads and positions was performed once per dataset to estimate the false discovery rate. For the selection of mouse samples, randomization was not performed. Randomization was also performed when selecting mouse embryos for RNA sequencing: male and female embryos were randomly selected for each condition. Conditions were known and comparisons were performed between conditions, so no further randomization was done. No other covariates were used for the analyses of IVT, cell line, or mouse tissue experiments.
Reporting summary
Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.
Supplementary information
Source data
Acknowledgements
We are grateful to the personnel from the Biomolecular Resource Facility at JCSMR (ANU), and particularly to Tiffany Cripps, Lachlan Morrison, Carolina Correa Ospina and Stephanie Palmer, for their assistance with DNA validation sequencing. We are also grateful to the personnel of the Ecogenomics and Bioinformatics Lab, a joint initiative of the Research School of Biology (ANU) and Commonwealth Scientific and Industrial Research Organisation, and particularly to Niccy Aitken and Ashley Jones for their continued support and feedback regarding ONT sequencing. We acknowledge funding support by the Australian Research Council (ARC) Discovery Project grants DP220101352 (to E.E. and T.P.), DP210102385 (to T.P., R.H. and E.E.), and DP180100111 (to T.P. and N.S.); by the National Health and Medical Research Council (NHMRC) Senior Research Fellowship APP1135928 (to T.P.), Investigator Grant GNT1175388 (to N.S.), and Ideas Grant 2018833 (to E.E.). This research was also indirectly supported by the Australian Government’s National Collaborative Research Infrastructure Strategy (NCRIS) through access to computational resources provided by the National Computational Infrastructure (NCI) through the National Computational Merit Allocation Scheme (NCMAS), the ANU Merit Allocation Scheme (ANUMAS), and Phenomics Australia. The funding bodies had no role in study design, data collection, or data analysis.
Author contributions
E.E. and P.A.M. designed and developed the methods. Software development was performed by P.A.M., with contributions from A. Srivastava, J.X., and A. Sneddon. Data analyses were performed by P.A.M., A.J.S, and A. Srivastava, with supervision from E.E. and N.E.S. The m6A-boost analyses were performed by Y.Z. with supervision from K.Z. The nanopore direct RNA sequencing and RNA bisulfite sequencing were carried out by A.R. and K.W. with supervision from N.E.S. The generation and sequencing of IVTs were carried out by S.M. and M.K. with supervision from N.E.S. The NSUN2-KO cells were produced by J.G. and L.M.S. with supervision from G.B. and some input from N.E.S. and T.P. The NSUN2-KO clone selection and validation were performed by M.G. and A.R. with supervision from T.P. and N.E.S. The analyses of the NSUN2 WT and KO cells were performed by Z.W.S.Y. Additionally, R.H., W.H. and V.W. generated samples and supervised some of the m6A analyses. N.D. performed the mouse tissue extraction. RNA extraction and nanopore direct RNA sequencing from mouse tissues were performed by A.R. with supervision from N.E.S. and essential inputs from N.D. The writing of the manuscript was led by P.A.M. and E.E., with contributions from the other authors.
Peer review
Peer review information
Nature Communications thanks the anonymous reviewer(s) for their contribution to the peer review of this work. A peer review file is available.
Data availability
All datasets used in this study are publicly available. The synthetic sequence templates from Liu et al.27 were obtained from the NCBI Gene Expression Omnibus (GEO) database under the accession number GSE124309. The nanopore read signals for the in-vitro transcribed (IVT) RNAs obtained from these synthetic sequence templates with m6A, m5C, or no modifications, were obtained from NCBI Sequence Read Archive (SRA) under accessions PRJNA511582 and PRJNA563591. Nanopore data for the synthetic transcripts from Jenjaroepun et al.26 was obtained from The Sequence Read Archive (SRA) accession PRJNA497103. Nanopore data for HEK293 WT and METTL3-KO samples from Pratanwanich et al.21 was obtained from the European Nucleotide Archive (ENA) under accession PRJEB40872. Data from the m6ACE-seq experiments from Koh et al.40 was obtained from the NCBI Gene Expression Omnibus (GEO) under accession number GSE124509. Nanopore data for HeLa WT and HeLa NSUN2 KO and for the embryonic mouse brain tissues produced in this work have been deposited at NCBI GEO under accession GSE211762. Nanopore sequencing and bisulfite RNA sequencing data for the IVT RNAs is available at NCBI GEO under accession GSE253150. All source data files for the main and Supplementary Figs. for this publication are publicly available at figshare 10.6084/m9.figshare.25424857 [figshare.com/search?q=10.6084/m9.figshare.25424857]70. Source data are provided with this paper.
Code availability
CHEUI is freely available from https://github.com/comprna/CHEUI under an Academic Public License. A copy of the software version used for this publication is available from Zenodo (10.5281/zenodo.7021308)71. R2Dtool (v1): https://github.com/comprna/R2Dtool. Nanocompore (v1.0.0rc3-2): https://github.com/tleonardi/nanocompore. Xpore (v0.5.4): https://github.com/GoekeLab/xpore. Epinano (v0.1-2020-04-04): https://github.com/novoalab/EpiNano. Tombo (v1.5): https://github.com/nanoporetech/tombo. NanoRMS (Downloaded on the 2nd of July 2021): https://github.com/novoalab/nanoRMS. Keras (v1.1.2): https://github.com/keras-team/keras. Tensorflow (v2.4.1): https://github.com/tensorflow. Minimap2 (v2.1.0): https://github.com/lh3/minimap2. Nanopolish (v0.13.2): https://github.com/jts/nanopolish. RNAfold (v2.4.18): https://www.tbi.univie.ac.at/RNA/.
Competing interests
The authors declare no competing interests.
Footnotes
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
These authors contributed equally: A J Sethi, A Ravindran and A Srivastava.
Contributor Information
N E Shirokikh, Email: nikolay.shirokikh@anu.edu.au.
E Eyras, Email: eduardo.eyras@anu.edu.au.
Supplementary information
The online version contains supplementary material available at 10.1038/s41467-024-47953-7.
References
- 1.Dominissini D, et al. Topology of the human and mouse m6A RNA methylomes revealed by m6A-seq. Nature. 2012;485:201–206. doi: 10.1038/nature11112. [DOI] [PubMed] [Google Scholar]
- 2.Squires JE, et al. Widespread occurrence of 5-methylcytosine in human coding and non-coding RNA. Nucleic Acids Res. 2012;40:5023–5033. doi: 10.1093/nar/gks144. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Meyer KD, et al. Comprehensive analysis of mRNA methylation reveals enrichment in 3’ UTRs and near stop codons. Cell. 2012;149:1635–1646. doi: 10.1016/j.cell.2012.05.003. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Schumann U, et al. Multiple links between 5-methylcytosine content of mRNA and translation. BMC Biol. 2020;18:40. doi: 10.1186/s12915-020-00769-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Arango D, et al. Acetylation of cytidine in mRNA promotes translation efficiency. Cell. 2018;175:1872–1886.e24. doi: 10.1016/j.cell.2018.10.030. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Gagliardi, D. & Dziembowski, A. 5’ and 3’ modifications controlling RNA degradation: from safeguards to executioners. Philos. Trans. R. Soc. Lond. B. Biol. Sci. 373, 20180160 (2018). [DOI] [PMC free article] [PubMed]
- 7.Mendel M, et al. Splice site m6A methylation prevents binding of U2AF35 to inhibit RNA splicing. Cell. 2021;184:3125–3142.e25. doi: 10.1016/j.cell.2021.03.062. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Yang X, et al. 5-methylcytosine promotes mRNA export - NSUN2 as the methyltransferase and ALYREF as an m5C reader. Cell Res. 2017;27:606–625. doi: 10.1038/cr.2017.55. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Haussmann IU, et al. m6A potentiates Sxl alternative pre-mRNA splicing for robust drosophila sex determination. Nature. 2016;540:301–304. doi: 10.1038/nature20577. [DOI] [PubMed] [Google Scholar]
- 10.Yang Y, et al. RNA 5-methylcytosine facilitates the maternal-to-zygotic transition by preventing maternal mRNA decay. Mol. Cell. 2019;75:1188–1202.e11. doi: 10.1016/j.molcel.2019.06.033. [DOI] [PubMed] [Google Scholar]
- 11.Shafik AM, et al. N6-methyladenosine dynamics in neurodevelopment and aging, and its potential role in Alzheimer’s disease. Genome Biol. 2021;22:17. doi: 10.1186/s13059-020-02249-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Widagdo J, et al. Experience-dependent accumulation of N6-methyladenosine in the prefrontal cortex Is associated with memory processes in mice. J. Neurosci. 2016;36:6771–6777. doi: 10.1523/JNEUROSCI.4053-15.2016. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Barbieri I, Kouzarides T. Role of RNA modifications in cancer. Nat. Rev. Cancer. 2020;20:303–322. doi: 10.1038/s41568-020-0253-2. [DOI] [PubMed] [Google Scholar]
- 14.Boccaletto P, et al. MODOMICS: a database of RNA modification pathways. 2021 update. Nucleic Acids Res. 2022;50:D231–D235. doi: 10.1093/nar/gkab1083. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Anreiter I, Mir Q, Simpson JT, Janga SC, Soller M. New twists in detecting mRNA modification dynamics. Trends Biotechnol. 2021;39:72–89. doi: 10.1016/j.tibtech.2020.06.002. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Linder, B. & Jaffrey, S. R. Discovering and mapping the modified nucleotides that comprise the epitranscriptome of mRNA. Cold Spring Harb. Perspect. Biol. 11, a032201 (2019). [DOI] [PMC free article] [PubMed]
- 17.Simpson JT, et al. Detecting DNA cytosine methylation using nanopore sequencing. Nat. Methods. 2017;14:407–410. doi: 10.1038/nmeth.4184. [DOI] [PubMed] [Google Scholar]
- 18.Garalde DR, et al. Highly parallel direct RNA sequencing on an array of nanopores. Nat. Methods. 2018;15:201–206. doi: 10.1038/nmeth.4577. [DOI] [PubMed] [Google Scholar]
- 19.Rang FJ, Kloosterman WP, de Ridder J. From squiggle to basepair: computational approaches for improving nanopore sequencing read accuracy. Genome. Biol. 2018;19:90. doi: 10.1186/s13059-018-1462-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Leger A, et al. RNA modifications detection by comparative nanopore direct RNA sequencing. Nat. Commun. 2021;12:7198. doi: 10.1038/s41467-021-27393-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Pratanwanich PN, et al. Identification of differential RNA modifications from nanopore direct RNA sequencing with xPore. Nat. Biotechnol. 2021;39:1394–1402. doi: 10.1038/s41587-021-00949-w. [DOI] [PubMed] [Google Scholar]
- 22.Price AM, et al. Direct RNA sequencing reveals m6A modifications on adenovirus RNA are necessary for efficient splicing. Nat. Commun. 2020;11:6016. doi: 10.1038/s41467-020-19787-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Ueda, H. nanoDoc: RNA modification detection using nanopore raw reads with deep one-class classification. bioRxiv10.1101/2020.09.13.295089 (2020)..
- 24.Parker, M. T., Barton, G. J. & Simpson, G. G. Yanocomp: robust prediction of m6A modifications in individual nanopore direct RNA reads. bioRxiv10.1101/2021.06.15.448494 (2021).
- 25.Stoiber, M. et al. De novo Identification of DNA modifications enabled by genome-guided nanopore signal processing. bioRxivhttps://www.biorxiv.org/content/10.1101/094672v2 (2017).
- 26.Jenjaroenpun P, et al. Decoding the epitranscriptional landscape from native RNA sequences. Nucleic Acids Res. 2021;49:e7. doi: 10.1093/nar/gkaa620. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Liu H, et al. Accurate detection of m6A RNA modifications in native RNA sequences. Nat. Commun. 2019;10:4079. doi: 10.1038/s41467-019-11713-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Begik, O. et al. Quantitative profiling of pseudouridylation dynamics in native RNAs with nanopore sequencing. Nat. Biotechnol. 39, 1278–1291 (2021). [DOI] [PubMed]
- 29.Lorenz DA, Sathe S, Einstein JM, Yeo GW. Direct RNA sequencing enables m6A detection in endogenous transcript isoforms at base-specific resolution. RNA. 2020;26:19–28. doi: 10.1261/rna.072785.119. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Gao Y, et al. Quantitative profiling of N6-methyladenosine at single-base resolution in stem-differentiating xylem of Populus trichocarpa using nanopore direct RNA sequencing. Genome. Biol. 2021;22:22. doi: 10.1186/s13059-020-02241-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Hendra C, et al. Detection of m6A from direct RNA sequencing using a multiple instance learning framework. Nat. Methods. 2022;19:1590–1598. doi: 10.1038/s41592-022-01666-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Nguyen TA, et al. Direct identification of A-to-I editing sites with nanopore native RNA sequencing. Nat. Methods. 2022;19:833–844. doi: 10.1038/s41592-022-01513-3. [DOI] [PubMed] [Google Scholar]
- 33.Qin H, et al. DENA: training an authentic neural network model using Nanopore sequencing data of Arabidopsis transcripts for detection and quantification of N6-methyladenosine on RNA. Genome. Biol. 2022;23:25. doi: 10.1186/s13059-021-02598-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Makhamreh, A. et al. Messenger-RNA modification standards and machine learning models facilitate absolute site-specific pseudouridine quantification. bioRxiv10.1101/2022.05.06.490948 (2022).
- 35.Fleming, A. M. & Burrows, C. J. Nanopore sequencing for N1-methylpseudouridine in RNA reveals sequence-dependent discrimination of the modified nucleotide triphosphate during transcription. bioRxiv10.1101/2022.06.03.494690 (2022). [DOI] [PMC free article] [PubMed]
- 36.Tahiliani M, et al. Conversion of 5-methylcytosine to 5-hydroxymethylcytosine in mammalian DNA by MLL partner TET1. Science. 2009;324:930–935. doi: 10.1126/science.1170116. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Yao, B. et al. Nanopore callers for epigenetics from limited supervised data. bioRxiv10.1101/2021.06.17.448800 (2021).
- 38.Yuen ZW-S, et al. Systematic benchmarking of tools for CpG methylation detection from nanopore sequencing. Nat. Commun. 2021;12:3438. doi: 10.1038/s41467-021-23778-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Linder B, et al. Single-nucleotide-resolution mapping of m6A and m6Am throughout the transcriptome. Nat. Methods. 2015;12:767–772. doi: 10.1038/nmeth.3453. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40.Koh CWQ, Goh YT, Goh WSS. Atlas of quantitative single-base-resolution N6-methyl-adenine methylomes. Nat. Commun. 2019;10:5636. doi: 10.1038/s41467-019-13561-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41.Körtel N, et al. Deep and accurate detection of m6A RNA modifications using miCLIP2 and m6Aboost machine learning. Nucleic Acids Res. 2021;49:e92. doi: 10.1093/nar/gkab485. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.Mao Y, et al. m6A in mRNA coding regions promotes translation via the RNA helicase-containing YTHDC2. Nat. Commun. 2019;10:5332. doi: 10.1038/s41467-019-13317-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 43.Yang X, Triboulet R, Liu Q, Sendinc E, Gregory RI. Exon junction complex shapes the m6A epitranscriptome. Nat. Commun. 2022;13:7904. doi: 10.1038/s41467-022-35643-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44.He PC, et al. Exon architecture controls mRNA m6A suppression and gene expression. Science. 2023;379:677–682. doi: 10.1126/science.abj9090. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45.Uzonyi A, et al. Exclusion of m6A from splice-site proximal regions by the exon junction complex dictates m6A topologies and mRNA stability. Mol. Cell. 2023;83:237–251.e7. doi: 10.1016/j.molcel.2022.12.026. [DOI] [PubMed] [Google Scholar]
- 46.Liu C, et al. Absolute quantification of single-base m6A methylation in the mammalian transcriptome using GLORI. Nat. Biotechnol. 2022 doi: 10.1038/s41587-022-01487-9. [DOI] [PubMed] [Google Scholar]
- 47.McCormick CA, et al. Multicellular, IVT-derived, unmodified human transcriptome for nanopore direct RNA analysis. bioRxiv Prepr. Serv. Biol. 2023 doi: 10.1101/2023.04.06.535889. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 48.Poh HX, Mirza AH, Pickering BF, Jaffrey SR. Alternative splicing of METTL3 explains apparently METTL3-independent m6A modifications in mRNA. PLoS Biol. 2022;20:e3001683. doi: 10.1371/journal.pbio.3001683. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 49.Huang T, Chen W, Liu J, Gu N, Zhang R. Genome-wide identification of mRNA 5-methylcytosine in mammals. Nat. Struct. Mol. Biol. 2019;26:380–388. doi: 10.1038/s41594-019-0218-x. [DOI] [PubMed] [Google Scholar]
- 50.Liu J, et al. Sequence- and structure-selective mRNA m5C methylation by NSUN6 in animals. Natl. Sci. Rev. 2021;8:nwaa273. doi: 10.1093/nsr/nwaa273. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 51.Selmi T, et al. Sequence- and structure-specific cytosine-5 mRNA methylation by NSUN6. Nucleic Acids Res. 2021;49:1006–1022. doi: 10.1093/nar/gkaa1193. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 52.Liu J, et al. Developmental mRNA m5C landscape and regulatory innovations of massive m5C modification of maternal mRNAs in animals. Nat. Commun. 2022;13:2484. doi: 10.1038/s41467-022-30210-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 53.Livneh I, Moshitch-Moshkovitz S, Amariglio N, Rechavi G, Dominissini D. The m6A epitranscriptome: transcriptome plasticity in brain development and function. Nat. Rev. Neurosci. 2020;21:36–51. doi: 10.1038/s41583-019-0244-z. [DOI] [PubMed] [Google Scholar]
- 54.Wang H, Todd DA, Chiu NHL. Enhanced differentiation of isomeric RNA modifications by reducing the size of ions in ion mobility mass spectrometric measurements. J. Anal. Sci. Technol. 2020;11:46. doi: 10.1186/s40543-020-00243-5. [DOI] [Google Scholar]
- 55.Shi H, Wei J, He C. Where, when, and how: context-dependent functions of RNA methylation writers, readers, and erasers. Mol. Cell. 2019;74:640–650. doi: 10.1016/j.molcel.2019.04.025. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 56.Li H. Minimap2: pairwise alignment for nucleotide sequences. Bioinformatics. 2018;34:3094–3100. doi: 10.1093/bioinformatics/bty191. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 57.Danecek, P. et al. Twelve years of SAMtools and BCFtools. Giga science10, giab008 (2021). [DOI] [PMC free article] [PubMed]
- 58.Li, J. et al. Jasper: An end-to-end convolutional neural acoustic model. arXiv10.48550/arXiv.1904.03288 (2019).
- 59.Chollet, F. et al. Keras. https://github.com/fchollet/keras (2015).
- 60.Abadi, M. et al. TensorFlow: large-scale machine learning on heterogeneous distributed systems. arXiv10.48550/arXiv.1603.04467 (2016).
- 61.Garcia-Campos MA, et al. Deciphering the ‘m6A Code’ via antibody-independent quantitative profiling. Cell. 2019;178:731–747.e16. doi: 10.1016/j.cell.2019.06.013. [DOI] [PubMed] [Google Scholar]
- 62.Lorenz R, et al. ViennaRNA package 2.0. Algorithms Mol. Biol. 2011;6:26. doi: 10.1186/1748-7188-6-26. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 63.Raudvere U, et al. g:Profiler: a web server for functional enrichment analysis and conversions of gene lists (2019 update) Nucleic Acids Res. 2019;47:W191–W198. doi: 10.1093/nar/gkz369. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 64.Johnson, Z., Xu, X., Pacholec, C. & Xie, H. Systematic evaluation of parameters in RNA bisulfite sequencing data generation and analysis. NAR Genomics Bioinforma. 4, lqac045 (2022). [DOI] [PMC free article] [PubMed]
- 65.Rieder D, Amort T, Kugler E, Lusser A, Trajanoski Z. meRanTK: methylated RNA analysis ToolKit. Bioinformatics. 2016;32:782–785. doi: 10.1093/bioinformatics/btv647. [DOI] [PubMed] [Google Scholar]
- 66.Stemmer M, Thumberger T, Del Sol Keyer M, Wittbrodt J, Mateo JL. CCTop: an intuitive, flexible and reliable CRISPR/Cas9 target prediction tool. PLoS One. 2015;10:e0124633. doi: 10.1371/journal.pone.0124633. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 67.Love MI, Huber W, Anders S. Moderated estimation of fold change and dispersion for RNA-seq data with DESeq2. Genome Biol. 2014;15:550. doi: 10.1186/s13059-014-0550-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 68.Sethi, A. J., Mateos, P. A., Hayashi, R., Shirokikh, N. & Eyras, E. R2Dtool: Integration and visualization of isoform-resolved RNA features. bioRxivhttps://www.biorxiv.org/content/10.1101/2022.09.23.509222v2 (2022). [DOI] [PMC free article] [PubMed]
- 69.Olarerin-George AO, Jaffrey SR. MetaPlotR: a Perl/R pipeline for plotting metagenes of nucleotide modifications and other transcriptomic sites. Bioinformatics. 2017;33:1563–1564. doi: 10.1093/bioinformatics/btx002. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 70.Acera Mateos, P. et al. Prediction of m6A and m5C at single-molecule resolution reveals a co-occurrence of RNA modifications across the transcriptome (this paper). Figshare10.1101/2022.03.14.484124 (2024). [DOI] [PMC free article] [PubMed]
- 71.Acera Mateos, P. et al. Prediction of m6A and m5C at single-molecule resolution reveals a co-occurrence of RNA modifications across the transcriptome (this paper). Zenodo10.5281/zenodo.7021308 (2022).
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
All datasets used in this study are publicly available. The synthetic sequence templates from Liu et al.27 were obtained from the NCBI Gene Expression Omnibus (GEO) database under the accession number GSE124309. The nanopore read signals for the in-vitro transcribed (IVT) RNAs obtained from these synthetic sequence templates with m6A, m5C, or no modifications, were obtained from NCBI Sequence Read Archive (SRA) under accessions PRJNA511582 and PRJNA563591. Nanopore data for the synthetic transcripts from Jenjaroepun et al.26 was obtained from The Sequence Read Archive (SRA) accession PRJNA497103. Nanopore data for HEK293 WT and METTL3-KO samples from Pratanwanich et al.21 was obtained from the European Nucleotide Archive (ENA) under accession PRJEB40872. Data from the m6ACE-seq experiments from Koh et al.40 was obtained from the NCBI Gene Expression Omnibus (GEO) under accession number GSE124509. Nanopore data for HeLa WT and HeLa NSUN2 KO and for the embryonic mouse brain tissues produced in this work have been deposited at NCBI GEO under accession GSE211762. Nanopore sequencing and bisulfite RNA sequencing data for the IVT RNAs is available at NCBI GEO under accession GSE253150. All source data files for the main and Supplementary Figs. for this publication are publicly available at figshare 10.6084/m9.figshare.25424857 [figshare.com/search?q=10.6084/m9.figshare.25424857]70. Source data are provided with this paper.
CHEUI is freely available from https://github.com/comprna/CHEUI under an Academic Public License. A copy of the software version used for this publication is available from Zenodo (10.5281/zenodo.7021308)71. R2Dtool (v1): https://github.com/comprna/R2Dtool. Nanocompore (v1.0.0rc3-2): https://github.com/tleonardi/nanocompore. Xpore (v0.5.4): https://github.com/GoekeLab/xpore. Epinano (v0.1-2020-04-04): https://github.com/novoalab/EpiNano. Tombo (v1.5): https://github.com/nanoporetech/tombo. NanoRMS (Downloaded on the 2nd of July 2021): https://github.com/novoalab/nanoRMS. Keras (v1.1.2): https://github.com/keras-team/keras. Tensorflow (v2.4.1): https://github.com/tensorflow. Minimap2 (v2.1.0): https://github.com/lh3/minimap2. Nanopolish (v0.13.2): https://github.com/jts/nanopolish. RNAfold (v2.4.18): https://www.tbi.univie.ac.at/RNA/.