Skip to main content
Nature Communications logoLink to Nature Communications
. 2021 Jun 29;12:4011. doi: 10.1038/s41467-021-24313-3

Attention-based multi-label neural networks for integrated prediction and interpretation of twelve widely occurring RNA modifications

Zitao Song 1,#, Daiyun Huang 2,3,✉,#, Bowen Song 1,4,#, Kunqi Chen 5,#, Yiyou Song 2, Gang Liu 1, Jionglong Su 6, João Pedro de Magalhães 7, Daniel J Rigden 4, Jia Meng 2,4,8,
PMCID: PMC8242015  PMID: 34188054

Abstract

Recent studies suggest that epi-transcriptome regulation via post-transcriptional RNA modifications is vital for all RNA types. Precise identification of RNA modification sites is essential for understanding the functions and regulatory mechanisms of RNAs. Here, we present MultiRM, a method for the integrated prediction and interpretation of post-transcriptional RNA modifications from RNA sequences. Built upon an attention-based multi-label deep learning framework, MultiRM not only simultaneously predicts the putative sites of twelve widely occurring transcriptome modifications (m6A, m1A, m5C, m5U, m6Am, m7G, Ψ, I, Am, Cm, Gm, and Um), but also returns the key sequence contents that contribute most to the positive predictions. Importantly, our model revealed a strong association among different types of RNA modifications from the perspective of their associated sequence contexts. Our work provides a solution for detecting multiple RNA modifications, enabling an integrated analysis of these RNA modifications, and gaining a better understanding of sequence-based RNA modification mechanisms.

Subject terms: RNA, Computational models, Machine learning


RNA modifications appear to play a role in determining RNA structure and function. Here, the authors develop a deep learning model that predicts the location of 12 RNA modifications using primary sequence, and show that several modifications are associated, which suggests dependencies between them.

Introduction

Post-transcriptional RNA modifications increase the structural and functional diversity of RNA molecules and regulate all stages of RNA life1. Precise identification of RNA modification sites is therefore of crucial importance to understanding the functions and regulatory mechanisms of various RNAs. More than 100 different types of RNA modifications have been identified2, and among them, N6-methyladenosine (m6A) is the most common eukaryotic mRNA modification. M6A occurs on nascent pre-mRNA, regulating its stability and translation. It is involved in many biological processes such as the circadian clock, differentiation from naïve pluripotency, and the heat shock response. It also plays various roles in disease pathogenesis such as carcinoma, breast tumor, gastric cancer, and anti-tumor immunity. Besides m6A, there are also a number of RNA modifications with crucial biological functions. For instance, N1-methyladenosine (m1A) can block the Watson-Crick interface and is vital for tRNA stability and the replication of HIV-1.

To date, a number of computational approaches have been proposed for in silico prediction of RNA modification sites from the primary RNA sequences, including: the iRNA toolkits311, SRAMP12, DeepPromise13, WHISTLE14, Gene2vec15, m6A-Atlas16, RMDisease17, PEA18, PPUS19, BERMP20, m5Upred21, and m6AmPred22. Special attention has also been paid to the prediction of RNA modifications in introns23, lncRNAs24 as well as various tissues and cell lines2527. Together, these works greatly advanced our understanding of the localization of multiple RNA modification types in different species under various conditions28. However, existing approaches suffered from the following limitations.

Firstly, most existing studies only focused on a single RNA modification type, mainly m6A, but failed to support multiple RNA modifications simultaneously through an integrated predictive model. Therefore, the study of the interplay between different modifications is limited. The iRNA toolkit311 developed primarily by Chen, Lin and Chou are the earliest as well as the most comprehensive approaches that support the prediction of various RNA modifications from RNA sequences and have been widely adopted as the gold standard for benchmarking the performance of different RNA modification prediction methods. However, the iRNA toolkit was presented in the form of multiple independent studies, each targeting a single modification. The iMRM web server29 was aimed to support five RNA modifications simultaneously with a friendly web graphical user interface; however, it is still based on five independent binary predictors corresponding to the five RNA modifications, respectively, without considering potential interactions among different modifications. Given the intrinsic biochemical and biophysical properties of different RNA modifications, the predictive framework established for one type of modification can often be conveniently migrated for the prediction of another modification. It is thus beneficial and efficient to test the computational framework on multiple RNA modifications simultaneously. Very recently, by taking advantage of the generative adversarial network (GAN), the MR-GAN approach was developed to predict eight RNA modifications30. However, some of the modifications supported may be rare modifications, such as m1G (only 29 sites), m2G (only 59 sites), and D (only 162 sites)30, whose wide occurrence in human transcriptome has not yet been confirmed. Given a large number of negative (non-modifiable) sites of such rare RNA modifications, the sequence-based prediction is likely to produce a substantial proportion of false-positive predictions in practice and should be used with extra caution.

Secondly, most existing works relied on a limited amount of data from a single source (a single database or dataset generated from a single experiment), failing to fully take advantage of the available epi-transcriptome information. For example, the wide occurrence of m5U modification has been previously confirmed with thousands of m5U sites reported by two different approaches (miCLIP and FICC-seq)31. Nevertheless, MR-GAN used only 30 sites for its training, which is likely to seriously limit its predictive capability for this specific modification. In addition, substantial discrepancies have been reported previously between different epi-transcriptome profiling technologies, e.g., for m5C32 and Ψ33. Thus, it is crucial to take advantage of the data generated from multiple orthogonal technologies to minimize the potential technological bias whenever such datasets are available.

Thirdly, most of the work in the field, such as SRAMP12 and iMRM29 focused on prediction accuracy but failed to provide a clear and intuitive interpretation of their prediction results. Although some existing approaches carefully interpreted their trained predictive model27,34, to the best of our knowledge, none of the existing works provided insights into their decision-making process for individual predictions. Recent advances in interpretable RNA/DNA models enabled the extraction of low-level CNN kernels and visualizing them as position weight matrices (PWM). These patterns, however, provide only vague insights, especially for multiple-layer DNNs, and cannot provide nucleotide level interpretation. However, it remains of significant interest to identify the critical sequence contents that directly contribute to positive RNA modification predictions, which should help facilitate our understanding of the sequence-dependent forming mechanisms of individual RNA modification sites.

Lastly, a predictive framework has not been developed for some RNA modification types such as m6Am, even though its base-resolution epi-transcriptome profiling technology miCLIP has been developed, and the profiling data is publicly available.

For these reasons, there is strong motivation to take advantage of state-of-the-art deep learning techniques to develop a unified predictive framework that supports multiple RNA modifications by integrating datasets generated from multiple technologies.

We present here MultiRM, an attention-based multi-label neural network approach for integrated prediction and interpretation of RNA modifications from the primary RNA sequence (or the corresponding DNA sequence). Twelve RNA modification types are supported by our model, including m6A, m1A, m5C, m5U, m6Am, m7G, Ψ, I, Am, Cm, Gm, and Um. To the best of our knowledge, these are the only widely occurring RNA modifications that can be profiled transcriptome-wide with existing base-resolution technologies, which are highly desired characteristics of RNA modification for reliable large-scale prediction. The multi-label architecture of our approach enables accommodation of the shared structure of different modifications while fully exploiting their distinct features. As some modifications are still more abundant than the others, to handle the imbalanced training data issue in multi-label learning, online hard examples mining (OHEM)35 and Uncertain Weighting36 were utilized. Some widely adopted state-of-art machine learning algorithms XGBoost37 and CatBoost38 were also implemented as the benchmarks. Importantly, we used the integrated gradient (IG)39 and the attention weights40 to gain insights into the trained overall model and to explain every individual prediction. Finally, a web server was developed and made freely accessible to serve the research community.

Results

The MultiRM framework

Our framework predicts twelve types of widely occurring RNA modifications using a deep neural network, as shown in Fig. 1. Given a set of base-resolution modifiable sites, MultiRM learns the mapping between the site sequence context and the modification type. Once this mapping is learned, the attention mechanism and IG method enable us to interpret the model and extract the sequence content that contributes the most to the positive prediction, the sequence motif. The proposed integrated model using a multi-label framework is also presumed to benefit learning the underlying association among different RNA modifications.

Fig. 1. A graphic illustration of the MultiRM model architecture.

Fig. 1

The model consists of an embedding module and an LSTM-Attention block to extract and learn useful features. Then, features filtered by attention are fed into a multi-label module to predict RNA modifications simultaneously. Conv1D stands for 1D convolutional layer; Pool1D stands for 1D max-pooling layer; FC stands for fully connected layer.

MultiRM consists of an embedding module representing the input RNA sequences using the inherent short- and long-range interactions among nucleotides. The embedded representation is fed to an LSTM layer to extract the underlying sequence features shared by all modifications. Then, the attention mechanism enables the model to focus on the relevant region of the input RNA sequence for each specific modification type as needed. Finally, the multi-label module containing two fully connected (FC) layers predicts the multiple modifiable sites simultaneously. The framework is trained using a cross-entropy loss enhanced by OHEM and Uncertain Weighting.

MultiRM performance

The primary purpose of our study is to establish an interpretable predictor that could achieve state-of-the-art accuracy in the identification of multiple widely occurring RNA modifications from the primary RNA sequences.

We firstly tried to optimize the length of the input sequences according to AUCb (b stands for binary). AUCb is the area under ROC curves calculated based on the positive and the corresponding negative samples (e.g., A for m1A) of each modification. Using the Word2vec embedding, we evaluated our multi-label model with 21-bp, 51-bp, and 101-bp RNA sequences as the input. As shown in Table 1, the input of the 51-bp sequence obtained the best average performance of all the modifications, and this setting also returned the best performance on six out of the twelve RNA modifications tested. It may be worth mentioning that the 51-bp of the input sequence is also optimal for the XGboost method (Supplementary Table 1).

Table 1.

AUCb scores of models (w2v + LSTM + attention) with different input length.

Length (bp) Am Cm Gm Tm m1A m5C m5U m6A m6Am m7G Ψ I Mean Median
101 0.7900 0.8224 0.9108 0.8596 0.8300 0.9108 0.9196 0.8496 0.8944 0.6204 0.8228 0.6040 0.8195 0.8398
51 0.7272 0.8452 0.9324 0.8832 0.8068 0.9236 0.9560 0.8336 0.9272 0.6012 0.8420 0.6304 0.8257 0.8436
21 0.7276 0.7984 0.9468 0.8396 0.7624 0.9360 0.9404 0.7848 0.8460 0.6004 0.7800 0.6084 0.7976 0.7916

Please note that our predictive model requires information of neighboring sequences even if they do not form part of the transcript. Bold indicates the best performance in comparison.

Subsequently, to address the unbalanced training data problem, we implemented OHEM, uncertainty weighting (UW), and focal loss on our optimized multi-label model and tested their performance with 51-bp of input sequences. Improved AUCb values based on the optimized model were then achieved, as shown in Table 2. Both OHEM and UW were beneficial to some modifications. For example, OHEM improved the m7G prediction by 0.08 of the AUCb score, and UW raised the AUCb for m1A by 0.06. After we combined both of them, it helped to enhance the average AUCb score by 0.0145.

Table 2.

Improving AUCb with techniques that handle imbalanced data problems.

Method Am Cm Gm Tm m1A m5C m5U m6A m6Am m7G Ψ I Mean Median
OHEM −0.0864 −0.0156 0.0188 0.0028 −0.0404 0.0124 −0.0102 −0.0832 0.0344 0.0804 −0.0156 −0.0252 −0.0169 −0.0156
UW −0.0144 −0.0025 −0.0384 −0.0176 0.0596 −0.0128 −0.0372 0.0128 −0.0924 −0.0032 −0.0204 0.0168 −0.0125 0.0010
OHEM + UW 0.0620 0.0152 −0.0068 −0.0052 −0.0276 −0.0180 0.0080 0.0222 −0.0360 0.0760 0.0108 0.0394 0.0103 0.0145
Focal Loss −0.0064 −0.1208 −0.0612 −0.1192 0.0132 −0.0792 −0.0336 −0.0092 −0.0400 −0.0620 −0.1142 −0.0444 −0.0564 −0.0516

Bold indicates the best performance in comparison.

With the optimized settings (51-bp input, UW + OHEM), we then compared the newly developed approach MultiRM with the baseline approaches and other embedding techniques. The optimized hyper-parameters for each model to be compared can be found in Supplementary Table 2. As seen in Table 3, the newly proposed approach MultiRM obtained the best mean and median performance with AUCb of 0.8361 and 0.8581, respectively, and achieved the best performance on six of the twelve RNA modifications considered (Am, Cm, m5U, m6A, Ψ and I) with an average ranking of 1.667 among the five approaches tested. The widely adopted XGBoost algorithm obtained the best performance on four modifications (Gm, m1A, m5C, and m7G) and achieved the mean and median performance with AUCb of 0.8035 and 0.8122 with an average ranking of 2.25 among the five approaches considered.

Table 3.

Comparing MultiRM to baseline approaches under AUCb.

Model Am Cm Gm Tm m1A m5C m5U m6A m6Am m7G Ψ I Average AUCb Average Rank
XGBoost 0.6536 0.8124 0.9500 0.7608 0.8604 0.9096 0.9300 0.8120 0.8668 0.6796 0.7956 0.6112 0.8035 2.250
CatBoost 0.5880 0.7736 0.6672 0.6436 0.7100 0.7032 0.8684 0.8116 0.7604 0.5528 0.8056 0.5520 0.7030 4.250
CNN + LSTM + Attention 0.6088 0.7872 0.9304 0.8004 0.7548 0.7732 0.8592 0.7272 0.8324 0.4968 0.6452 0.5116 0.7273 4.167
HMM + LSTM + Attention 0.6984 0.8352 0.8942 0.8916 0.8404 0.8892 0.9404 0.7472 0.9276 0.5284 0.7216 0.5908 0.7921 2.667
MultiRM 0.7892 0.8604 0.9256 0.878 0.7792 0.9056 0.9480 0.8558 0.8912 0.6772 0.8528 0.6698 0.8361 1.667

Bold indicates the best performance in comparison.

Subsequently, we selected the optimal thresholds for each modification with the largest G-Mean41 value based on their respective ROC curves. The corresponding performance evaluation metrics, including Sensitivity (Sn), specificity (Sp), accuracy (Acc), and Matthews correlation coefficient (MCC) for each modification, was calculated and provided in Table 4. The precisions and recalls (PRs) curves and the receiver operating characteristic curves (ROCs) curves of the MultiRM method are provided in Supplementary Figs. 1 and 2. Please refer to Supplementary Table 3 for the performance metrics of MultiRM under the scheme of multi-label classification42.

Table 4.

Performance summary of MultiRM.

Modification Sn Sp Acc MCC AUCb AUCm
Am 0.72 0.84 0.78 0.56 0.79 0.90
Cm 0.92 0.72 0.82 0.65 0.86 0.97
Gm 0.90 0.88 0.89 0.78 0.93 0.98
Um 0.86 0.78 0.82 0.64 0.88 0.94
m1A 0.64 0.80 0.72 0.45 0.78 0.90
m5C 0.92 0.78 0.85 0.71 0.91 0.97
m5U 0.98 0.86 0.92 0.85 0.95 0.95
m6A 0.82 0.78 0.80 0.60 0.86 0.99
m6Am 0.88 0.78 0.83 0.66 0.89 0.97
m7G 0.76 0.54 0.65 0.31 0.68 0.97
Ψ 0.92 0.76 0.84 0.69 0.85 0.94
I 0.68 0.72 0.70 0.40 0.67 0.89
Mean 0.83 0.77 0.80 0.61 0.84 0.95
Median 0.87 0.78 0.82 0.645 0.86 0.96

Sensitivity (Sn), specificity (Sp), accuracy (Acc), and Matthews correlation coefficient (MCC) were all calculated under the binary scenario, i.e., with the original nucleotide of the modification as the negative samples. AUCb was computed from the positive and the corresponding negative samples of each modification (with b representing binary), while AUCm was calculated using all other labels, including all other modifications and all the unmodifiable nucleotides as the negative (with m representing multiple).

Interpretation

So far, the results have emphasized the performance of our method in terms of classification. To gain insights into the driving features behind the predictions, we applied techniques that are capable of providing model interpretability so as to identify key input sequence contents that are significant for predicting RNA modifications (see “Methods”). The sequence contents within the attention have a greater impact on RNA modifications, and mutations within these regions are more likely to lead to the gain or loss of RNA modification sites, as shown in Supplementary Fig. 3.

Moreover, we aggregated and examined the consensus motifs that played a key role in the MultiRM model. Interestingly, many of them matched the sequence patterns unveiled from conventional motif finding methods DREME43 and STREME44. To further quantify the similarity between the motifs obtained through MultiRM and DREME/STREME, motif comparison tool TOMTOM45 was applied to produce a p-value. Sufficient small p-values indicate a certain degree of consistency (see Fig. 2). It may be worth mentioning that MultiRM constructed the motifs of an RNA modification using the 6-mers of highest attention weights, which does not necessarily contain the RNA modification site itself. This is consistent with most de novo motif finding algorithms such as DREME43 and STREME44.

Fig. 2. Motif matching.

Fig. 2

Some motifs identified from MultiRM are similar to those identified from conventional motif analysis (DREME and STREME). p value# was calculated using TOMTOM by utilizing a null model containing MultiRM’s motif columns from all the columns in the set of DREME and STREME motifs. p value## in DREME was calculated by a one-sided fisher’s exact test. p value### in STREME was calculated by a one-sided binomial test. The motifs within the blue dashed anchor boxes were extracted to do pair comparisons. IG scores were calculated by the average of the contribution scores of each nucleotide obtained by the integrated gradients method. Accession codes for the data used to generate this figure are found in Table 5.

A major advantage of the proposed integrated model is the capability to learn the underlying association among different RNA modifications. It was shown previously that there exist clear evolutionary and functional cross-talk among different post-translational modifications of protein46 and among different histone and chromatin modifications47. Conceivably, such association may also exist at the epi-transcriptome layer among different RNA modifications. To better understand the inherent shared structures among different RNA modifications, we extracted the weights of the feedforward neural network within the attention mechanism. These weights were twelve vectors corresponding to twelve RNA modifications, respectively, and were jointly learned together with all other components of the proposed model. The Pearson’s correlation (ρ) of each pair of vectors was calculated to reveal the relevance of two arbitrary RNA modifications unveiled by the integrated prediction model. A surprising finding is the RNA modifications all show strong and significant positive associations among each other, including those, originated from different nucleotides (see Fig. 3). It suggests that there exist regions that are intensively modified by multiple RNA modifications, which are likely to be the key regulatory components for the epi-transcriptome layer of gene regulation. Importantly, the sequence signatures of these key regulatory regions are largely shared among different RNA modifications (including those that modify different nucleotides) and were successfully captured by our model. The most strongly associated modifications originated from the same nucleotide, such as m5C and Cm (ρ = 0.895, p-value = 3.81E−36), I and m1A (ρ = 0.931, p-value = 9.57E−45), Ψ and m5U (ρ = 0.908, p-value = 5.47E−39). Notably, m6A showed only mild association with other modifications, implying its relatively special role in post-transcriptional regulation as the most abundant mRNA modification. It is also worth noting that the above analysis did not consider the context-specificity of RNA modifications (or the dynamics of RNA modification across different biological conditions). It does not directly suggest that different RNA modifications should co-occur in the same biological context, or they work with synergetic effects, even though the latter is highly probable as what we have seen in the epi-genetic regulation of histone modifications.

Fig. 3. Association of RNA modifications revealed by MultiRM.

Fig. 3

The RNA modifications considered in MultiRM all show positive relationships among one another, suggesting that there are some regions intensively modified by multiple RNA modifications, which are likely to be key regulatory components for the epi-transcriptome layer of gene regulation. Modifications on the same nucleotide are likely to be more strongly associated with each other, such as m5C and Cm (ρ = 0.895, p-value = 3.81E−36), I and m1A (ρ = 0.931, p-value = 9.57E−45), Ψ and m5U (ρ = 0.908, p-value = 5.47E−39). The two-sided Pearson correlation test was performed using the exact distribution of the sample correlation coefficient. Statistical significance was calculated by the probability that abs(ρ′) of a random sample x′ and y′ drawn from the population with zero correlation would be greater than or equal to abs(ρ). The weights used to generate this figure can be found in GitHub’s repository.

To further validate the above finding, we calculated the pairwise distance between two arbitrary RNA modifications and compared it to the random. Although we could not completely rule out the possibility of experimental bias, e.g., polyA selection, we did observe strong aggregation effects among most RNA modifications considered in this analysis. It is clear that the distance between two arbitrary RNA modifications is likely to be closer than random (Supplementary Fig. 4).

MultiRM web server

A web server with a friendly graphical user interface was constructed to properly share the constructed MultiRM model among the research community. It takes the RNA sequence as input and returns the predicted RNA modification sites together with the key sequence contents that drive the positive predictions (Fig. 4). The statistical significance of the prediction was also provided by comparing it to the results generated from the negative sites. For online prediction, a notification email can be optionally sent to the provided email address when the job is finished. For off-line prediction, the trained MultiRM model together with Python codes can be downloaded for use on a local computer.

Fig. 4. Output of the MultiRM web server.

Fig. 4

The web server supports site prediction and result interpretation for twelve widely occurring RNA modifications (m6A, m1A, m5C, m5U, m6Am, m7G, Ψ, I, Am, Cm, Gm, and Um) from RNA (or DNA) sequences. The figure shows the predicted RNA modification sites (upper panel) and the sequence components that contributed most to the positive predictions (lower panel) between the 101st and 150th nucleotides of an input sequence. The predicted probabilities, statistical significance, and attention scores of RNA modifications can all be downloaded as separate files from the web server. At the 123rd nucleotide, multiple RNA modifications originated from U were predicted with a p-value less than 0.05, which, to some degree, reflected the associations among different RNA modifications unveiled previously (see Fig. 3).

Discussion

In this work, we developed a multi-label model that can simultaneously predict the twelve widely occurring RNA modifications and present the key sequence components that contributed most to the predictions.

In order to fully exploit the inherent structure of the input sequence, we experimented with three different embedding techniques on our model and found Word2vec drastically enhance its predictive capability. We also found that inputting longer RNA sequences may not necessarily lead to higher prediction accuracy. To deal with the imbalanced label problem, we implemented OHEM and Uncertain Weighting strategies. It was encouraging to find the overall performance of our MultiRM model achieved is better than the classic machine learning model XGBoost and some start-of-the-art multi-label learners.

We carefully curated the training and test data of our predictive models using only high-quality epi-transcriptome profiles generated from multiple orthogonal technologies and multiple studies. Given the discrepancy among the epi-transcriptome profiling results of multiple technologies, this remedy is of crucial importance to ensure the robustness and reliability of the predictor.

To best share the newly constructed RNA modification site predictor, a web server was constructed. Besides a friendly user interface and detailed documentation for online usage, it also hosts the trained MultiRM models and the Python codes, which may be downloaded to local computers for command-line usage.

Although MultiRM is capable of predicting twelve different types of RNA modifications, it is currently restricted to humans only and has not been extended to other model organisms. This is mainly due to the lack of availability of base-resolution epi-transcriptome profiling data for other organisms. It would be intriguing to test the performance of MultiRM on other species, such as mice and yeast, as well as to incorporate new emerging transcriptome modifications, e.g., ac4C48,49 and hm5C50 when such data is available in the future.

It is important to note that, MultiRM currently does not consider the distinct abundance of different RNA modifications. So even under the same setting (p-value cut-off), the proportion of false-positive predictions varies substantially between the more abundant RNA modifications (such as m6A) and the less abundant ones (such as m1A), i.e., with a much higher false-positive rate for the less abundant RNA modifications. The problem is partially due to the limited consistency among existing biotechnologies for profiling RNA modifications. For example, while more than 10,581 m5C sites were reported from bisulfite sequencing, only 617 and 1084 m5C sites were reported by AzaIP and miCLIP, respectively32, probably due to their different technical preference and sensitivity. We provided in Supplementary Fig. 5 the performance metrics of the proposed MultiRM model on unbalanced sample size, which reflects our current knowledge of the modifications’ distribution in real-world; however, it is important to note that the number of RNA modification sites collected are strongly affected by the detection sensitivity of biotechnology and the available experimental data rather than their true abundance. More reliable false discovery rate control would be desired in the future when the overall abundance of these RNA modifications is more readily available.

Our model revealed for the first time the positive associations among all the twelve RNA modifications in terms of their sequence preference. It should be of immediate interest to study the key regulatory regions of general RNA modifications and epi-transcriptome regulation. Of equal interest is their dynamic cross-talk under different biological conditions, which calls for the integrated prediction of condition-specific epi-transcriptome profiles when such data is more abundantly available. For example, by extending related studies2527 under the multi-label learning framework. Previously, due to the lack of epi-transcriptome datasets in matched biological conditions, cross-talk of multiple RNA modifications was mainly studied via the expression level of relevant RNA modification enzymes51. Although the interactions among different RNA modifications can partially be revealed from enzyme-based analysis, it is important to note that the known enzyme genes have multiple biological functions other than writing or erasing RNA modifications, which may contaminate the results. In contrast, direct analysis of the epi-transcriptome profiles is likely to be more reliable. With the advances in deep learning approaches, it should be possible to dig more deeply and unveil the cooperative RNA modification interactions and their soft sequence syntax, as has been done in cooperative transcription factor regulation52.

Methods

Raw data and preprocessing

The development of an RNA modification site prediction model typically requires transcriptome-wide profiling data at base-resolution for training and testing purposes. A selection of datasets was made, prioritizing those derived from multiple studies and generated with different technologies. Data generated from flawed technologies (such as ordinary RNA bisulfite sequencing) or methods (such as ordinary MeRIP-seq combined with motif search) were not used.

We ultimately obtained 20 epi-transcriptome profiles generated from 15 different base-resolution technologies for 12 different types of RNA modifications (m6A, m1A, m5C, m5U, m6Am, m7G, Ψ, I, Am, Cm, Gm, and Um), as shown in Table 5. To the best of our knowledge, our data covered all the widespread RNA modifications that can be profiled transcriptome-wide at base resolution. Special attention was paid to construct the most reliable negative control data (non-modified nucleotides) for the predictor. Negative sites were randomly selected from the unmodified bases of the same transcript containing the positive sites.

Table 5.

List of base-resolution epi-transcriptome profiling data.

Full name Short name Original base Site# (%) Technology (or Database) GEO Accession
N6-methyladenosine m6A A 65,178(40.08%) m6A-CLIP-seq GSE71154
GSE86336
miCLIP GSE98623
GSE63753
Pseudouridine ψ U 3137(1.93%) ψ-seq GSE60047
Pseudo-seq GSE58200
CeU-Seq GSE63655
RBS-Seq GSE90963
1-Methyladenosine m1A A 16,380(10.07%) miCLIP GSE97908
m1A-MAP GSE102040
RBS-Seq GSE90963
m1A-seq GSE97419
GSE70485
N6,2′-O-dimethyladenosine m6Am A 2447(1.5%) miCLIP GSE122948
GSE78040
GSE63753
2′-O-methyladenosine Am A 1591(0.98%) Nm-seq GSE90164
RMBase54
2′-O-methylcytidine Cm C 1878(1.15%) Nm-seq GSE90164
RMBase54
2′-O-methylguanosine Gm G 1471(0.90%) Nm-seq GSE90164
RMBase54
2′-O-methyluridine Um U 2253(1.39%) Nm-seq GSE90164
RMBase54
5-Methylcytidine m5C C 12,936(7.95%) BS-seq GSE122260
7-Methylguanosine m7G G 1036(0.64%) m7G-seq GSE112276
5-Methyluridine m5U U 1696(1.04%) miCLIP & FICC-seq GSE109183
Inosine I A 52,618(32.36%) RADAR53

Am, Cm, Gm, and Um are sometimes combined together as 2′-O-methylation (or Nm).

The Inosine (I) sites were collected from the RADAR database53, while Am, Cm, Gm, and Um sites were collected from RMBase54 supplemented by those reported by Nm-seq55. When there are motifs representing modifications, i.e., the DRACH motif of m6A and the BCA motif of m6Am, the motif was used to further restrict the positive and negative data of the corresponding modification. For m6A, because the reliability of the existing large number of base-resolution studies using various techniques needs to be examined, a total of 87,616 m6A sites identified previously (Supplementary Table 4) were only used indirectly by excluding them from the negative m6A sites.

In the end, over 300k sites were collected. We separated the RNA sequences in each class (corresponding to a type of RNA modification) into three sets, i.e., the training set, validation set, and test set. Here, the training set is unbalanced across different classes (modification types), i.e., the number of sites is different for different RNA modifications, while the validation and test set have balanced samples with sizes 150 and 50, respectively. In general, the hyper-parameters were optimized based on the validation sets, while the reported final prediction performance was achieved on the test set. Traditionally, K-fold cross-validation is used to mitigate overfitting in many Machine Learning problems, especially for those who have small training data. This is because using K-fold to validate a model can better estimate how the results of the model will be generalized to an independent data set, especially in a limited dataset, where a small test cannot reflect the entire distribution of the data. In our scenario, however, we have ~300k training data in total. Consequently, a 5% testing/validation set will already give us a good estimate.

Embeddings

To develop high-precision computational methods, it is essential to wisely represent or embed sequence data. Suppose we have raw data R0={xm}m=1M where M is the number of sequences and each xmRL is an RNA sequence. Each entry xim,i=1,2,,L at position i is taking value from the alphabet ={A,C,G,U,N} from a sequence of constant length L. We considered the following three schemes to map the RNA sequences R0 into the embedding spaces R .

Traditionally, one-hot56,57 is a simple yet very effective encoding method to represent sequence data. For each RNA sequence xim, we map it by f:R4, where f(A)=(1,0,0,0), f(C)=(0,1,0,0), f(G)=(0,0,1,0), f(U)=(0,0,0,1) and f(N)=(0,0,0,0). After that, R0 goes to Ronehot={xm}m=1M where each xmR4L is an RNA sequence.

Because of the ability to capture long-range interaction, Hidden Markov Model is suitable for modeling sequence data. It has been successfully applied by Seq2vec58, which uses a neural network to speed up the parameterization in HMM. It built a nonlinear feature embedding f:Rn which transforms each RNA sequence xm into an n-dimensional vector. Besides, f is a composition of two nonlinear operators b:LRd*L and g:Rd*LRn, such that, f(xm)=g(b(xm))and b(xm)=[μ1,μ2,,μL], where each μl summaries the potential long-range interaction of different positions in xm, and g will aggregate interaction information and a fixed dimensional embedding for the entire dataset. In our work, we added the HMM layer before the recurrent module and multi-label module, forming an end-to-end solution from training to predicting modification sites.

Since first invented by Mikolov in 2013, Word2vec59 has enhanced the performance of various NLP tasks. As a statistical language model, it follows skip-gram and continuous-bag-of-words (CBOW) architectures and uses neural networks to learn word embeddings based on context relationships. We trained our own RNA embeddings by treating each RNA sequence as a sentence and the k consecutive RNA nucleotides (k-mer) as words in that sentences. Mathematically, we define a mapping from single nucleotides to the vector representation of k-mers as f:LYLk+1, which are then fed into the neural networks to obtain n-dimensional embedding. It has been demonstrated in Gene2vec15 that 3-mers has the best predictive performance on m6A sites. Therefore, in our work, we follow that 3-mers convention to embed our input data. More specifically, a 3-nt sliding window moves over 1001-nt sample sequences with stride 1-nt to create sequences of 999 words with overlap. Each word corresponds to an index from the collection of all possible 3-mer combinations (104 different combinations in our training data). Then, Word2vec was implemented by Gensim package60 with a five-word-long window of neighboring words to learn the inherent relationship and generate a 300-dimensional feature vector. Finally, each embedded RNA sequence is converted into a 999 by 300 matrix.

Model design

In this work, two types of DNN architecture, convolutional neural networks (CNNs) and recurrent neural networks (RNNs) were utilized to learn the sequence features of RNA modifications. Specifically, long short-term memory (LSTM) was implemented to account for possible long-range dependencies of the features.

The model mainly consists of three parts (see Fig. 1). The first module is an embedding module that takes the one-hot encoding of RNA sequences as input and embeds them by three different embedding techniques. Then, each embedding is fed into an LSTM and a Bahdanau Attention Layer39. Both the hidden states ci inside of the LSTM layer and the learned feature representation yi are aggregated to obtain attention weights for each target class. Then 12 different context vectors are obtained by calculating the inner product of yi and each attention weight. It is expected that these vectors can well compress the important information needed for each prediction branch. The Multi-label module, which contains 12 parallel FC layers with the ReLU activation function, maps each context vector to the probability of each modification simultaneously. Dropout layers are used to mitigate overfitting. The whole model is optimized by weighting binary cross-entropy loss in different tasks.

Importantly, to assess the contribution of the embedding methods used in our model, we exploited three variations of embedding. For one-hot encoding, a CNN has added ahead and executed as part of the embedding module. Since the original one-hot encoding of RNA sequences is a sparse input, CNNs will help extract sequence patterns in a dense manner and generate high dimensional representations of these motifs. Besides, pooling layers are utilized to trim less informative features.

It is worth noting that the data among different labels (classes) was highly imbalanced, i.e., the number of sites varied substantially between the more abundant modifications (such as m6A and I) and the less abundant ones (such as Am and Gm). Traditionally, this problem has been addressed in two ways. One way is to alter the original imbalanced data to balance it using an oversampling algorithm like SMOTE61. Another potentially more effective way is to weigh the loss of each class at the end of the network. Since our inputs are RNA sequences that were rigorously generated, generating artificial RNA sequences may degrade the credibility of the original dataset. Therefore, we focused on the second option. As a benchmark, we first used a constant weight for each task based on the Effective Numbers of Samples62. Subsequently, we designed our multi-label model to be self-paced by learning the weights of each task during training and only back-propagated the samples with higher loss (OHEM)35 so that it could jointly prioritize tasks and samples through the whole training process. We also tested the performance of focal loss63, which basically down-weights the loss assigned to well-classified samples on the common binary cross-entropy loss.

Evaluation metrics

After training on the training set, we evaluated our model on the validation set and test set. The classification performance was characterized by the receiver-operating characteristic (ROC) and assessed by the area under the ROC curves (denoted as AUROC or AUC), which is a non-parametric indicator that reflects the performance of a model.

Specifically, we calculated two types of AUC: AUCb and AUCm. AUCb was computed from the positive and the corresponding negative samples of each modification (with b representing binary), while AUCm was calculated using all other labels, including all other modifications and all the unmodifiable nucleotides as the negative (with m representing multiple). Consequently, AUCb represents the goodness of prediction for one particular modification versus its original non-modifiable base, e.g., m1A vs. A, while AUCm generalizes to all other cases, including other modifications and non-modifiable bases. Although AUCm is the matched evaluation scheme for multi-label learning tasks, AUCb was provided to maintain comparability with existing works, most of which perform binary classification with the unmodifiable original nucleotide as the negative samples. It is worth noting that nucleotides other than the original one were also considered when calculating AUCm. Because it is straightforward to make correct negative predictions according to the non-original nucleotide of a particular modification (for example, the nucleotide C cannot form m6A), AUCm is substantially higher than AUCb.

The widely adopted assessment metrics, including sensitivity (Sn), specificity (Sp), accuracy (Acc), and Matthews correlation coefficient (Mcc), were also implemented to assess the prediction performance, and can be expressed as,

Sn=TPTP+FN,Sp=TNTN+FP 1
Acc=TP+TNTP+FP+FN+TNand 2
Mcc=TP×TNFP×FN(TP+FP)(TP+FN)(TN+FP)(TN+FN) 3

where TP represents true positive samples, TN represents true negative samples, FP represents false-positive samples, and FN represents false negative samples. The optimal threshold was chosen based on maximized G-mean40 for each class to classify the positive and negative samples of a particular modification. These metrics were all calculated under the binary classification scenario, i.e., using the positive and negative samples of a specific modification, and are thus comparable to the reported performance in most of the existing works on RNA modification site prediction. AUCb is used as the primary evaluation metric for its nonparametric characteristics and comparability to the reported performance of related works in the existing literature.

Statistical significance

The statistical significance of a predicted probability is assessed by an upper bound of the p-value, indicating how extreme the observed probability is among all the occurrences of the same nucleotide. It is calculated from the relative ranking of the putative RNA modification sites, i.e., if only 1% of nucleotides report a probability larger than a specific site, then the upper bound of the p-value of this site is 0.01. This is used as the cut-off of the prediction. However, it is important to note that the cut-off controls only type I errors. Even with the same p-value cut-off, the proportion of false-positive predictions are still substantially different between the more abundant RNA modifications and the less abundant ones.

Interpretation

In addition to the accurate prediction of RNA modifications, it is often appealing to grasp the idea behind the model’s prediction. In our model, we used attention weights and IG to explain visually how the model makes specific decisions. Specifically, we focused on what our model valued most while making different predictions and

acquired the nucleotide which contributed most while making the positive prediction through attention weights and IGs.

Bahdanau attention40 was originally introduced as a solution to handle the long input sequences of the sequence-to-sequence model. Here, we transplanted it to our method by mapping the input RNA sequences to 12 context vectors. Since it has access to the entire input RNA sequences and is capable of picking out specific elements from the sequence to produce output, the mechanism thus gives the model freedom to focus and place more or less attention on the relevant nucleotide of the input RNA sequence for each prediction task as needed. Consequently, by visualizing the attention weights, which represent the weights of each nucleotide of the input RNA sequences in each prediction task, we can identify the most critical part of the input sequences in our model while making different predictions.

By calculating the gradient of an output neuron with respect to its input, the gradient-based attribution method can reflect how much the input features contributed to a particular output through the networks. In our work, we used an attribution method called IGs39. Here, the target neuron of interest is the classification layer of each modification. The IG computes the averaged gradients of the output neuron when the input varies along a linear path from a baseline or reference to the input. It measures the contribution of each input to modification prediction and assigns higher scores to important nucleotides in the input sequences. Based on the contribution scores in each input nucleotide position, we visualized the attribution map as sequence logos where the height represents the importance of that position in the prediction. The size of nucleotides in a positive direction represents an important level in predicting the appearance of RNA modifications.

Visualization of the attribution maps of each input sequence for a specific RNA modification not only gives the important positions while making positive predictions but also reveals the potential target motif (or recurring patterns) of its corresponding modifications. In order to calculate the consensus motif contributed most for each RNA modification, following a previous study64, we accumulated the attribution values in each position corresponding to all true positive samples with prediction scores in the top 10%. Then, for each sample, we search for the top k motifs across the attribution map by taking the highest mean scores in sliding windows of the desired length, removing its neighborhood, and repeating again for the next motif. After multiple sequence alignment, UMAP65 was used to embed the top-ranking motifs and DBSCAN66 was used to cluster these embedded motifs. Finally, we aggregated these motifs in each cluster by calculating their PWM and visualized them using sequence logos.

Baseline performance

Since tree-based classification algorithms often have the best off-the-shelf accuracy for many bioinformatics problems29,56, in this work, we compared our model with two gradient-boost decision trees, i.e., XGBoost37 and CatBoost38. XGBoost has been widely used for bioinformatics predictions. CatBoost is used here because it has built-in techniques to deal with categorical variables thus avoided the extra step to convert nucleotides to one-hot encoding in this problem. The gradient-boost decision trees were used as multiclass classifiers over all 13 classes, including the 12 wide occurring RNA modifications and the non-modifiable nucleotide class. To generate optimal results, we searched the hyper-parameters of each method by coordinated decent, and the optimized choices were provided in Supplementary Table 2.

Attention-based DNNs

We trained our attention-based DNNs (see Model Design subsection) over the short RNA sequences of 101-bp, 51-bp, or 21-bp windows. For Word2vec (see Embeddings section), we pre-trained the RNA 3-mers over 1001-bp sequence and then extracted the short RNA subsequence of the corresponding length from it. For CNN and HMM, we designed them in an end-to-end manner with the one-hot encoding of RNA sequences as the input. During training, we used a mini-batch size of 128 as the input and trained on 1 NVIDIA RTX 2080Ti over 100 epochs. In addition, we used an Adam optimizer67 and a mini-batch size of 128 during training. Meanwhile, exponential and cosine annealing68 learning rate decay were implemented for suitable models, and early stopping69 was introduced when the generalization loss increased in five successive epochs to prevent overfitting on the training data. Finally, the validation set was used to search for the best hyper-parameters for a single model, and the test set was used to choose the best model among various models with their best performance.

Reporting summary

Further information on research design is available in the Nature Research Reporting Summary linked to this article.

Supplementary information

Reporting Summary (261.3KB, pdf)

Acknowledgements

The authors would like to thank Prof. Alex Freitas from the University of Kent at Canterbury for his insightful suggestions and comments. This work has been supported by the National Natural Science Foundation of China [31671373]; XJTLU Key Program Special Fund [KSF-T-01]. This work is partially supported by the AI University Research Center through XJTLU Key Program Special Fund (KSF-P-02).

Author contributions

J.M., D.J.R., J.P.M., J.S., and G.L. conceived the idea and initialized the project; J.M. and D.H. supervised the project; K.C. collected and processed the training and benchmark datasets; Z.S., D.H., and Y.S. designed and implemented the deep learning model; Z.S. tested the performance of the deep learning model and compared it to competing methods; B.S. designed and built the web server; Z.S. drafted the manuscript. All authors read, critically revised, and approved the final manuscript.

Data availability

All data used in this study were already publicly available in the GEO database, RMBase, and RADAR database. In GEO database, m6A data can be collected from GSE71154, GSE86336, GSE98623 and GSE63753; Pseudouridine (Ψ): GSE60047, GSE58200, GSE63655 and GSE90963; m1A: GSE97908, GSE102040, GSE90963, GSE97419 and GSE70485; m6Am: GSE122948, GSE78040 and GSE63753; 2′-O-methyladenosine (Am, Cm, Gm, Um): GSE90164; m5C: GSE122260; m7G: GSE112276; m5U: GSE109183. 2′-O-methyladenosine data was also collected from the RMBase database under 2′-O-Me[http://rna.sysu.edu.cn/rmbase/2-O-Methylation.php] tag. Inosine data was collected from the RADAR database. All accession codes for data used are found in Table 5. All processed sequence data is freely available on the MultiRM web server at www.xjtlu.edu.cn/biologicalsciences/multirm. Detailed data profile information can be found in Supplementary Materials. All data are available from the authors upon reasonable request.

Code availability

The deep learning framework was implemented using Pytorch, and the Python codes can be freely accessed at https://github.com/Tsedao/MultiRM70. The user-friendly MultiRM web server developed for easy access to our approach via a graphical user interface is at www.xjtlu.edu.cn/biologicalsciences/multirm.

Competing interests

The authors declare no competing interests.

Footnotes

Peer review information Nature Communications thanks Wei Chen and Zhibin Wang for their contribution to the peer review of this work.

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

These authors contributed equally: Zitao Song, Daiyun Huang, Bowen Song, Kunqi Chen.

Contributor Information

Daiyun Huang, Email: daiyun.huang@liverpool.ac.uk.

Jia Meng, Email: jia.meng@xjtlu.edu.cn.

Supplementary information

The online version contains supplementary material available at 10.1038/s41467-021-24313-3.

References

  • 1.Duan HC, Wang Y, Jia G. Dynamic and reversible RNA N6-methyladenosine methylation. Wiley Interdiscip. Rev. RNA. 2019;10:e1507. doi: 10.1002/wrna.1507. [DOI] [PubMed] [Google Scholar]
  • 2.Boccaletto P, et al. MODOMICS: a database of RNA modification pathways. 2017 update. Nucleic Acids Res. 2018;46:D303–D307. doi: 10.1093/nar/gkx1030. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Qiu WR, et al. iRNA-2methyl: identify RNA 2′-O-methylation sites by incorporating sequence-coupled effects into general PseKNC and ensemble classifier. Med. Chem. 2017;13:734–743. doi: 10.2174/1573406413666170623082245. [DOI] [PubMed] [Google Scholar]
  • 4.Yang H, Lv H, Ding H, Chen W, Lin H. iRNA-2OM: a sequence-based predictor for identifying 2′-O-methylation Sites in Homo sapiens. J. Comput. Biol. 2018;25:1266–1277. doi: 10.1089/cmb.2018.0004. [DOI] [PubMed] [Google Scholar]
  • 5.Chen W, Ding H, Zhou X, Lin H, Chou KC. iRNA(m6A)-PseDNC: identifying N6-methyladenosine sites using pseudo dinucleotide composition. Anal. Biochem. 2018;561-562:59–65. doi: 10.1016/j.ab.2018.09.002. [DOI] [PubMed] [Google Scholar]
  • 6.Chen W, Feng P, Ding H, Lin H, Chou KC. iRNA-Methyl: identifying N6-methyladenosine sites using pseudo nucleotide composition. Anal. Biochem. 2015;490:26–33. doi: 10.1016/j.ab.2015.08.021. [DOI] [PubMed] [Google Scholar]
  • 7.Qiu WR, Jiang SY, Xu ZC, Xiao X, Chou KC. iRNAm5C-PseDNC: identifying RNA 5-methylcytosine sites by incorporating physical-chemical properties into pseudo dinucleotide composition. Oncotarget. 2017;8:41178–41188. doi: 10.18632/oncotarget.17104. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Chen W, Song X, Lv H, Lin H. iRNA-m2G: identifying N2-methylguanosine sites based on sequence-derived information. Mol. Ther. Nucleic Acids. 2019;18:253–258. doi: 10.1016/j.omtn.2019.08.023. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Chen W, Feng P, Song X, Lv H, Lin H. iRNA-m7G: identifying N7-methylguanosine sites by fusing multiple features. Mol. Ther. Nucleic Acids. 2019;18:269–274. doi: 10.1016/j.omtn.2019.08.022. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Tahir M, Tayara H, Chong KT. iRNA-PseKNC(2methyl): identify RNA 2′-O-methylation sites by convolution neural network and Chou’s pseudo components. J. Theor. Biol. 2019;465:1–6. doi: 10.1016/j.jtbi.2018.12.034. [DOI] [PubMed] [Google Scholar]
  • 11.Chen W, Tang H, Ye J, Lin H, Chou KC. iRNA-PseU: identifying RNA pseudouridine sites. Mol. Ther. Nucleic Acids. 2016;5:e332. doi: 10.1038/mtna.2016.37. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Zhou Y, Zeng P, Li YH, Zhang Z, Cui Q. SRAMP: prediction of mammalian N6-methyladenosine (m6A) sites based on sequence-derived features. Nucleic Acids Res. 2016;44:e91. doi: 10.1093/nar/gkw104. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Chen Z, et al. Comprehensive review and assessment of computational methods for predicting RNA post-transcriptional modification sites from RNA sequences. Brief. Bioinform. 2020;21:1676–1696. doi: 10.1093/bib/bbz112. [DOI] [PubMed] [Google Scholar]
  • 14.Chen K, et al. WHISTLE: a high-accuracy map of the human N6-methyladenosine (m6A) epitranscriptome predicted using a machine learning approach. Nucleic Acids Res. 2019;47:e41. doi: 10.1093/nar/gkz074. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Zou Q, Xing P, Wei L, Liu B. Gene2vec: gene subsequence embedding for prediction of mammalian N6-methyladenosine sites from mRNA. RNA. 2019;25:205–218. doi: 10.1261/rna.069112.118. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Tang Y, et al. m6A-Atlas: a comprehensive knowledgebase for unraveling the N6-methyladenosine (m6A) epitranscriptome. Nucleic Acids Res. 2021;49:D134–D143. doi: 10.1093/nar/gkaa692. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Chen K, et al. RMDisease: a database of genetic variants that affect RNA modifications, with implications for epitranscriptome pathogenesis. Nucleic Acids Res. 2021;49:D1396–D1404. doi: 10.1093/nar/gkaa790. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Zhai J, Song J, Cheng Q, Tang Y, Ma C. PEA: an integrated R toolkit for plant epitranscriptome analysis. Bioinformatics. 2018;34:3747–3749. doi: 10.1093/bioinformatics/bty421. [DOI] [PubMed] [Google Scholar]
  • 19.Li YH, Zhang G, Cui Q. PPUS: a web server to predict PUS-specific pseudouridine sites. Bioinformatics. 2015;31:3362–3364. doi: 10.1093/bioinformatics/btv366. [DOI] [PubMed] [Google Scholar]
  • 20.Huang Y, He N, Chen Y, Chen Z, Li L. BERMP: a cross-species classifier for predicting m6A sites by integrating a deep learning algorithm and a random forest approach. Int J. Biol. Sci. 2018;14:1669–1677. doi: 10.7150/ijbs.27819. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Jiang J, Song B, Tang Y, Chen K, Wei Z, Meng J. m5UPred: a web server for the prediction of RNA 5-methyluridine sites from sequences. Mol. Ther. Nucleic Acids. 2020;22:742–747. doi: 10.1016/j.omtn.2020.09.031. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Jiang, J., et al. m6AmPred: identifying RNA N6, 2′-O-dimethyladenosine (m6Am) sites based on sequence-derived information. Methods (2021). [DOI] [PubMed]
  • 23.Liu L, Lei X, Meng J, Wei Z. WITMSG: large-scale prediction of human intronic m6A RNA methylation sites from sequence and genomic features. Curr. Genom. 2020;21:67–76. doi: 10.2174/1389202921666200211104140. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Liu L, et al. LITHOPHONE: improving lncRNA methylation site prediction using an ensemble predictor. Front Genet. 2020;11:545. doi: 10.3389/fgene.2020.00545. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Liu K, Cao L, Du P, Chen W. im6A-TS-CNN: identifying the N6-methyladenine site in multiple tissues by using the convolutional neural network. Mol. Ther. Nucleic Acids. 2020;21:1044–1049. doi: 10.1016/j.omtn.2020.07.034. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Dao FY, et al. Computational identification of N6-methyladenosine sites in multiple tissues of mammals. Comput. Struct. Biotechnol. J. 2020;18:1084–1091. doi: 10.1016/j.csbj.2020.04.015. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Wang J, Wang L. Deep analysis of RNA N6-adenosine methylation (m6A) patterns in human cells. NAR Genom. Bioinform. 2020;2:lqaa007. doi: 10.1093/nargab/lqaa007. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28.Liu L, et al. Bioinformatics approaches for deciphering the epitranscriptome: recent progress and emerging topics. Comput. Struct. Biotechnol. J. 2020;18:1587–1604. doi: 10.1016/j.csbj.2020.06.010. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.Liu K, Chen W. iMRM: a platform for simultaneously identifying multiple kinds of RNA modifications. Bioinformatics. 2020;36:3336–3342. doi: 10.1093/bioinformatics/btaa155. [DOI] [PubMed] [Google Scholar]
  • 30.Salekin, S., et al Predicting sites of epitranscriptome modifications using unsupervised representation learning based on generative adversarial networks. Front Phys8 (2020). [DOI] [PMC free article] [PubMed]
  • 31.Carter JM, et al. FICC-Seq: a method for enzyme-specified profiling of methyl-5-uridine in cellular RNA. Nucleic Acids Res. 2019;47:e113. doi: 10.1093/nar/gkz658. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Hussain S, Aleksic J, Blanco S, Dietmann S, Frye M. Characterizing 5-methylcytosine in the mammalian epitranscriptome. Genome Biol. 2013;14:215. doi: 10.1186/gb4143. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33.Li X, Ma S, Yi C. Pseudouridine: the fifth RNA nucleotide with renewed interests. Curr. Opin. Chem. Biol. 2016;33:108–116. doi: 10.1016/j.cbpa.2016.06.014. [DOI] [PubMed] [Google Scholar]
  • 34.Zhang Y, Hamada M. DeepM6ASeq: prediction and characterization of m6A-containing sequences using deep learning. BMC Bioinform. 2018;19:524. doi: 10.1186/s12859-018-2516-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Shrivastava, A., Gupta, A. & Girshick, R. Training region-based object detectors with online hard example mining. In Proc. IEEE Conference on Computer Vision and Pattern Recognition (2016).
  • 36.Kendall, A., Gal, Y. & Cipolla, R. Multi-task learning using uncertainty to weigh losses for scene geometry and semantics. In Proc. IEEE Conference on Computer Vision and Pattern Recognition (2018).
  • 37.Chen, T. & Guestrin, C. XGBoost: a scalable tree boosting system. In Proc. 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (2016).
  • 38.Prokhorenkova, L., Gusev, G., Vorobev, A., Dorogush, A. V. & Gulin, A. CatBoost: unbiased boosting with categorical features. In Proc. The Thirty-second Annual Conference on Neural Information Processing Systems (NeurIPS) (2018).
  • 39.Sundararajan, M., Taly, A. & Yan, Q. Axiomatic attribution for deep networks. In Proc. 34th International Conference on Machine Learning (2017).
  • 40.Bahdanau, D., Cho, K. & Bengio, Y. Neural machine translation by jointly learning to align and translate. In Proc. 3rd International Conference on Learning Representations (ICLR) (2015).
  • 41.Espíndola R, Ebecken N. On extending f-measure and g-mean metrics to multi-class problems. WIT Trans. Inf. Commun. Technol. 2005;35:10. [Google Scholar]
  • 42.Sorower MS. A literature survey on algorithms for multi-label learning. Corvallis. 2010;18:1–25. [Google Scholar]
  • 43.Bailey TL. DREME: motif discovery in transcription factor ChIP-seq data. Bioinformatics. 2011;27:1653–1659. doi: 10.1093/bioinformatics/btr261. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44.Bailey, T. L. STREME: accurate and versatile sequence motif discovery. Bioinformatics. btab203 (2021). [DOI] [PMC free article] [PubMed]
  • 45.Gupta S, Stamatoyannopoulos JA, Bailey TL, Noble WS. Quantifying similarity between motifs. Genome Biol. 2007;8:R24. doi: 10.1186/gb-2007-8-2-r24. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 46.Huang KY, et al. dbPTM in 2019: exploring disease association and cross-talk of post-translational modifications. Nucleic Acids Res. 2019;47:D298–D308. doi: 10.1093/nar/gky1074. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 47.Lee JS, Smith E, Shilatifard A. The language of histone crosstalk. Cell. 2010;142:682–685. doi: 10.1016/j.cell.2010.08.011. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48.Sas-Chen A, et al. Dynamic RNA acetylation revealed by quantitative cross-evolutionary mapping. Nature. 2020;583:638–643. doi: 10.1038/s41586-020-2418-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49.Arango D, et al. Acetylation of cytidine in mRNA promotes translation efficiency. Cell. 2018;175:1872–1886. doi: 10.1016/j.cell.2018.10.030. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50.Delatte B, et al. RNA biochemistry. Transcriptome-wide distribution and function of RNA hydroxymethylcytosine. Science. 2016;351:282–285. doi: 10.1126/science.aac5253. [DOI] [PubMed] [Google Scholar]
  • 51.Chen H, et al. Cross-talk of four types of RNA modification writers defines tumor microenvironment and pharmacogenomic landscape in colorectal cancer. Mol. Cancer. 2021;20:29. doi: 10.1186/s12943-021-01322-w. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 52.Avsec Ž, et al. Base-resolution models of transcription-factor binding reveal soft motif syntax. Nat. Genet. 2021;53:354–366. doi: 10.1038/s41588-021-00782-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 53.Ramaswami G, Li JB. RADAR: a rigorously annotated database of A-to-I RNA editing. Nucleic Acids Res. 2014;42:D109–D113. doi: 10.1093/nar/gkt996. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 54.Xuan JJ, et al. RMBase v2.0: deciphering the map of RNA modifications from epitranscriptome sequencing data. Nucleic Acids Res. 2018;46:D327–D334. doi: 10.1093/nar/gkx934. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 55.Dai Q, et al. Nm-seq maps 2′-O-methylation sites in human mRNA with base precision. Nat. Methods. 2017;14:695–698. doi: 10.1038/nmeth.4294. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 56.Qiang X, Chen H, Ye X, Su R, Wei L. M6AMRFS: robust prediction of N6-methyladenosine sites with sequence-based features in multiple species. Front Genet. 2018;9:495. doi: 10.3389/fgene.2018.00495. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 57.Wei L, Luan S, Nagai LAE, Su R, Zou Q. Exploring sequence-based features for the improved prediction of DNA N4-methylcytosine sites in multiple species. Bioinformatics. 2019;35:1326–1333. doi: 10.1093/bioinformatics/bty824. [DOI] [PubMed] [Google Scholar]
  • 58.Dai H, et al. Sequence2Vec: a novel embedding approach for modeling transcription factor binding affinity landscape. Bioinformatics. 2017;33:3575–3583. doi: 10.1093/bioinformatics/btx480. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 59.Mikolov, T., Chen, K., Corrado, G. & Dean, J. Efficient estimation of word representations in vector space. ICLR Workshop (2013).
  • 60.Rehurek, R. & Sojka, P. Gensim–python framework for vector space modelling. NLP Centre, Faculty of Informatics, Masaryk University, Brno, Czech Republic 3, (2011).
  • 61.Chawla NV, Bowyer KW, Hall LO, Kegelmeyer WP. SMOTE: synthetic minority over-sampling technique. J. Artif. Intell. Res. 2002;16:321–357. doi: 10.1613/jair.953. [DOI] [Google Scholar]
  • 62.Cui, Y., Jia, M., Lin, T.-Y., Song,. Y. & Belongie, S. Class-balanced loss based on effective number of samples. In Proc. IEEE Conference on Computer Vision and Pattern Recognition (2019).
  • 63.Lin, T., Goyal, P., Girshick, R. B., He, K., & Dollár, P. Focal loss for dense object detection. In Proc. 2017 IEEE International Conference on Computer Vision (ICCV), 2999–3007 (2017).
  • 64.Ghanbari M, Ohler U. Deep neural networks for interpreting RNA-binding protein target preferences. Genome Res. 2020;30:214–226. doi: 10.1101/gr.247494.118. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 65.McInnes L, Healy J, Melville J. Umap: Uniform manifold approximation and projection. J. Open Source Softw. 2018;3:861. doi: 10.21105/joss.00861. [DOI] [Google Scholar]
  • 66.Ester, M., Kriegel, H.-P., Sander, J. & Xu, X. A density-based algorithm for discovering clusters in large spatial databases with noise. In: Kdd (1996).
  • 67.Kingma, D. P. & Ba, J. Adam: a method for stochastic optimization. In Proc. 3rd International Conference on Learning Representations (2014).
  • 68.Loshchilov, I. & Hutter, F. SGDR: stochastic gradient descent with warm restarts. In Proc. 5th International Conference on Learning Representations (2017).
  • 69.Orr, G. B. & Müller, K.-R. Neural Networks: Tricks of the Trade. Springer (2003).
  • 70.Song, Z. MultiRM. 10.5281/zenodo.4851898 (2021).

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Reporting Summary (261.3KB, pdf)

Data Availability Statement

All data used in this study were already publicly available in the GEO database, RMBase, and RADAR database. In GEO database, m6A data can be collected from GSE71154, GSE86336, GSE98623 and GSE63753; Pseudouridine (Ψ): GSE60047, GSE58200, GSE63655 and GSE90963; m1A: GSE97908, GSE102040, GSE90963, GSE97419 and GSE70485; m6Am: GSE122948, GSE78040 and GSE63753; 2′-O-methyladenosine (Am, Cm, Gm, Um): GSE90164; m5C: GSE122260; m7G: GSE112276; m5U: GSE109183. 2′-O-methyladenosine data was also collected from the RMBase database under 2′-O-Me[http://rna.sysu.edu.cn/rmbase/2-O-Methylation.php] tag. Inosine data was collected from the RADAR database. All accession codes for data used are found in Table 5. All processed sequence data is freely available on the MultiRM web server at www.xjtlu.edu.cn/biologicalsciences/multirm. Detailed data profile information can be found in Supplementary Materials. All data are available from the authors upon reasonable request.

The deep learning framework was implemented using Pytorch, and the Python codes can be freely accessed at https://github.com/Tsedao/MultiRM70. The user-friendly MultiRM web server developed for easy access to our approach via a graphical user interface is at www.xjtlu.edu.cn/biologicalsciences/multirm.


Articles from Nature Communications are provided here courtesy of Nature Publishing Group

RESOURCES