Skip to main content

DeepM6ASeq: prediction and characterization of m6A-containing sequences using deep learning



N6-methyladensine (m6A) is a common and abundant RNA methylation modification found in various species. As a type of post-transcriptional methylation, m6A plays an important role in diverse RNA activities such as alternative splicing, an interplay with microRNAs and translation efficiency. Although existing tools can predict m6A at single-base resolution, it is still challenging to extract the biological information surrounding m6A sites.


We implemented a deep learning framework, named DeepM6ASeq, to predict m6A-containing sequences and characterize surrounding biological features based on miCLIP-Seq data, which detects m6A sites at single-base resolution. DeepM6ASeq showed better performance as compared to other machine learning classifiers. Moreover, an independent test on m6A-Seq data, which identifies m6A-containing genomic regions, revealed that our model is competitive in predicting m6A-containing sequences. The learned motifs from DeepM6ASeq correspond to known m6A readers. Notably, DeepM6ASeq also identifies a newly recognized m6A reader: FMR1. Besides, we found that a saliency map in the deep learning model could be utilized to visualize locations of m6A sites.


We developed a deep-learning-based framework to predict and characterize m6A-containing sequences and hope to help investigators to gain more insights for m6A research. The source code is available at


More than 100 types of RNA modification have been discovered in eukaryotic RNAs [1]; among them, N6-methyladenosine (m6A) is a common and abundant RNA modification type found in various species, such as human, mouse and yeast [24]. m6A is preferentially located near 3’ untranslated regions (3’ UTR) and its nearby sequences mostly conform to certain motifs, i.e., DRACH (where D = A, G or U; R = A or G; H = A, C or U) in the mammalian genome [5] and RAC in the yeast genome [6]. m6A is involved in diverse RNA activities including alternative splicing [7], an interplay with microRNAs [8] and translation efficiency [9]. In addition, m6A has been linked with caner progression. It is reported that METTL3 and METTL4, which are both m6A-forming enzymes, have an impact on differentiation and apoptosis of human myeloid leukemia cell lines [10, 11].

m6A can be detected in a high-throughput manner owing to the rapid development of high-throughput sequencing technologies. m6A-Seq and Methylated RNA immunoprecipitation sequencing (MeRIP-Seq) [2, 3] are the main sequencing methods for detection of genomic regions with m6A sites via antibody capturing. Recently, m6A individual-nucleotide-resolution cross-linking and immunoprecipitation (miCLIP-Seq) enables detection of m6A at single-base resolution [5, 12]. Several bioinformatics tools have been developed to predict m6A sites in different species, e.g., m6Apred [13] and iRNA-Methyl [14] for the yeast genome, SRAMP [15] for the mammalian genome. These tools mainly apply existing knowledge as feature input such as a combination of k-mers and chemical properties to build models using random forest (RF) or support vector machine (SVM) algorithm. Although these tools can predict single-base m6A, the biological information surrounding m6As is still limited; this situation poses a challenge for researchers. Therefore, here we implemented a deep-learning-based framework, named DeepM6ASeq, to predict m6A-containing sequences and characterize biological features surrounding m6A. In recent years, deep learning became an state-of-the-art technology and is now employed more and more in the field of biology [1618]. The strength of deep learning is not only in its better prediction power (in comparison with traditional machine learning classifiers), but also its ability to recognize motifs in genomic sequences. Because miCLIP-Seq data revealed precise locations of m6A sites, we explored on such data by utilizing convolutional neural network (CNN) layer as a motif detector to characterize biological features surrounding m6A, then capturing m6A’s positional preference out of the deep learning model we built. In addition, we made use of a saliency map to visualize locations of m6A sites in the sequences. The development of DeepM6ASeq, model performance and analysis of biological information will be discussed in details in the following sections.



The miCLIP-Seq dataset

Given that miCLIP-Seq data can pinpoint m6A sites at single-base resolution, these data provide us with ideal conditions to study sequences surrounding m6A sites. We collected miCLIP-Seq data from human, mouse and zebrafish [5, 12, 19]. Human and mouse data are from the same source as SRAMP, which included five cell line and tissue types, that is A549, CD8T, HEK293, brain and liver. For zebrafish, the data consisted of two biological replicates from embryonic stem cells.

For positive samples, we defined sequences with the window size of 101 bp containing m6A sites. First, all m6A sites were mapped to the longest transcripts of genes using the ENSEMBL database (release 91, Then, we randomly located m6A sites in the fixed-size windows and extracted the surrounding sequences with length up to 101 bp (if m6A sites are near a terminus of a transcript, we sliced 101-bp-size windows from the terminus). To avoid sample redundancy (because m6A sites are reported to cluster together [2]), before randomly locating we merged m6A sites within 50 bp and chose the centered one among the merged sites. Because zebrafish data consisted of two replicates, we chose common sites as positive samples.

For negative samples, we used nearby windows (with the same fixed window size) not containing any m6A sites. The nearby negative controls are from the windows 100 bp upstream or downstream the positive windows; these windows are generated by a stride of 10 bp and 100 steps. We chose the closest one for each positive sample. (If there were two closest ones on both sides of a positive sample, we randomly picked one of the two.) In rare cases, there were no control windows nearby because m6A sites are mapped to very short transcripts. Nevertheless, the ratio of positive to negative samples was approximately 1:1. For each species, we split the dataset into an 80% part (as training data) and a 20% part (as independent test data). The dataset information is listed in Table 1.

Table 1 A summary of dataset size

The m6A-Seq dataset

To test our model on real peaks data, we used m6A-Seq data from the HepG2 cell line and human brain (two different cell types from those used in the model) from Dominissini’s study [3] and processed this dataset according to their protocol [20]. For positive samples, we retrieved the top 1000 positive peaks detected by MACS [21] with the highest fold enrichment and the false discovery rate (FDR) ≤ 0.05. We extracted sequences of 101 bp around the peak summits and overlapped these regions with peaks from MeT-DB database [22] (The MeT-DB peak score greater than 6 was required, which is the median score for human data.) to obtain reliable m6A-containing sequences. As negative samples, we used negative peaks detected by MACS (MACS identifies negative peaks by swapping immunoprecipitation samples and control samples) and split each peak into bins with a size of 101 bp(because HepG2 has limited negative peaks, we used a sliding window with a step of 20 bp when spliting peaks for data augmentation). We chose bins overlapping with exon regions and not overlapping with peaks from MeT-DB database. To evaluate the generalization of our model and to conduct a fair comparison with SRAMP, we used CD-HIT [23] to remove test sequence redundancy with the training data of both our model and SRAMP at an 80% similarity threshold, which is the lowest threshold provided by CD-HIT. Besides, we kept only sequences with DRACH motifs because SRAMP scans only A sites with DRACH motifs in given sequences. Finally, we got 663 positive samples and 413 negative samples in total.


The development of deep learning models

The sequences were one-hot encoded as inputs with the padding of half filter size on each side, that is, A, C, G, U, and N were encoded as (1,0,0,0), (0,1,0,0), (0,0,1,0), (0,0,0,1), and (0,0,0,0) respectively. The main structure of our deep learning model consists of two layers of CNN [24], one bidirectional long short-term memory (BLSTM) layer [25] and one fully connected (FC) layer as presented in Fig. 1. The first convolution layer works as a motif detector, while the second convolution layer captures higher-level features. The BLSTM layer is useful to get sequential-order information embedded in the sequences.

Fig. 1
figure 1

A graphic illustration of DeepM6ASeq model structure. The genome sequence (A in red represents an m6A site) is first one-hot encoded as input, then the input is sequentially fed into two layers of CNN in order. The first CNN layer functions as a motif detector while the second CNN layer captures features of a higher level. After the CNN layers is one BLSTM layer to capture sequential order. The output units of the BLSTM layer are followed by the fully connected layer, and finally the model outputs the prediction result

During the process of model construction, we chose the filter sizes of 10 and 5, the filter numbers of 256 and 128 for each convolution layer. The activation function for CNN layers is rectified linear unit (ReLU), tanh for the BLSTM layer and sigmoid activation after the FC layer to obtain prediction output. Additionally, we applied batch normalization and dropout [26] after each convolutional procedure to accelerate training and avoid overfitting separately. We used binary cross entropy as a loss function to measure the difference between the target and the predicted output and Adam as an optimization algorithm. The deep learning framework is implemented using Pytorch (

There are three phases during the process of model building. First, we performed five-fold cross-validation on training data for optimization of hyperparameters. In this phase, we used the grid-search strategy for optimization of hyperparameters. The details of tuning parameters are given in Additional file 1: Table S1. Then, we used 1/8 of training data, which equals to 10% of the whole dataset, as validation data and fed the best parameters from the previous phase to the training phase. In the last phase, we applied our model to the independent dataset. We selected a batch size of 256, 50 maximum epochs and an early stopping strategy of patience to 5 in the first two phases.

Conversion of filters to motifs

We employed the method from previous papers [16, 18] to convert filters to motifs in position weight matrix (PWM) format. For each input sequence, the subsequence with the filter length that responds to the corresponding filter maximally is extracted in a one-hot encoded matrix, which is then multiplied by the responding score from ReLU in the first CNN layer as follows

$$\begin{array}{*{20}l} M_{l,4}^{(k)}=\sum\limits_{i=1}^{n}\alpha_{i}^{(k)}X_{l,4}^{(i)} \end{array} $$

where X is the subsequence matrix, α is the responding score, l represents the filter length, k denotes the motif detector, and n is the number of input sequences. The cumulative matrix of these subsequences forms a PWM, each element of which is then normalized as described below

$$ m_{p,q}=\frac{m_{p,q}}{{\sum\nolimits}_{q=1}^{4}m_{p,q}} $$

where m stands for each element in M, and p and q are the row number and column number respectively.

The saliency map

A saliency map is used to determine which nucleotide makes the most contribution to the prediction score for a class (Sc). We calculated the saliency map according to the method described by Lanchantin et al. [27]. First, the class score could be approximated with a liner function by computing the first-order Taylor expansion:

$$\begin{array}{*{20}l} S_{c}(X)\approx w(X)^{T}X+b. \end{array} $$

Then, for a given sequence X in one-hot encoding, the saliency score S was obtained by a point-wise multiplication of the absolute value of a derivative of Sc(X) and its one-hot encoding formally expressed as

$$\begin{array}{*{20}l} w(X)=\frac{\partial S_{c}}{\partial X} \end{array} $$


$$\begin{array}{*{20}l} S(X)=\left | w(X) \right |*X \end{array} $$


Derivation of other classifiers

We built models of RF, Logistic Regression (LR) and SVM on mammalian dataset using sklearn ( For RF and LR, the feature inputs were normalized counts of kmers of 1-5. For SVM, the feature inputs were commonly used 4-kmer for saving training time. We applied the grid-search strategy on hyperparameter optimization for each classifier and chose the parameters with the best performance. The parameters used in the grid-search were listed in Additional file 1: Table S2.

Evaluation metrics

To measure performance of the models, we calculated accuracy, sensitivity, specificity, the F1-score and the Matthews correlation coefficient (MCC) as follows:

$$ \begin{aligned} Accuracy = \frac{TP + TN}{TP + TN + FP + FN}\\ Sensitivity = \frac{TP}{TP+FN}\\ Specificity = \frac{TN}{TN+FP}\\ F1\mathrm{-}score = \frac{2TP}{2TP+FP+FN}\\ \end{aligned} $$
$$ {\begin{aligned} MCC = \frac{TP\times TN-FP\times FN}{\sqrt{(TP+FP)\times(TP+FN)\times(TN+FP)\times(TN+FN)}} \end{aligned}} $$

where TP is true positive, TN is true negative, FP is false positive and FN is false negative. Additionally, we plotted Receiver Operating Characteristic (ROC) curves and Precision-Recall (PR) curves and calculated the areas under the curves, which are denoted by AUROC and AUPR, respectively.

Prediction of m6A-containing sequences

Model training and hyperparameter optimization

We used the mammalian dataset that consists of both human and mouse miCLIP-seq data, for optimizing the hyperparameters during the development of the model. The details of the model development are described in the Materials and Methods section. In brief, we built a deep-learning-based model that mainly consists of two CNN layers, one BLSTM layer and one FC layer, to predict whether a sequence contains m6A sites. During hyperparameter optimization, the grid-search strategy was applied to find the best parameter combination of maxpooling size, dropout rate, learning rate, units of the BLSTM layer and the FC layer. The metrics of mean performance for different parameters settings are shown in Additional file 1: Table S3. We found that no maxpooling, a higher dropout rate and a more complicated model structure contribute to the improvement of performance. Then, we chose the best parameter setting to train the model on the mammalian validation dataset and got AUROC = 0.843 and AUPR = 0.832 for validation as illustrated in Additional file 2: Figure S1.

The comparison of DeepM6ASeq with other classifiers

We evaluated our mammalian model on the mammalian independent dataset and compared the model with other classifiers, including LR, RF and SVM. The hyperparameter optimization was performed too for each of these traditional classifiers which as presented in Additional file 1: Table S2. DeepM6ASeq showed improved performance, with AUROC = 0.844 and AUPR = 0.831 (Fig. 2). The performance metrics are listed in the Table 2 in which DeepM6ASeq ranks first in terms of all the evaluation metrics.

Fig. 2
figure 2

The comparison of DeepM6ASeq with other classifiers, including random forrest (RF), logistic regression (LR) and support vector machine (SVM), on the mammalian independent dataset. The performance is presented as (a) a plot of ROC and (b) a graph of precision-recall curves

Table 2 Performance metrics for comparison of DeepM6ASeq with other classifiers on the mammalian independent dataset

To check the statistical significance of the improved performance, we applied the t-test on ROC values from five-fold cross-validation results between DeepM6ASeq and other three classifiers. The mean and standard deviation of ROC values were 0.8504±0.0025, 0.8304±0.0030, 0.8298±0.0031, 0.8258±0.0037 for DeepM6ASeq, RF, LR and SVM respectively. All the t-test yielded p-value less than 4.5*10e-6, which is indicative of DeepM6ASeq’s superiority. Besides, we also tested the mammalian model on an unbalanced mammalian dataset, consisting of the closest nearby windows without any m6A sites on both sides of the positive samples; this arrangement results in the ratio of positives to negatives nearly 1:2. The performance metrics of the mammalian model on the unbalanced independent dataset are compiled in the Additional file 1: Table S4: DeepM6ASeq showed the stable performance on the unbalanced dataset and still outperformed the other classifiers. Our deep learning model has its strengths: it does not require existing knowledge as input and extracts the features automatically, whereas traditional classifiers need predefined features. Additionally, DeepM6ASeq also takes into account the sequential-order information by applying the BLSTM layer. In summary, our results indicate that DeepM6ASeq performs better than the other three algorithms with only sequence-based feature input.

DeepM6ASeq performance on m6A-Seq data

Given that our independent test samples are generated by a stochastic process, we wondered how our model performs on the real m6A-Seq peak data. We retrieved m6A-Seq peak data from HepG2 cell line and human brain (see the Materials and Methods section) and compared the performance of the mammalian model with that of SRAMP, which is also a sequence-based predictor built for the mammalian genome. Both the full mode and mature mode of SRAMP were compared, where the full mode is for whole transcripts and the mature mode for cDNA sequences. We used SRAMP’s highest score among all the scores for predicted A sites as the prediction score for a given sequence. DeepM6ASeq showed better performance in terms of AUROC and AUPR as presented in Fig. 3, and we list performance metrics in Table 3. Our results indicate that DeepM6ASeq is competitive in predicting m6A-containing sequences.

Fig. 3
figure 3

Comparison of DeepM6ASeq with SRAMP in full mode and mature mode (the full mode for whole-transcript sequences and the mature model for cDNA sequences) on the m6A-Seq dataset. The performance is shown as a) a plot of ROC and b) a graph of precision-recall curves

Table 3 Performance metrics for comparison of DeepM6ASeq with SRAMP on the m6A-Seq dataset

Cross-species performance

We built models for human, mouse and zebrafish separately. The cross-species performance is illustrated in Additional file 2: Figure S2. As expected, the cross-species prediction was stable between human and mouse; howerver, there was a gap in the prediction of the mouse and human dataset by the zebrafish model and vice versa. Because the zebrafish dataset is from one cell line, it is possible that models from other species have limitations in terms of generalization due to the cell-line specificity.

Biological information on sequences surrounding m6A sites

Learned motifs for each species

The first CNN layer of the deep learning model is a motif detector, thus we wondered what biological information could be captured by models for different species. The filters of the first CNN layer are converted to the motifs in the ways described in refs. [16, 18], in which we extracted the subsequences with the filter length that respond to the filters maximally from positive training sequences and converted these subsequences to PWMs.These learned motifs were aligned to known motifs using TOMTOM [28]. Under the threshold of E-value =0.05, were 18, 21, 15 out of 256 convolutional filters (7%, 8% and 6%) corresponding to known motifs for human, mouse and zebrafish respectively. As depicted in Fig. 4, among the most significant motifs (E-value ≤ 0.01), we found Rbmx (also know as HNRNPG) in both the human and mouse model, which is a known m6A reader [29]. Interestingly, the human predictor detects FMR1, which is a recently discovered m6A reader [30]. FMR1 has been detected in the mouse predictor, albeit not so significant as that in the human predictor (E-value = 0.013). In the zebrafish predictor, the most significant motif was LIN28A, which is one of the core pluripotency regulators. Because the zebrafish data came from embryotic cell line, this outcome is consistent with m6A’s role in controlling cell fate development [31]. The results above suggest that DeepM6ASeq could capture meaningful biological information surrounding m6A sites which is also consistent with biological experiments. Furthermore, we used RSAT [32] for clustering motifs and got 161, 158 and 177 clusters separately for human, mouse and zebrafish(Additional file 2: Figure S3). The detailed information on motifs and clusters information can be found at

Fig. 4
figure 4

Significant learned motifs (E-value < 0.01) in human, mouse and zebrafish. The learned motifs from the first CNN layer of each species model are aligned with known motifs by means of TOMTOM. For each aligned result, the upper panel is the known motif, while the bottom panel is the learned motif. The names of known motifs and the significant scores (E-value) are shown on the side

Location preference for m6A-containing sequences

m6A is characterized by enrichment near 3’ UTR of transcripts, thus we wanted to know if our predictor could capture such location information. We performed the position analysis in a way without prior knowledge in which we split the transcripts of the independent test dataset into bins of 101-bp size, get bins with confident prediction scores and check if these bins have location preference with regard to the transcript structure. We established three confidence categories (moderate, high and very high) for prediction scores, which corresponds to 90%, 95% and 99% specificity respectively in the validation datasets (see Additional file 1: Table S5).

First, we computed the percentage of potential m6A-containing bins with scores above moderate confidence in the bins of the the whole transcripts, all exons and last exons. The result indicated that these potential m6A-containing bins are not enriched in the last exons. This finding suggests that sequences with a potential to contain m6A sites are widely distributed along the exons of transcripts (Additional file 2: Figure S4).

Then, we checked the relative position of bins of moderate-to-very high confidence in the last exons toward 3’ UTR. We profiled the relative distances from the center of these bins to the start of 3’ UTR as shown in Fig. 5. (The distance was normalized to the length of 3’ UTR.) The relative distance less than -2 is not shown in the figure because some values are huge owing to the small size of 3’ UTR, and because such bins account for less than 3% in the mammal and 7% in the zebrafish. This finding suggests that our predicted potential m6A-containing bins were enriched near the start of 3’ UTR as the confidence level increased. This result is consistent with the known m6A location bias.

Fig. 5
figure 5

Position profiles of potential m6A-containing bins with a size of 101bp in the last exons for human, mouse and zebrafish. The X-axis represents the relative distances from m6A-containing bins in the last exons to 3’ UTR, which is the distance from bins’ center to the start of 3’ UTR normalized to the length of the 3’ UTR. Different colors of lines represent confidence levels from moderate to very high, which corresponds to 90%, 95% and 99% specificity respectively

In summary, our location analysis indicates that sequences with a potential to contain m6A sites are widely distributed along the exons of transcripts, in particular, the potential m6A-containing sequences in the last exons are preferentially located near the start of 3’ UTR.

The saliency map for visualizing m6A sites

A saliency map is commonly used in computation version for showing each pixels’ unique quality. In the context of a genome sequence, a saliency map can measure the nucleotide importance which can have an impact on the prediction scores. Given that we had precise m6A locations from miCLIP-Seq data, we were curious whether locations of m6A sites could be uncovered by way of a saliency map. We obtained saliency maps for potential m6A-containing sequences in the independent datatsets with prediction scores with higher-than-moderate confidence via the method described by Lanchantin et al. [27], which, in briefly, performs point-wise multiplication of the absolute derivative of the input sequences from back-propagation and their one-hot encoding.

First, we checked the distribution of the types of the most salient nucleotides in the sequences. We extracted the nucleotides with the highest saliency score for each sequence and plotted the distribution. As shown in Additional file 2: Figure S5, nucleotide type A accounted for the majority among all the most salient nucleotides. For those most salient nucleotides rather than A, we plotted the distribution of the distance from these non-A nucleotides to the closest mapped miCLIP m6A sites as depicted in Additional file 2: Figure S6, in which the majority of these most salient non-A nucleotides are located near mapped miCLIP m6A sites.

After that, we wondered how many of these most salient As are overlapped with known m6A sites. Our result revealed that nearly 40–50% of these As belong to known m6A sites from miCLIP-data (Additional file 2: Figure S7). Besides, some of non-miCLIP m6A could be mapped to the predicted m6A sites in the Met-DB single-base m6A database. Although in zebrafish, the most salient As overlapping neither with miCLIP-Seq data nor Met-DB are more than those in human and mouse, actually, over 30% of these As belongs to the miCLIP m6A sites of one of the replicate zebrafish samples.

Even though most salient nucleotides are overlapped with known miCLIP m6A sites to some extent, we wonder if these known miCLIP m6A sites have higher saliency scores as compared to the other As in the sequences. Thus, we evaluated the ranking percentile of the saliency scores for known miCLIP-Seq m6A sites in the sequences. We found that most of miCLIP m6A sites ranked ahead as shown in Fig. 6. We also provide examples of visualization of saliency maps as illustrated in Fig. 7, in which obvious red bands for As are consistent with mapped miCLIP-Seq m6A sites. In the saliency map example for mouse, even though one miCLIP-Seq m6A was missing, we found that this m6A site conforms to a non-DRACH motif and is located between two more significant m6A sites. All the above results indicate that a saliency map could serve as an efficient tool to visualize locations of m6A sites.

Fig. 6
figure 6

The distribution of ranking percentiles of saliency scores of miCLIP-Seq m6A sites in human, mouse and zebrafish. The X-axis is the ranking percentile of saliency scores of miCLIP-Seq m6As among those of all the As in the independent test sequences with confidence above a moderate threshold

Fig. 7
figure 7

Examples of saliency maps in human, mouse and zebrafish. For each species, the upper panel presents saliency scores of each nucleotide in the sequence and the bottom panel reveals the locations of mapped miCLIP-m6A sites. The position information and the prediction scores for the sequences are listed at the bottom

Discussion and conclusion

We propose DeepM6ASeq as a framework useful for identifying m6A-containing sequences. Nonetheless, we have some thoughts about the future research. First, although the zebrafish model has higher predictive power, biological information extracted from this model is limited probably due to the single source of the cell type. We expect additional miCLIP-Seq data to become available for zebrafish in the future to improve the current model and provide more biological information. Second, because the second CNN layer detects the combination of motifs at a higher level, it would be interesting to explore what the deep learning model could detect in this layer. An alternative approach is to apply word-embedding, a strategy widely used in the natural language processing. In this way, input sequences can be converted to words and then a deep learning model can be built to discern some patterns among the sequence words. The word-embedding strategy has been utilized for identifying chromatin accessibility [33]. Finally, to characterize biological features surrounding m6A sites in some way without prior knowledge, we employed all the m6A sites rather than limiting ourselves to m6A sites with DRACH motifs. We believe that deep leaning method may also exert its power for predicting single-base m6A sites with DRACH motifs, in particular combined with other features such as secondary structure and conservation score.

In conclusion, we developed DeepM6ASeq, a model based on deep learning framework, to predict m6A-containing sequences and characterize biological features surrounding m6A sites. DeepM6ASeq showed better performance as compared to other machine learning classifiers and is competitive at predicting m6A-containing sequences. In addition, DeepM6ASeq can recognize the position preference of sequences harboring m6A sites. All these data corroborate the effectiveness of our models. Furthermore, taking advantage of function of motif detectors and saliency maps in the deep learning model, DeepM6ASeq learned a newly recognized m6A reader, FMR1 and helped to visualize mapped and potential m6A sites. We hope that DeepM6ASeq will provide more insights for m6A research.


  1. Roundtree IA, Evans ME, Pan T, He C. Dynamic RNA Modifications in Gene Expression Regulation. Cell. 2017; 169(7):1187–200.

    Article  CAS  Google Scholar 

  2. Meyer KD, Saletore Y, Zumbo P, Elemento O, Mason CE, Jaffrey SR. Comprehensive analysis of mRNA methylation reveals enrichment in 3’ UTRs and near stop codons. Cell. 2012; 149(7):1635–46.

    Article  CAS  Google Scholar 

  3. Dominissini D, Moshitch-Moshkovitz S, Schwartz S, Salmon-Divon M, Ungar L, Osenberg S, Cesarkas K, Jacob-Hirsch J, Amariglio N, Kupiec M, Sorek R, Rechavi G. Topology of the human and mouse m6A RNA methylomes revealed by m6A-seq. Nature. 2012; 485(7397):201–6.

    Article  CAS  Google Scholar 

  4. Clancy MJ, Shambaugh ME, Timpte CS, Bokar JA. Induction of sporulation in Saccharomyces cerevisiae leads to the formation of N6-methyladenosine in mRNA: a potential mechanism for the activity of the IME4 gene. Nucleic Acids Res. 2002; 30(20):4509–18.

    Article  CAS  Google Scholar 

  5. Linder B, Grozhik AV, Olarerin-George AO, Meydan C, Mason CE, Jaffrey SR. Single-nucleotide-resolution mapping of m6A and m6Am throughout the transcriptome. Nat Methods. 2015; 12(8):767–72.

    Article  CAS  Google Scholar 

  6. Schwartz S, Agarwala SD, Mumbach MR, Jovanovic M, Mertins P, Shishkin A, Tabach Y, Mikkelsen TS, Satija R, Ruvkun G, Carr SA, Lander ES, Fink GR, Regev A. High-resolution mapping reveals a conserved, widespread, dynamic mRNA methylation program in yeast meiosis. Cell. 2013; 155(6):1409–21.

    Article  CAS  Google Scholar 

  7. Roundtree IA, He C. Nuclear m(6)A Reader YTHDC1 Regulates mRNA Splicing. Trends Genet. 2016; 32(6):320–1.

    Article  CAS  Google Scholar 

  8. Chen T, Hao YJ, Zhang Y, Li MM, Wang M, Han W, Wu Y, Lv Y, Hao J, Wang L, Li A, Yang Y, Jin KX, Zhao X, Li Y, Ping XL, Lai WY, Wu LG, Jiang G, Wang HL, Sang L, Wang XJ, Yang YG, Zhou Q. m(6)A RNA methylation is regulated by microRNAs and promotes reprogramming to pluripotency. Cell Stem Cell. 2015; 16(3):289–301.

    Article  CAS  Google Scholar 

  9. Wang X, Zhao BS, Roundtree IA, Lu Z, Han D, Ma H, Weng X, Chen K, Shi H, He C. N(6)-methyladenosine Modulates Messenger RNA Translation Efficiency. Cell. 2015; 161(6):1388–99.

    Article  CAS  Google Scholar 

  10. Vu LP, Pickering BF, Cheng Y, Zaccara S, Nguyen D, Minuesa G, Chou T, Chow A, Saletore Y, MacKay M, Schulman J, Famulare C, Patel M, Klimek VM, Garrett-Bakelman FE, Melnick A, Carroll M, Mason CE, Jaffrey SR, Kharas MG. The N6-methyladenosine (m6A)-forming enzyme METTL3 controls myeloid differentiation of normal hematopoietic and leukemia cells. Nat Med. 2017; 23(11):1369–76.

    CAS  PubMed  PubMed Central  Google Scholar 

  11. Weng H, Huang H, Wu H, Qin X, Zhao BS, Dong L, Shi H, Skibbe J, Shen C, Hu C, Sheng Y, Wang Y, Wunderlich M, Zhang B, Dore LC, Su R, Deng X, Ferchen K, Li C, Sun M, Lu Z, Jiang X, Marcucci G, Mulloy JC, Yang J, Qian Z, Wei M, He C, Chen J. METTL14 Inhibits Hematopoietic Stem/Progenitor Differentiation and Promotes Leukemogenesis via mRNA m6A Modification. Cell Stem Cell. 2018; 22(2):191–205.

    Article  CAS  Google Scholar 

  12. Ke S, Alemu EA, Mertens C, Gantman EC, Fak JJ, Mele A, Haripal B, Zucker-Scharff I, Moore MJ, Park CY, Vagb? CB, Kus?nierczyk A, Klungland A, Darnell JE, Darnell RB. A majority of m6A residues are in the last exons, allowing the potential for 3’ UTR regulation. Genes Dev. 2015; 29(19):2037–53.

  13. Chen W, Tran H, Liang Z, Lin H, Zhang L. Identification and analysis of the N(6)-methyladenosine in the Saccharomyces cerevisiae transcriptome. Sci Rep. 2015; 5:13859.

    Article  Google Scholar 

  14. Chen W, Feng P, Ding H, Lin H, Chou KC. iRNA-Methyl: Identifying N(6)-methyladenosine sites using pseudo nucleotide composition. Anal Biochem. 2015; 490:26–33.

    Article  CAS  Google Scholar 

  15. 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(10):91.

    Article  Google Scholar 

  16. Alipanahi B, Delong A, Weirauch MT, Frey BJ. Predicting the sequence specificities of DNA- and RNA-binding proteins by deep learning. Nat Biotechnol. 2015; 33(8):831–8.

    Article  CAS  Google Scholar 

  17. Zhou J, Troyanskaya OG. Predicting effects of noncoding variants with deep learning-based sequence model. Nat Methods. 2015; 12(10):931–4.

    Article  CAS  Google Scholar 

  18. Quang D, Xie X. DanQ: a hybrid convolutional and recurrent deep neural network for quantifying the function of DNA sequences. Nucleic Acids Res. 2016; 44(11):107.

    Article  Google Scholar 

  19. Zhang C, Chen Y, Sun B, Wang L, Yang Y, Ma D, Lv J, Heng J, Ding Y, Xue Y, Lu X, Xiao W, Yang YG, Liu F. m6A modulates haematopoietic stem and progenitor cell specification. Nature. 2017; 549(7671):273–6.

    Article  CAS  Google Scholar 

  20. Dominissini D, Moshitch-Moshkovitz S, Salmon-Divon M, Amariglio N, Rechavi G. Transcriptome-wide mapping of N(6)-methyladenosine by m(6)A-seq based on immunocapturing and massively parallel sequencing. Nat Protoc. 2013; 8(1):176–89.

    Article  CAS  Google Scholar 

  21. Zhang Y, Liu T, Meyer CA, Eeckhoute J, Johnson DS, Bernstein BE, Nusbaum C, Myers RM, Brown M, Li W, Liu XS. Model-based analysis of ChIP-Seq (MACS). Genome Biol. 2008; 9(9):137.

    Article  Google Scholar 

  22. Liu H, Wang H, Wei Z, Zhang S, Hua G, Zhang SW, Zhang L, Gao SJ, Meng J, Chen X, Huang Y. MeT-DB V2.0: elucidating context-specific functions of N6-methyl-adenosine methyltranscriptome. Nucleic Acids Res. 2018; 46(D1):281–7.

    Article  Google Scholar 

  23. Fu L, Niu B, Zhu Z, Wu S, Li W. CD-HIT: accelerated for clustering the next-generation sequencing data. Bioinformatics. 2012; 28(23):3150–2.

    Article  CAS  Google Scholar 

  24. LeCun Y, Bengio Y, Hinton G. Deep learning. Nature. 2015; 521(7553):436–44.

    Article  CAS  Google Scholar 

  25. Hochreiter S, Schmidhuber J. Long short-term memory. Neural Comput. 1997; 9(8):1735–80.

  26. Srivastava N, Hinton G, Krizhevsky A, Sutskever I, Salakhutdinov R. Dropout: A simple way to prevent neural networks from overfitting. J Mach Learn Res. 2014; 15(1):1929–58.

    Google Scholar 

  27. Lanchantin J, Singh R, Wang B, Qi Y. Deep motif dashboard: visualizing and understanding genomic sequences using deep neural networks. Pac Symp Biocomput. 2017; 22:254–65.

    PubMed  PubMed Central  Google Scholar 

  28. Gupta S, Stamatoyannopoulos JA, Bailey TL, Noble WS. Quantifying similarity between motifs. Genome Biol. 2007; 8(2):24.

    Article  Google Scholar 

  29. Liu N, Zhou KI, Parisien M, Dai Q, Diatchenko L, Pan T. N6-methyladenosine alters RNA structure to regulate binding of a low-complexity protein. Nucleic Acids Res. 2017; 45(10):6051–63.

    Article  CAS  Google Scholar 

  30. Edupuganti RR, Geiger S, Lindeboom RGH, Shi H, Hsu PJ, Lu Z, Wang SY, Baltissen MPA, Jansen PWTC, Rossa M, Muller M, Stunnenberg HG, He C, Carell T, Vermeulen M. N6-methyladenosine (m6A) recruits and repels proteins to regulate mRNA homeostasis. Nat Struct Mol Biol. 2017; 24(10):870–8.

    Article  CAS  Google Scholar 

  31. Batista PJ, Molinie B, Wang J, Qu K, Zhang J, Li L, Bouley DM, Lujan E, Haddad B, Daneshvar K, Carter AC, Flynn RA, Zhou C, Lim KS, Dedon P, Wernig M, Mullen AC, Xing Y, Giallourakis CC, Chang HY. m(6)A RNA modification controls cell fate transition in mammalian embryonic stem cells. Cell Stem Cell. 2014; 15(6):707–19.

    Article  CAS  Google Scholar 

  32. Castro-Mondragon JA, Jaeger S, Thieffry D, Thomas-Chollier M, van Helden J. RSAT matrix-clustering: dynamic exploration and redundancy reduction of transcription factor binding motif collections. Nucleic Acids Res. 2017; 45(13):119.

    Article  Google Scholar 

  33. Min X, Zeng W, Chen N, Chen T, Jiang R. Chromatin accessibility prediction via convolutional long short-term memory networks with k-mer embedding. Bioinformatics. 2017; 33(14):92–101.

    Article  Google Scholar 

Download references


YZ and MH are grateful to Tsukasa Fukunaga and Chao Zeng for valuable discussions.


Publication costs are funded by Waseda University [basic research budget]. This study was supported by the Ministry of Education, Culture, Sports, Science and Technology (KAKENHI) [grant numbers JP17K20032, JP16H05879, JP16H01318, and JP16H02484 to MH].

Availability of data and materials

The datasets and materials can be downloaded from

About this supplement

This article has been published as part of BMC Bioinformatics Volume 19 Supplement 19, 2018: Proceedings of the 29th International Conference on Genome Informatics (GIW 2018): bioinformatics. The full contents of the supplement are available online at

Author information

Authors and Affiliations



MH conceived and supervised this study. YZ developed the pipeline and conducted all the computational experiments. YZ and MH contributed to the analysis and interpretation of the data. YZ drafted the manuscript, and MH revised it critically. All the authors read and approved the final manuscript.

Corresponding author

Correspondence to Michiaki Hamada.

Ethics declarations

Ethics approval and consent to participate

Not applicable.

Consent for publication

Not applicable.

Competing interests

The authors declare that they have no competing interests.

Publisher’s Note

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

Additional files

Additional file 1

Table S1. Optimization of hyperparameters of DeepM6ASeq. Table S2. Hyperparameter optimization for other classifiers. Table S3. Metrics of mean performance for tuning of hyperparameters. Table S4. Performance metrics for comparison of DeepM6ASeq with other classifiers on the mammalian unbalanced independent dataset. Table S5. Prediction scores at different confidence thresholds for species models. (PDF 100 kb)

Additional file 2

Figure S1. Performance of the mammalian model on the mammalian validation dataset. Figure S2. Cross-species performance. Figure S3. The clusters of learned motifs from RSAT for human, mouse and zebrafish. Figure S4. A comparison of percentages of potential bins in different categories for human, mouse and zebrafish. Figure S5. The distribution of nucleotide types of the most salienct nucleotides. Figure S6. The distribution of distances from the most salient non-A nucleotides to mapped miCLIP m6A. Figure S7. The distribution of the most salient As. (PDF 469 kb)

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (, which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The Creative Commons Public Domain Dedication waiver ( applies to the data made available in this article, unless otherwise stated.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Zhang, Y., Hamada, M. DeepM6ASeq: prediction and characterization of m6A-containing sequences using deep learning. BMC Bioinformatics 19 (Suppl 19), 524 (2018).

Download citation

  • Published:

  • DOI: