Skip to main content

NSMAP: A method for spliced isoforms identification and quantification from RNA-Seq



The development of techniques for sequencing the messenger RNA (RNA-Seq) enables it to study the biological mechanisms such as alternative splicing and gene expression regulation more deeply and accurately. Most existing methods employ RNA-Seq to quantify the expression levels of already annotated isoforms from the reference genome. However, the current reference genome is very incomplete due to the complexity of the transcriptome which hiders the comprehensive investigation of transcriptome using RNA-Seq. Novel study on isoform inference and estimation purely from RNA-Seq without annotation information is desirable.


A N onnegativity and S parsity constrained M aximum A P osteriori (NSMAP) model has been proposed to estimate the expression levels of isoforms from RNA-Seq data without the annotation information. In contrast to previous methods, NSMAP performs identification of the structures of expressed isoforms and estimation of the expression levels of those expressed isoforms simultaneously, which enables better identification of isoforms. In the simulations parameterized by two real RNA-Seq data sets, more than 77% expressed isoforms are correctly identified and quantified. Then, we apply NSMAP on two RNA-Seq data sets of myelodysplastic syndromes (MDS) samples and one normal sample in order to identify differentially expressed known and novel isoforms in MDS disease.


NSMAP provides a good strategy to identify and quantify novel isoforms without the knowledge of annotated reference genome which can further realize the potential of RNA-Seq technique in transcriptome analysis. NSMAP package is freely available at


More than 90% of human genes [1, 2] are estimated to be alternatively spliced which leads a single gene to produce multiple proteins with distinct functions and is implicated in many diseases including cancer [3]. In recent years, there is an increasing interest in the use of alternative splicing in developing diagnostic tools and in identifying new therapeutic targets [4]. Microarrays have been widely used to analyze alternative isoforms by combining exon arrays and exon junction arrays to quantify isoform level expression indexes [5, 6]. However, array based techniques are encountering several fundamental problems such as cross hybridization and weak signals in junction probes which are difficult to overcome [7]. Ultra high-throughput sequencing of RNA has been developed as an approach for transcriptome analysis in several different species and has offered an attractive approach to measure transcription in a comprehensive manner. RNA-Seq allows the direct detection of alternative splicing using the reads mapped at splice junctions including the novel splicing without the annotation information. Genome-wide measurements of transcriptomes are increasingly done by RNA-Seq which provides a far more precise measurement of expression levels of isoforms than other methods [8].

The rapidly-developing RNA-Seq techniques require substantial algorithmic advances. Several tools and strategies have been proposed to deal with the complex bioinformatics analysis of RNA-Seq [912]. Pepke et al.[13] provided a comprehensive and up-to-data review of multi-layered analyses of RNA-Seq data. Mortazavi et al.[10] proposed to quantify the gene level expression of a transcript as Reads Per Kilobase per Million mapped reads (RPKM). Further, Jiang and Wong [14] presented a statistical model to describe how the isoform expression levels were calculated from the number of reads mapped to the annotated exons of a gene. Meanwhile, Bohnert et al.[15] also proposed rQuant to determine the abundances for each annotated isoforms by minimizing the deviation of the observation from the expected position-wide read coverage. All these methods assumed that the number and structures of isoforms of each gene are known from the reference genome. However, as Jiang and Wong [14] pointed out, the isoform level annotation is very incomplete due to the complexity of the transcriptome and the limitations of previous experimental approaches. To address this issue, Trapnell et al. proposed Cufflinks [16] to identify transcripts as well as to estimate the expression levels of identified transcripts from mapped reads without annotation information. In essence, Cufflinks constructs a covering relation on the read alignments from TopHat [12], and find a minimum path cover on the directed acyclic graph for the relation based on Dilworth's Theorem [17] to construct a parsimonious set of transcripts. After that, the expression levels of those constructed transcripts are estimated using established known isoform expression estimation methods [9, 14]. Therefore, the construction of transcripts in Cufflinks is independent of the expression level estimation. However, the construction of expressed transcripts and expression level estimation are highly associated. We argue that the determination of parsimonious set of expressed transcripts and expression level estimation should be implemented jointly. Though Scripture [18] can also detect the novel isoforms, the issue of parsimonious expressed isoforms is not addressed. We also notice that Feng et al. proposed IsoInfer [19] to identify isoforms using the detected junctions. The candidate isoforms were constructed by combining the putative exons followed by selecting a minimum best subset from all the enumerated subsets of the candidate isoforms which can explain the observation best. However, enumerating all possible subsets of the candidate isoform set with a given size is often infeasible. IsoInfer decomposes the large putative exon set into subsets to address this issue which introduces more parameters.

Here, we put forward NSMAP to infer the structures of isoforms as well as to estimate the expression levels simultaneously. First, the exons are constructed based on the detected splicing junctions from RNA-Seq data using TopHat. All the possible isoforms are enumerated by combination of those detected exons. Then NSMAP is applied to identify the true expressed isoforms from the large candidate isoform set as well as to estimate the expression levels with a sparsity control term to restrict the number of expressed isoforms. The assumption behind this sparsity term is that only as few isoforms as possible should be selected to best explain the observed number of reads falling on each exon of a gene. Finally, a model selection step is conducted to select the solution which compromises the fitting of the observation and the number of expressed isoforms best. In summary, our algorithm allows for discovering the structures of the expressed isoforms of a given gene and for estimating the concentration of each spliced isoform simultaneously without the annotated isoform information, which makes the identification of new, previously unknown, alternatively spliced isoforms possible. This study will help RNA-Seq, a next generation sequencing technology, advance to its full potential in comprehensive transcriptome analysis.


Data set

We test NSMAP on two simulations with simulated expression levels derived from two publicly available mouse RNA-Seq as described in [10]. We also apply NSMAP on three real in-house RNA-Seq data sets of myelodysplastic syndromes (MDS) transcriptome analysis to identify isoforms including novel ones featured in MDS disease. MDS are a diverse collection of hematological conditions united by ineffective production of myeloid blood cells and risk of transformation to acute myelogenous leukemia whose frequency and incidence are increasing in the US population [20]. In our application, cryopreserved marrow cells and paraffin embedded marrow clot sections and marrow core biopsies from 2 MDS patients as well as 1 age-matched control sample are being studied by Dr. Jeff Chang's lab at the Methodist Hospital. These MDS patients have been thoroughly evaluated for clinical/morphologic/immunophenotypic data and characterized clinically by transfusion dependency and pathologically by significant dysplasia, increased blasts, and immunophenotypic aberrancy. The control sample are obtained from patients without cytopenias (> 60 years old). We specifically selected these controls to be age-matched for the MDSs population to control for the possibility of aging-related changes in the expression profile mRNA of hematopoietic cells. Then we apply the RNA-Seq protocol to sequence our samples. We sequenced the two MDS clinical samples and one normal sample using Illumina Genome Analyzer II. There are around 40 million single-end reads with read length 76 bp for each sample.

Algorithm Summary

NSMAP comprise four consecutive steps, starting with junction detection and reads mapping using TopHat [12] and followed by the candidate isoforms construction, expressed isoform identification and expression level estimation along whole regularization path and model selection to select the best solution from the whole solution path. Short reads alignment is the first step in understanding next-generation sequencing data and many free alignment software packages are available [21, 22]. Here we use TopHat to perform the alignment task which can detect the junctions and map a massive amount of reads to the whole genome flexibly and efficiently. The reference genome sequences are downloaded from UCSC genome database [23]. After read alignment, the next step is to generate the candidate isoforms according to the alignment and splice junctions obtained from TopHat.

Candidate isoforms construction

Based on the alignment results and detected junctions from TopHat, the exons can be constructed from segments whose two ends have been detected as junction points. For example, Figure 1(a) mimics a gene with nine exons constructed from the detected junctions in a gene region. The isoforms are formed from combination of those exons. Each rectangle represents an exon and arrow line indicates that there is a splice junction detected between the two exons. This can be interpreted as a directed graph with each exon as nodes. Each candidate isoform can be generated by finding a path between two nodes on this graph. For instance, Figure 1(b) displays the possible isoforms with exon 1 and 9 as source and sink respectively. There are total four paths connecting exon 1 and 9 as indicated in Figure 1.

Figure 1

The construction of exons and isoforms from the alignment result of TopHat. (a) 9 exons are constructed from the alignment result of TopHat where the dotted line means a junction detected by a read and one arrow line represents a detected junction between two exons; (b) four possible isoforms constructed from source exon 1 to sink exon 9 using path finding algorithms from graph theory where l, x and ϕ indicate the exon length, the number of reads falling on this exon and the unknown abundance of each isoform, respectively.

Isoform Expression level estimation

Given the candidate isoforms constructed from last step, we need to select the expressed isoforms from this candidate set as well as to estimate the express level of selected isoforms. We adapted the expression level estimation framework of Jiang and Wong [14] by incorporating a sparsity regularization term. For a gene g, suppose it has m exons with lengths [L = l1,...,l m ] and n isoforms with expression Φ = [ϕ1,...,ϕ n ]. Assuming each exon can be either included in an isoform or not, we have a set of observations , where is an index set of events which we are interested in. Each observation X s X is a random variable representing the number of reads falling into a certain region of interest in gene g. For example, reads falling into certain exon or exon-exon junction.

The natural statistical model of count data is the Poisson distribution. Each X s X follows Poisson distribution with a parameter λ which is the expected count or the mean parameter of the Poisson distribution. For instance, the λ for the number of reads falling into exon j is , where N is the total number of mapped reads and c ij is 1 if isoform i contained exon j and 0 otherwise. For a exon-exon junction event, the λ is , where l is the length of the junction region, j and k are indexes of the two exons involved in the junction being investigated.

In general, λ s is a linear function of ϕ1,ϕ 2,..,ϕ n , i.e. where a si is a known coefficient. The likelihood function is

Maximum likelihood estimation (MLE) method can be used to estimate Φ by maximizing above likelihood function [14]. However, in the work of Jiang and Wong [14], the structure of individual isoform is fetched from the reference genome where only a few of isoforms are known for each gene. In our application, the structures of expressed isoforms are unknown which need to be selected from the large candidate isoform set where each isoform is formed by combination of detected exons. To do this, the most important prior information is arguably sparsity; that is, characteristic pattern of each gene in cells are expressed by very few isoforms, even though the total number of possible combinations of exons in a gene can be large. Utilization of this sparsity information is crucial to the success of finding the most relevant isoforms which explain the observed reads best, in the face of "insufficient" data and/or data uncertainty [24]. To incorporate this sparsity to our model, we propose a prior Laplace distribution on Φ as below:

Laplace distribution assigns higher probability at zero than Gaussian distribution to produce sparser solution and has been widely used to encode sparseness prior [25]. Hence we can employ maximum a posteriori (MAP) instead of maximum likelihood to estimate Φ:

Taking logarithm on the above equation, we get

Keep in mind that the expression of each isoform cannot be negative, that is ϕ i ≥ 0 (ϕ i Φ), F(Φ) can be rewritten as:

where ϕ i ≥ 0 for i = 1,...,S and S is the number of events with which we are interested. Maximizing F(Φ) with respect to Φ is equivalent to minimizing

To that end, the optimization problem is summarized as:


We call this Nonnegativity and Sparsity constrained MAP model as NSMAP. Laplace prior distribution has a L1 norm term to impose the sparsity. In some cases of our experiment, we find it may not work well in the identification of the correct expressed isoforms due to the similarities between the isoforms. The ideal sparsity constraint is the L0 regularization, defined as the number of non-zero entries in a vector. Unfortunately, the computation of L0 regularization is intractable to solve. L1 norm is popular because of its intrinsic convex property. Some recent works suggest that non-convex regularizations such as L p regularization with 0 < p < 1 have better performances in parameter selection and sparse signal construction [26] than L1 regularization. This inspires us to use a stronger sparsity constraint with L p , 0 < p < 1 norm to solve our problem. We will implement a simulation study to compare the performances of sparsity regularizations with different p. In our experiment, we set p = 0.5. So the objective function is finally given by:


where and .

Then the expression levels of all the candidate isoforms can be obtained by optimizing Equation (1) with a given t. When t → +∞, the solution equals zero without expressed isoforms. With the decreasing of t, some elements of will be non-zero to become expressed isoform. So we have to select an optimal t. Before doing this, we will calculate the solution path which consists of solutions corresponding to different values of t. BLasso [27] is adapted to approximate this solution path efficiently (see Methods).

Model selection from solution path

After getting the solution path which consists of solutions corresponding to different values of t, we have to select the best solution (model) from this solution path which makes a good balance between the number of expressed isoforms and the fitting function in equation (2). The solution path will first be grouped into subsets with increasing model size according to the number of expressed isoforms of each solution (the number of positive components of ). Here the model size means the number of expressed isoforms. Then the solution with minimal in each group is selected as the best solution for each model size. Starting from model size 1, we compare the of current model size with the next model size which have one more expressed isoforms. If is significantly improved by the larger model size, the model with larger model size will be updated to the current model and compared with the remaining models with larger model size than the updated model. Otherwise the solution corresponding to the current model size is selected as the final solution. In this way, the solution with smaller number of expressed isoforms will be selected preferably. See the Methods for more detail.

Simulation on the whole genome with different L p norm in equation (2)

In the absence of RNA-Seq data from samples for which we have ground truth isoform quantities, we conduct simulations to validate our method and evaluate its performance in terms of isoform identification and expression levels estimation with p = 1 and p = 0.5.

We first derive expression level of each isoform from the mouse brain and liver RNA-Seq data sets described in [10] using the Poisson model of [14] with the mouse UCSC Genes as the annotated reference genome database. Those derived expression levels are employed as the ground truth to perform the following simulations. Which exon or splice region the read will fall on is determined by uniformly sampling proportional to the simulated ground truth RPKM and the same mapped reads number of each gene in the real data. After uniformly sampling and counting reads number, we can identify isoform structures and their concentrations from the simulated RNA-Seq reads data and evaluate the performance of NSMAP with the simulated ground truth.

We only consider isoforms with expression levels no less than 1 RPKM as expressed isoforms. In this simulation, constructed isoforms containing more than half of the total exons are eligible as the candidate isoforms. The accuracy of NSMAP largely depends on the critical step of candidate isoform generation. So, we check whether our candidate isoforms generated from the exon reads and exon junctions can cover the true expressed isoforms. From Table 1 we see that more than 96% of expressed isoforms in the two data sets are included in the candidate isoforms generated by our strategy which finds paths on a graph constructed from exons and splice junctions.

Table 1 The percentage of expressed isoforms with RPKM ≥1 included in the candidate isoform set.

We further compute the fraction of isoforms for which the estimates are significantly consistent with the simulated ground truth (percent error = ). We refer to this statistic as the positive fraction[9]. Given the positive isoforms which are within the 5% deviation from the ground truths, overall specificities of the two simulations are also calculated by setting the truly expressed isoforms with RPKM no less than 1 as positive isoforms and the false reported isoforms by NSMAP and truly expressed isoforms with RPKM < 1 as negative isoforms.

The results are summarized in Table 2. We can see that NSMAP achieved near 80% overall positive fraction in both simulations. And highly expressed isoforms (with high RPKM) have high positive fraction. While for isoforms with low RPKM, the accuracy is not very good because the number of reads falling on this isoform is small which may not be sufficient to capture the exons and splice junctions to form this isoform. This phenomenon is consistent with other studies [28] that the estimation on the low abundance isoform is not very accurate.

Table 2 Positive fraction and specificity of the estimation results of NSMAP on the two simulated data sets.

Comparing the performances of NSMAP with p = 0.5 and p = 1, we notice that L p norm with p = 0.5 provides better results than p = 1 in the simulations. To explain this observation, we conduct the following experiment and give a mathematical interpretation of the two L p norms.

Demonstrations of features of L p norm with p= 0.5 and p= 1

First, we exemplify our observation in the above simulation that L p norm with p = 0.5 is better than p = 1 through a simulation using the structure of gene Eif5a. In the UCSC genome annotation, gene Eif5a has 14 exons and 9 known isoforms. We set both RPKM expression levels of the fifth and sixth isoforms as 150 because the two isoforms express most from the estimation using the method of [14] on the mouse brain and liver RNA-Seq data in [10]. The simulation is performed based on the expression levels and structures of the two expressed isoforms under the uniform distribution for reads. Based on the simulation data, total 71 candidate isoforms is constructed. The indexes of the two truly expressed isoforms in the candidate set are 7 and 11, respectively. From the upper row of Figure 2, we can see that the two expressed isoforms are selected correctly when p = 1/2, while in the case of p = 1, additional two false unexpressed isoforms (with indices of 8 and 10) are also selected.

Figure 2

Simulation experiments with different L p norm. Upper Row: Solution paths generated by BLasso for NSMAP with different p norm on the simulated data on the gene Eif5a. The Y-axis is the estimated isoform concentrations ranging [0,300]. The X-axis for two figures in upper panel is . Lower Row: The probability density functions of Laplace distribution and a Laplace-like distribution with L1/2 norm P(x)exp(-||x||1/2); both of them have unit variances.

Then, the lower row of Figure 2 shows the mathematical properties of the two norms. L1/2 norm regularization has more similar sparsity property with L0 norm than L1 norm because the points with high probabilities in the Laplace-like distribution with L1/2 norm are more focusing around the axes than those in the Laplace distribution. This means L1/2 norm regularization imposed stronger sparsity than L1 norm. The simulation depicts the stronger sparsity constraint by setting p = 1/2 is superior to Laplace priori distribution with p = 1 in our application. In the following experiments, we select the L p norm with p = 1/2.

Comparison with IsoInfer on two RNA-Seq data sets of MDS samples

Here we compare NSMAP with IsoInfer which have similar ideas in isoform construction from putative exons and minimum expressed isoform set selection. However, IsoInfer selects a subset as expressed isoforms from candidate isoform set by enumerating all the possible subsets of the candidate isoform set. In NSMAP, the selection of expressed isoforms is embedded into the isoform expression level estimation framework by incorporating a sparsity control term.

A transcript can be constructed from all the exon-intron boundaries as well as the transcription start site (TSS) and poly-A site (PAS) of an isoform. The exon-intron boundaries can be inferred from RNA-Seq using alternative splicing detection tool, such as TopHat and SpliceMap [29]. The TSS and PAS represent the start and end expressed segments of a transcript, respectively. Theoretically, any expressed segments can be the TSS or PAS which will introduce many false short isoforms to make isoform inference difficult. We prefer to retrieve the TSS-PAS from the UCSC known isoform table as the starts and ends of predicted transcripts and to identify isoforms within the regions of known genes whose functions and pathways are intensively studied. IsoInfer (version 0.9.1) and NSMAP will use those TSS-PAS and the detected junctions using TopHat to infer the expressed isoforms from RNA-Seq. Because it is infeasible to validate all the predicted isoforms, we evaluate the two methods by comparing their predictions with UCSC known isoform data set. The performance of the method is measured by sensitivity and precision. Here we use hg19 known human isoforms data set downloaded from UCSC which contains 77,614 transcripts. A known isoform is identified if it is in the prediction result of a method. Sensitivity is defined as the number of identified isoforms divided by the number of all known isoforms from UCSC data base. Precision is defined as the number of identified known isoforms divided by the number of predicted isoforms by the method.

Table 3 summarizes the results of the two methods as well as their performances. Though NSMAP predicted less known isoforms than IsoInfer, NSMAP achieves higher precision than IsoInfer. Most of the known isoforms which are predicted by both methods are common. For example, in MDS sample 1, 857 of 1128 known isoforms predicted by IsoInfer are also identified by NSMAP. This is reasonable because NSMAP and IsoInfer have similar ideas in isoform construction from putative exons and minimum expressed isoform set selection. Figure 3 shows a known and a novel isoform predicted by both NSMAP and IsoInfer where the novel isoform is very consistent with the read coverage from RNA-seq data.

Table 3 The performance of IsoInfer and NSMAP on two RNA-Seq data of MDS samples by comparing the results with the UCSC known isoforms.
Figure 3

The prediction results of NSMAP and IsoInfer on a genome region based on MDS sample 1. (a)Detected Junctions using TopHat; (b) Read coverage of the real data on this region (chr13:29233240-29253091); (c) Two isoforms predicted by NSMAP and IsoInfer. One is novel and another one is annotated by UCSC known isoforms (d) The known isoform (gene POMP) on this region.

However, IsoInfer selects a subset as expressed isoforms from candidate isoform set by evaluating all the possible subsets of the candidate isoforms. In NSMAP, the selection of expressed isoforms is embedded into the isoform expression level estimation framework by incorporating a sparsity control term. In this way, the selection of expressed isoforms is automatic and more efficient than testing all the possible sub sets of the candidate isoforms.

We also notice that more known isoforms are predicted in MDS sample 2 than MDS sample 1, because there are more reads are mapped in MDS sample 2. This observation tells us that deeper sequencing will improve the performances of IsoInfer and NSMAP.

Here, the sensitivities of the two methods are very low. The reason is that we compare the predicted isoforms with the large UCSC known isoform set. Some of the UCSC known isoforms may not express in the sample. So the effective sensitivities will be larger than those numbers. This comparison against UCSC known isoform data set does not mean all the predicted isoforms without annotation are false. Especially those predicted novel isoforms with high RPKM are promising to be true novel isoforms. For example, if we select the predicted isoforms with expression level larger than 100 RPKM, in MDS sample 1 and 2, 37 out of 67 and 53 out of 105 predicted isoforms by NSMAP will be annotated in the UCSC known isoforms table. And the lowly expressed isoforms have higher probability to be false positive or artifacts due to the insufficient reads for capturing the true structure of an isoform. So we need to set an expression level threshold to refine the predicted isoforms. This issue is addressed in the following section.

Example of identified isoforms using NSMAP and Expression Level Threshold Selection

Here we exemplify isoforms of a gene TCF20 estimated by NSMAP. TCF20 encodes protein transcription factor 20 which localizes to the nucleus and displays DNA-binding and transactivation activities. TCF20 has five exons and alternative splicing results in two known transcript variants encoding different isoforms in the UCSC reference genome (Figure 4(d)). The RNA-Seq data is first processed by TopHat to detect the splicing junctions. Figure 4(a) shows the splicing junctions of TCF20 on MDS sample 1 detected by TopHat. Then nine exons are constructed based on detected junctions in Figure 4(b). NSMAP predicts three isoforms with expression level 0.1, 3.0 and 3.5 respectively (Figure 4(c)). Compared with the annotated isoforms of TCF20 (Figure 4(d)), we confirm that the top two highly expressed predictions are the same with the annotations. This example demonstrates the ability of NSMAP in isoform identification.

Figure 4

Take gene TCF20 as an example to demonstrate the procedure and prediction result of NSMAP. (a)The region of gene TCF20 and the detected splicing junctions using Tophat. (b) The constructed exons based on the detected splicing junctions for gene TCF20. The number in the parentheses of the each left label is the number of reads falling on the corresponding exon. (c) NSMAP predicts three isoforms for TCF20 with expression levels in the parentheses. (d) The two annotated isoforms of gene TCF20 in the UCSC reference genome.

However, NSMAP still predicts an additional lowly expressed isoform (0.1 RPKM) which is not annotated in the UCSC known isoform. Higher expression level of an isoform means more reads will be sampled from this isoform to capture the structure of this isoform. So the predicted isoforms with low expression levels have more probability to be artifacts. We need an expression level threshold T to exclude those lowly expressed isoforms. The selection of T is a trade-off between sensitivity and specificity. The smaller the value T is, the higher sensitivity but lower specificity the result will achieve. Because there is no ground truth for the predicted novel isoforms, we set the predicted isoforms which are annotated by the UCSC known isoforms as positive, others as negative. To determine this value, we explore the ROC curve of the prediction result of MDS sample 1 where the TCF20 in Figure 4 comes from. The ROC curve and selected threshold of the prediction result of NSMAP on the MDS sample 1 are depicted in Figure 5. The optimal threshold T in this ROC curve is 1.216. The intuition of this optimal threshold is that at this point, the increase rate of sensitivity equals to the increase rate of (1-Specificity). When the threshold is infinite, both sensitivity and (1- Specificity) are 0. With the decrease of threshold T, both sensitivity and (1-specificity) will increase. But the increase rate of sensitivity is larger than that of (1-specificity) until T reduces to the point 1.216. After that point, the increase rate of (1-specificity) will be larger than sensitivity. (1-specificity) actually is the false positive rate. We prefer higher sensitivity and lower false positive rate. So we select this point as the optimal point.

Figure 5

ROC curve of the prediction of NSMAP on MDS sample 1 and the selected expression level threshold.

In the predicted isoforms of gene TCF20 in Figure 4, the two annotated isoforms have expression levels 3.0 and 3.5, respectively, which are above the selected threshold T = 1.216. While the expression level of the un-annotated isoform is 0.1 which is obviously under this threshold. In this way, we perform a further refinement of the prediction result. In the following real data analysis, we only consider NSMAP predicted isoforms which are larger than the optimal expression level threshold in each sample.

Clinical MDS sequencing data analysis

The goal is to use our NSMAP to identify known and novel isoforms which may be related with MDS. We apply NSMAP on the alignment results of the three data sets from TopHat to identify the expressed isoforms and their expression levels. The predicted isoforms are compared with the UCSC annotated reference genes to distinguish the known and novel isoforms.

For the known isoforms, we select the differentially expressed isoforms with fold change greater than 2 on both disease samples compared with the control sample. We also select MDS featured novel isoforms which are detected in both MDS samples but are absent in the normal sample. Finally, we get total 785 differentially expressed known isoforms and 128 novel isoforms with RPKM over 5. The two selected isoform sets were fed into Ingenuity Pathways Analysis (IPA) [30] respectively. IPA is a database search tool for finding function and pathway for specific biological states. Here we used IPA to explore the pathways enriched in the two selected isoform sets. The top 4 enriched canonical pathways of the two analyses are listed in Table 4 where mitochondrial dysfunction is both enriched in the known and novel differentially expressed isoform sets which is known to closely related with MDS [31]. The Oxidative phosphorylation and mitochondrial dysfunction are enriched by both differentially expressed isoform sets which mean the novel differentially expressed isoforms have similar biological functions with the differentially expressed known isoforms. That observation indicates the prediction of novel isoforms is consistent with the known isoforms.

Table 4 The top 4 enriched canonical pathways from Ingenuity Pathways Analysis of the differentially expressed known isoforms and novel isoforms.


Through simulations that closely modelled real data, we confirm our method's effectiveness for experiments in both mouse brain and liver RNA-Seq data. We also compare NSMAP with IsoInfer to show that NSMAP has comparable performance in identifying known isoforms from RNA-Seq reads. Finally, we apply NSMAP on our MDS RNA-Seq data analysis and find some differentially expressed known isoforms and novel isoform candidates which involve in some MDS related pathways.

Recently, Lacroix et al.[32] showed that unique solution cannot be guaranteed theoretically in isoform identification from short sequence reads. For example, in our case, all possible transcript isoforms are enumerated according to the detected junction reads. Among these isoforms, one truly expressed isoform may be linear combinations of the other isoforms in terms of exon arrangements. Then the solution of this case is not unique. The assumption of NSMAP to address this issue is that the solution which employs as few expressed isoforms as possible to explain the most observation is preferred. Though this assumption is identical to the assumption made by Cufflinks, the implementation of this assumption in NSMAP is totally different from Cufflinks. Cufflinks constructed a parsimonious set of transcripts followed by the expression level estimations of those constructed transcripts using established expression level estimation model. However, NSMAP enumerates all the possible isoforms formed by the combinations of identified putative exons from TopHat and incorporates a prior distribution into the expression level estimation model to control the number of expressed isoforms. That means the identification of expressed isoforms and the expression level estimations of those identified isoforms are done jointly in NSMAP.

Paired-end sequencing can dramatically improve the accuracy of isoform level expression estimation which is becoming ubiquitous. Recently, Salzman et al.[33] proposed "insert length model" to extend Jiang and Wong's single-end sequencing work [14] to paired-end sequencing analysis by modeling the insert length distribution. So we can use this idea to handle paired-end sequencing data in our current framework.

Paired-end sequencing can dramatically improve the accuracy of isoform level expression estimation which is becoming ubiquitous. In paired end sequencing, only the fragments in a specified range will be selected. Several papers have used this information by modeling the fragment length distribution to improve isoform deconvolution problem [16, 34]. Salzman et al. [33] proposed "insert length model" to extend Jiang and Wong's single-end sequencing work [14] to paired-end sequencing analysis by modeling the fragment length distribution. So we can use this idea to handle paired-end sequencing data in our current framework. In paired-end sequencing, Salzman et al. defines a si = q(f si )N for an event s where the mate reads are mapped into two specified positions on genome. Here f si is the length of corresponding fragment on the i-th transcript and q(f) is the probability of observing a fragment with length f. In practice, q(f) can be approximated by the empirical probability mass function computed from all the mapped paired-end reads. In order to reduce the number of events, the minimal sufficient statistics is used to group the events into minimal categories for computational purpose. In this way, we can incorporate the paired-end information into our model by redefining a si to address paired-end sequencing data.

Currently, NSMAP uses the TSS and PAS retrieved from UCSC known isoforms. We will extend it to identify TSS and PAS from RNA-seq by the following scheme. If the start point of a putative exon is not a junction point, this putative exon can be regarded as TSS. And if the end point of a putative exon is not a junction point, this putative exon can be regarded as PAS. Here junction point means this point is the start or end of a splicing junction.

As our primary motivation is to design a method to identify the isoform structure without annotated reference isoform genome, the usefulness of NSMAP is largely dependent on the expression levels of true isoforms and splicing junction detection. We believe that the accuracy of this approach will increase significantly as the sequencing technology evolves such as paired-end sequencing technique and generates longer sequences with less noise and higher throughput.


In this paper, we propose a statistical model NSMAP for RNA-Seq data analysis which can be used to identify and quantify isoforms simultaneously without isoform annotations from reference genome.



We must select a particular value of t at which the estimation is optimal. Before that, the solutions corresponding to different values of t should be calculated. Efron et al.[35] proposed an efficient algorithm LARS to determine the exact piecewise linear coefficient paths for the lasso. Unlike lasso, the path of our solution is not piecewise linear. To address this non-piecewise solution issue, we modify the BLasso [27] to get the solutions corresponding to different t. The basic ideal of BLasso is to correct the forward stage-wise boosting algorithm by allowing backward steps whenever a stop in forward stage-wise boosting fitting deviates from that of the lasso.

Optimization: Generalized BLasso for NSMAP:

  • Step 1(Initialization) Given a small step-size constant ε > 0 and a small tolerance parameter ξ ≥ 0, take an initial forward step on L(0)) in equation (2). We define Φ(0)m 1 j .

Herein because of the non-negative constraint and 1 j is a n-dimensional standard basis vector with all 0's except for a 1 in the j th entry. So where L(Φ) is defined in equation (2). Then calculate the initial regularization parameter

We use I A to represent the active index set. Set the initial active set and k = 0.

  • Step 2 (Steepest descent step). Find the steepest coordinate descent direction on J(Φ;t) in equation (2):

Take the step if it leads to a decrease of moderate size ξ in the objective function J(Φ;t):



Otherwise, adjust to minimize L(Φ) in equation (2) and recalculate the regularization parameter t:

Update whose elements are the indexes of the positive entries of .

  • Step 3 (iteration). Increase k by one and repeat Step 2 until t(k) ≤ 0.

Computationally, BLasso takes roughly O(1/ε) steps to produce the whole path [27]. The actual computation complexity depends on the actual objective function and minimization method used in each step when calculating . In the following experiments, is set as 0.1 and ξ = 1e - 10.

Model selection and expression level estimation

A sequence of solutions corresponded to the decreasing t during iterations where K is the number of iterations. Each regularization parameter t(k) has a solution with several isoforms selected as active. There is only one selected isoform in when t is on its largest value t(0). With the decreasing of t, more isoforms are selected into the active set and the number of expressed isoforms varies as shown in Figure 6. We should select the best model from these solutions which can explain as more observations as possible using as few expressed isoforms as possible. The number of expressed isoforms of a solution equals with the number of positive elements in . In order to control the model size, we group the sequential solutions into according to the number of positive elements in each solution , where is used to count the number of positive elements in solution and H h is a subset of . The number of expressed isoforms of each solution in H h equals h.

Figure 6

An example of solution path {Φ(k)| k = 0,1,..., K } along the X axis. Each curve represents the expression level of one candidate isoform during the iterations. The solution path is plotted from left to right along the X axis. This figure shows the number of expressed isoforms varies along the solution path.

We first select the best solution within each group H h . Because the model size within each group is the same, the solution whose is minimal in group H h is selected as the best solution in this group.

Those best solutions in each group are put into a set ordered by the increasing number of expressed isoforms where M is the largest number of expressed isoforms in the solution path and has one expressed isoform which is the best solution among the solutions with one expressed isoform. The final best solution is selected from by likelihood ratio test (LRT) [36].

Starting from the sparsest solution with one isoform, we compare with solution which has two expressed isoforms to determine which solution is better and should thus be preferred using LRT by deriving the p-value of the obtained difference between and . The test statistic of this difference is defined as . In most cases, the probability distribution of this test statistic D can be approximated by a chi-square distribution with κ = df(A)-df(B) degrees of freedom, where df(A) and df(B) are the degrees of freedom of models A and B respectively. That means D ~ χ2(κ ). In our case, the difference between the degrees of freedom of the two models are (df(A) - df(B)) = (2-1) = 1 and the p-value of D can be calculated according to D ~ χ2(1 ). If prob(D) > 0.01 which means is not significantly smaller than , we select as our final best solution and stopped the searching. Otherwise, and are compared using LRT alike, and so on. The whole flowchart on model selection is summarized in Figure 7.

Figure 7

The schematics of model selection from the solution path.


  1. 1.

    Matlin AJ, Clark F, Smith CWJ: Understanding alternative splicing: towards a cellular code. Nat Rev Mol Cell Biol 2005, 6: 386–398. 10.1038/nrm1645

    CAS  Article  PubMed  Google Scholar 

  2. 2.

    Pan Q, Shai O, Lee LJ, Frey BJ, Blencowe BJ: Deep surveying of alternative splicing complexity in the human transcriptome by high-throughput sequencing. Nat Genet 2008, 40: 1413–1415. 10.1038/ng.259

    CAS  Article  PubMed  Google Scholar 

  3. 3.

    Wang H, Hubbell E, shan Hu J, Mei G, Cline M, Lu G, Clark T, Siani-Rose MA, Ares M, Kulp DC, Haussler D: Gene structure-based splice variant deconvolution using a microarray platform. Bioinformatics 2003, 19(Suppl 1):i315-i322. 10.1093/bioinformatics/btg1044

    Article  PubMed  Google Scholar 

  4. 4.

    Caceres JF, Kornblihtt AR: Alternative splicing: multiple control mechanisms and involvement in human disease. Trends Genet 2002, 18: 186–193. 10.1016/S0168-9525(01)02626-9

    CAS  Article  PubMed  Google Scholar 

  5. 5.

    Anton MA, Gorostiaga D, Guruceaga E, Segura V, Carmona-Saez P, Pascual-Montano A, Pio R, Montuenga LM, Rubio A: SPACE: an algorithm to predict and quantify alternatively spliced isoforms using microarrays. Genome Biol 2008, 9: R46. 10.1186/gb-2008-9-2-r46

    PubMed Central  Article  PubMed  Google Scholar 

  6. 6.

    Pan Q, Shai O, Misquitta C, Zhang W, Saltzman AL, Mohammad N, Babak T, Siu H, Hughes TR, Morris QD, et al.: Revealing global regulatory features of mammalian alternative splicing using a quantitative microarray platform. Mol Cell 2004, 16: 929–941. 10.1016/j.molcel.2004.12.004

    CAS  Article  PubMed  Google Scholar 

  7. 7.

    Castle J, Garrett-Engele P, Armour CD, Duenwald SJ, Loerch PM, Meyer MR, Schadt EE, Stoughton R, Parrish ML, Shoemaker DD, Johnson JM: Optimization of oligonucleotide arrays and RNA amplification protocols for analysis of transcript structure and alternative splicing. Genome Biol 2003, 4: R66. 10.1186/gb-2003-4-10-r66

    PubMed Central  Article  PubMed  Google Scholar 

  8. 8.

    Hiller D, Jiang H, Xu W, Wong WH: Identifiability of isoform deconvolution from junction arrays and RNA-Seq. Bioinformatics 2009, 25: 3056–3059. 10.1093/bioinformatics/btp544

    PubMed Central  CAS  Article  PubMed  Google Scholar 

  9. 9.

    Li B, Ruotti V, Stewart RM, Thomson JA, Dewey CN: RNA-Seq gene expression estimation with read mapping uncertainty. Bioinformatics 2010, 26: 493–500. 10.1093/bioinformatics/btp692

    PubMed Central  Article  PubMed  Google Scholar 

  10. 10.

    Mortazavi A, Williams BA, McCue K, Schaeffer L, Wold B: Mapping and quantifying mammalian transcriptomes by RNA-Seq. Nat Methods 2008, 5: 621–628. 10.1038/nmeth.1226

    CAS  Article  PubMed  Google Scholar 

  11. 11.

    Richard H, Schulz MH, Sultan M, Nurnberger A, Schrinner S, Balzereit D, Dagand E, Rasche A, Lehrach H, Vingron M, et al.: Prediction of alternative isoforms from exon expression levels in RNA-Seq experiments. Nucl Acids Res 2010, gkq041.

    Google Scholar 

  12. 12.

    Trapnell C, Pachter L, Salzberg SL: TopHat: discovering splice junctions with RNA-Seq. Bioinformatics 2009, 25: 1105–1111. 10.1093/bioinformatics/btp120

    PubMed Central  CAS  Article  PubMed  Google Scholar 

  13. 13.

    Pepke S, Wold B, Mortazavi A: Computation for ChIP-seq and RNA-seq studies. Nat Methods 2009, 6: S22-S32. 10.1038/nmeth.1371

    PubMed Central  CAS  Article  PubMed  Google Scholar 

  14. 14.

    Jiang H, Wong WH: Statistical inferences for isoform expression in RNA-Seq. Bioinformatics 2009, 25: 1026–1032. 10.1093/bioinformatics/btp113

    PubMed Central  CAS  Article  PubMed  Google Scholar 

  15. 15.

    Bohnert R, Behr J, Ratsch G: Transcript quantification with RNA-Seq data. BMC Bioinformatics 2009, 10: P5. 10.1186/1471-2105-10-S13-P5

    PubMed Central  Article  Google Scholar 

  16. 16.

    Trapnell C, Williams BA, Pertea G, Mortazavi A, Kwan G, van Baren MJ, Salzberg SL, Wold BJ, Pachter L: Transcript assembly and quantification by RNA-Seq reveals unannotated transcripts and isoform switching during cell differentiation. Nature biotechnology 2010, 28: 511–515. 10.1038/nbt.1621

    PubMed Central  CAS  Article  PubMed  Google Scholar 

  17. 17.

    Dilworth RP: A decomposition theorem for partially ordered sets. In Book A decomposition theorem for partially ordered sets. City: JSTOR; 1950:161–166. (Editor ed.^eds.). pp. 161–166. (Editor ed.^eds.). pp. 161-166.

    Google Scholar 

  18. 18.

    Guttman M, Garber M, Levin JZ, Donaghey J, Robinson J, Adiconis X, Fan L, Koziol MJ, Gnirke A, Nusbaum C, et al.: Ab initio reconstruction of cell type-specific transcriptomes in mouse reveals the conserved multi-exonic structure of lincRNAs. Nature biotechnology 2010, 28: 503–510. 10.1038/nbt.1633

    PubMed Central  CAS  Article  PubMed  Google Scholar 

  19. 19.

    Feng J, Li W, Jiang T: Inference of isoforms from short sequence reads. 14th Annual International Conference on Research in Computational Molecular Biology (RECOMB); April 25–28, 2010; Lisbon, Portugal 2010, 138–157.

    Google Scholar 

  20. 20.

    Aul C, Bowen DT, Yoshida Y: Pathogenesis, etiology and epidemiology of myelodysplastic syndromes. Haematologica 1998, 83: 71–86.

    CAS  PubMed  Google Scholar 

  21. 21.

    Langmead B, Trapnell C, Pop M, Salzberg SL: Ultrafast and memory-efficient alignment of short DNA sequences to the human genome. Genome Biol 2009, 10: R25. 10.1186/gb-2009-10-3-r25

    PubMed Central  Article  PubMed  Google Scholar 

  22. 22.

    Li H, Ruan J, Durbin R: Mapping short DNA sequencing reads and calling variants using mapping quality scores. Genome Res 2008, 18: 1851–1858. 10.1101/gr.078212.108

    PubMed Central  CAS  Article  PubMed  Google Scholar 

  23. 23.

    Rhead B, Karolchik D, Kuhn RM, Hinrichs AS, Zweig AS, Fujita PA, Diekhans M, Smith KE, Rosenbloom KR, Raney BJ, et al.: The UCSC Genome Browser database: update 2010. Nucleic Acids Res 38: D613-D619.

  24. 24.

    Eriksson N, Pachter L, Mitsuya Y, Rhee SY, Wang C, Gharizadeh B, Ronaghi M, Shafer RW, Beerenwinkel N: Viral population estimation using pyrosequencing. PLoS Comput Biol 2008, 4: e1000074. 10.1371/journal.pcbi.1000074

    PubMed Central  Article  PubMed  Google Scholar 

  25. 25.

    Ji S, Xue Y, Carin L: Bayesian compressive sensing. IEEE Transactions on Signal Processing 2008, 56: 2346–2356.

    Article  Google Scholar 

  26. 26.

    Chartrand R: Exact reconstruction of sparse signals via nonconvex minimization. IEEE Signal Processing Letters 2007, 14: 707–710.

    Article  Google Scholar 

  27. 27.

    Zhao P, Yu B: Stagewise lasso. The Journal of Machine Learning Research 2007, 8: 2701–2726.

    Google Scholar 

  28. 28.

    Marioni JC, Mason CE, Mane SM, Stephens M, Gilad Y: RNA-seq: an assessment of technical reproducibility and comparison with gene expression arrays. Genome Res 2008, 18: 1509–1517. 10.1101/gr.079558.108

    PubMed Central  CAS  Article  PubMed  Google Scholar 

  29. 29.

    Au KF, Jiang H, Lin L, Xing Y, Wong WH: Detection of splice junctions from paired-end RNA-seq data by SpliceMap. Nucleic Acids Res 2010.

    Google Scholar 

  30. 30.

    Data were analyzed through the use of Ingenuity Pathways Analysis (Ingenuity®Systems, )

  31. 31.

    Shin MG, Kajigaya S, Levin BC, Young NS: Mitochondrial DNA mutations in patients with myelodysplastic syndromes. Blood 2003, 101: 3118–3125. 10.1182/blood-2002-06-1825

    CAS  Article  PubMed  Google Scholar 

  32. 32.

    Lacroix V, Sammeth M, Guigo R, Bergeron A: Exact transcriptome reconstruction from short sequence reads. In WABI'08: Proceedings of the 8th international workshop on Algorithms in Bioinformatics; Berlin, Heidelberg. Springer; 2008:50–63.

    Google Scholar 

  33. 33.

    Salzman J, Jiang H, Wong W: Statistical modeling of rna-seq data. In Book Statistical modeling of rna-seq data. City: Technical Report in Biostatistics, Stanford University; 2010. (Editor ed.^eds.). (Editor ed.^eds.).

    Google Scholar 

  34. 34.

    Haas BJ, Zody MC: Advancing RNA-Seq analysis. Nature biotechnology 2010, 28: 421–423. 10.1038/nbt0510-421

    CAS  Article  PubMed  Google Scholar 

  35. 35.

    Efron B, Hastie T, Johnstone I, Tibshirani R: Least angle regression. Annals of statistics 2004, 32: 407–451. 10.1214/009053604000000067

    Article  Google Scholar 

  36. 36.

    Casella G, Berger RL: Statistical inference. Duxbury Pacific Grove, CA; 2002.

    Google Scholar 

Download references


We thank Dr. Hui Jiang from Dr. Wing Wong's Lab at Stanford for providing the code and discussion of his paper. This work is funded by NIH 1R01LM010185-01 (Zhou) and The Institute for Biomedical Imaging Sciences IBIS foundation (Zhou).

Author information



Corresponding author

Correspondence to Xiaobo Zhou.

Additional information

Authors' contributions

ZX developed the method, implemented the code and drafted the manuscript. JW and CCC provided the MDS RNA-seq data and biological interpretation. XZ supervised this project and revised the draft manuscript. All authors read and approved the final document.

Authors’ original submitted files for images

Rights and permissions

Reprints and Permissions

About this article

Cite this article

Xia, Z., Wen, J., Chang, C. et al. NSMAP: A method for spliced isoforms identification and quantification from RNA-Seq. BMC Bioinformatics 12, 162 (2011).

Download citation


  • Splice Junction
  • Putative Exon
  • Expression Level Estimation
  • Fragment Length Distribution
  • Annotate Reference Genome