Skip to main content

A benchmark for RNA-seq quantification pipelines

  • The Erratum to this article has been published in Genome Biology 2016 17:203
  • The Erratum to this article has been published in Genome Biology 2016 17:107


Obtaining RNA-seq measurements involves a complex data analytical process with a large number of competing algorithms as options. There is much debate about which of these methods provides the best approach. Unfortunately, it is currently difficult to evaluate their performance due in part to a lack of sensitive assessment metrics. We present a series of statistical summaries and plots to evaluate the performance in terms of specificity and sensitivity, available as a R/Bioconductor package ( Using two independent datasets, we assessed seven competing pipelines. Performance was generally poor, with two methods clearly underperforming and RSEM slightly outperforming the rest.


RNA sequencing (RNA-seq) has become one of the most widely used technologies in biomedical research for highly parallel measurements of transcript expression. For example, the ENCODE project is currently using RNA-seq to characterize the transcriptome of the project’s selection of cell lines [1]. The first step in quantifying transcription levels with RNA-seq is aligning reads, or pseudo-aligning parts of the read [2, 3], to transcripts. In this step, transcripts are either estimated from the data (de novo assembly) or predetermined from an existing database. In a second step, the expression level for each of the transcripts in consideration is quantified for each sample. The algorithms considered here quantify expression for alternative transcripts within each gene and these can be combined to provide a summary for genes. We will refer to these two outputs as transcript level and gene level, respectively.

Currently, there are several competing algorithms for both of these steps. In general, when a new method is published, authors typically claim superiority over existing methods. This results in contradictory information for those deciding on a method. This apparent contradiction is due to the lack of a predetermined standard for comparison, which gives authors the freedom to select evaluation procedures that favor their method. This phenomenon is known as the self-assessment trap [4]. To avoid this, one can define metrics beforehand that evaluate specificity/precision and sensitivity/accuracy. A previous study [5] implemented such an approach and evaluated 11 algorithms. All algorithms were found to perform remarkably well and none were reported to outperform or underperform. However, accuracy assessments were related to the quantification of absolute expression levels, yet most RNA-seq studies are interested in relative measures, or differential expression. Furthermore, the specificity assessment was based on the correlation of measurements from replicated experiments, a summary that we show to be suboptimal. Finally, most of the assessment was based on computer-simulated data that do not mimic experimental data in sources of variation, such as batch effects [6]. Here we contribute a new set of interpretable assessment metrics, motivated by previous work [79], that (1) relate to differential expression, (2) provide improvements over the use of correlation by considering direct estimates of variance, and (3) are based on data that better emulate experimental data. This set of assessments better discerns the differences between the competing algorithms. To demonstrate the utility of our assessment metrics, we use them to compare the STAR [10], TopHat2 [11], and Bowtie2 [12] mapping methods and the Cufflinks [13], eXpress [14], Flux Capacitor [15], kallisto [2], RSEM [16], Sailfish [3], and Salmon [17] quantification methods. We also developed a webtool ( that permits users to submit other competing methods.



A key aspect of our proposed assessment is the availability of two datasets that permit the computation of the metrics. They are characterized by including two populations, at least two replicates for each population, and a way to define beforehand which genes or transcripts are differentially expressed and which are not. The replicates permit the assessment of precision and comparing the two populations permits the assessment of sensitivity or the ability to discover real biological differences. Note that sensitivity is harder to assess because we need to know beforehand what differences to expect. In the past, this has been achieved with spike-in experiments [1820]. However, the use of spike-ins has been criticized for not properly mimicking real experimental data [21].

The first represents the minimal dataset that can be used for the comparison. It includes two replicates for the cell lines GM12878 and K562. We used results from a microarray experiment comparing the same two cell lines to define real biological differences. We defined genes with a q-value smaller than 0.05 [22, 23] and absolute log fold changes larger than 1 as truly differentially expressed. Genes with q-values larger than 0.5 were denoted as not differentially expressed. Genes in neither of these two groups were considered to be in a “grey area” and left out of the analysis. Note that we are not considering microarrays to be a gold standard, but because the microarray data represents an independent measurement, algorithms that perform better at detecting real differences should, on average, show improved agreement with these independent results.

The second dataset was created using 30 samples from the Geuvadis project [24]. These samples were selected to represent a random sample of individuals. To introduce batch effect-like variability, we selected 15 from one center and 15 from another. These were then randomly divided into two groups both having seven samples from one center and eight from another. Because the samples were assigned at random, this is a null experiment and we can consider the 15 samples in each group to be replicates. To distinguish the two groups, we used computer simulations to generate 2424 transcripts designed to be differentially expressed between the two groups. To make these abundances mimic experimental data, we adapted the Polyester method [25] to include GC bias imitating the bias observed in the actual data. The resulting dataset mimics a real one quite well (Fig. 1).

Fig. 1

Estimated log fold changes stratified by transcript abundance on simulation dataset. One example based on Cufflinks quantification of two samples is shown here. Black points are non-differential transcripts; blue points are differentially expressed transcripts which were simulated to have signals on both samples; red points are differentially expressed transcripts which were simulated to have signals in only one of the samples

The raw sequencing files for both datasets are available from the webtool ( Further details about both datasets are available in the “Methods” section.

Calibration using control genes

The first challenge to comparing performance across the different approaches is the lack of a standard unit for transcript level quantification. For example, Cufflinks reports fragments per kilobase of exon per million fragments mapped (FPKM); Flux Capacitor reports reads per kilobase of exon per million reads mapped (RPKM); eXpress, RSEM, Sailfish, kallisto, and Salmon report transcripts per million (TPM). Note that some of these algorithms provide options for what unit to return and we allowed each laboratory to decide which unit to report. Other analytical choices, such as the choice of normalization approach, add even more variability to the scales of the reported measures (Fig. 2a). The standard solutions to rescaling—for example, dividing by the median—are not appropriate because the median value for a typical sample is 0. Taking the median of the positive values is not appropriate as it may introduce a bias in favor of or against methods that over- or underestimate the number of features with no expression. To overcome these challenges we considered only genes reported to be house-keeping genes [26], which are more likely to be expressed. Specifically, considering only this subset of genes for each algorithm, we compute the median. Because house-keeping genes are typically expressed, this median value will not be 0. We then select one of the algorithms to serve as a reference baseline (we used RSEM, which reported in TPM) and we rescale all methods in the log-scale so that a value of 0 in the log-scale maps to a TPM of 1. Figure 2 shows the data before and after this rescaling. Note that this is not meant as a normalization step, but rather as a simple rescaling so that the reported quantifications are approximately in the same units for all methods. Furthermore, note that fold change values are not affected by this re-scaling since the measurements for each algorithm are divided by the same constant which is cancelled out in fold-change calculations.

Fig. 2

Distribution of reported transcript quantifications on one sample of simulation dataset a before and b after rescaling. Seven quantification methods are shown here

Correlation is not a measure of precision or reproducibility

The use of correlation to summarize reproducibility has become widespread in genomics [18, 27, 28]. Despite its English language definition, mathematically, correlation is not necessarily informative with regards to reproducibility. For this reason, we dedicate a subsection to explain the major problems with this metric (details are provided in the “Methods” section).

The most egregious related mistake is to compute correlations of raw FPKM, RPKM, or TPM data. Averages, standard deviations, and correlations are popular summary statistics for two-dimensional data because, for the bivariate normal distribution, these five parameters fully describe the distribution [29]. However, RNA-seq data are not well approximated by bivariate normal data (Fig. 2). In fact, these data have a very large right tail, which implies that the correlation estimate can be highly susceptible to one point (Additional file 1: Figure S1a). Using the log transformation is a way to ameliorate this problem.

The standard way to quantify reproducibility between two sets of replicated measurements, say X 1X N and Y 1Y N , is simply to determine how close they are to each other. To quantify distance, we compute the mathematical distance between them:

$$ \sqrt{\varSigma_{i=1}^N\kern0.5em {d}_i^2,}\kern2em \mathrm{with}\kern0.5em {d}_i={X}_i-{Y}_i $$

This metric decreases as reproducibility improves and is 0 when the reproducibility is perfect.

Another limitation with correlation is that it is defined from two lists and there is no standard way of applying it when more than one replicate is available. A standard measure of precision, the standard deviation (SD) across replicates, is more appropriate. Note that there is a connection between this metric and distance since the SD for two replicates is:

$$ \sqrt{\frac{1}{2}\left\{{\left({X}_i\kern0.5em -\kern0.5em \frac{X_i\kern0.5em +\kern0.5em {Y}_i}{2}\right)}^2\kern0.5em +\kern0.5em {\left({Y}_i\kern0.5em -\kern0.5em \frac{X_i\kern0.5em +\kern0.5em {Y}_i}{2}\right)}^2\right\}}\kern0.5em =\kern0.5em \frac{X_i\kern0.5em -\kern0.5em {Y}_i}{2}\kern0.5em =\kern0.5em \frac{d_i}{2} $$

Another limitation of the correlation is that it does not detect cases that are not reproducible due to average changes. These could happen, for example, if the data are not properly normalized. The distance metric does detect these differences (Additional file 1: Figs. S1b and S2). The mathematical details are provided in the “Methods”.

Another advantage of the SD metric is that it is in the same units as our measurements. Correlation lacks units and thus renders the metric hard to interpret. In the “Methods” section, we mathematically demonstrate that correlations near 1 do not necessarily imply reproducibility. Specifically, we show an equation explaining how we may encounter situations in which the distance between two measures is unacceptably high yet correlations close to 1 are achieved.

Precision metrics

Once the raw data are mapped, quantified, and re-scaled, a matrix with one column for each replicate and thousands of rows is produced for each group. The entries of this matrix are what the algorithms provide as a measure that is proportional to expression. Here we will denote this quantity with \( {Y}_{\mathit{\mathsf{g}}ij} \) (where \( \mathit{\mathsf{g}}\kern0.5em =\kern0.5em 1\kern0.5em \dots \kern0.5em G \)) being the feature (gene or transcript), i = 1, 2 identifying the two groups and j = 1 … J i representing the replicate within group i.

Our first metric is based on the standard deviations, denoted s gi , of \( \log \left({Y}_{gi1}+0.5\right),\dots, \log \left({Y}_{gi{J}_i}+0.5\right) \). This metric has an intuitive interpretation as it represents the typical log fold change observed when comparing expression values from replicate samples. We compute the SD on the log-scale because biologists quantify differential expression with fold changes. Because the log is not defined when the Y gij values are 0, we add the constant 0.5 [30] before computing the log. In the case of two replicates, the SD would be proportional to the absolute value of the log ratios:

M gi  = log2{(Y gi1 + 0.5)/(Y gi2 + 0.5)}

Note that we have an s gi for every transcript and each group. To provide one summary, we can average across all the features to obtain one measure of reproducibility:

$$ \sqrt{\frac{1}{2}\left(\frac{1}{G}{\displaystyle \sum_{g=1}^G}{s}_{g1}^2+\frac{1}{G}{\displaystyle \sum_{g=1}^G}{s}_{g2}^2\right)} $$

For the case of two replicates this is proportional to Euclidean distance. The smaller this quantity, the more reproducible we assess the algorithm to be. However, as we describe below, providing just one summary is simplistic due to the dependence of variability on abundance.

Empirical and theoretical evidence suggests that the range of s gi is larger for lower abundance transcript measurements; thus, visualization approaches plot s i versus a measure of average abundance:

$$ {A}_{gi}=1/{J}_i{\displaystyle \sum_{j=1}^{J_i}}\left({ \log}_2{Y}_{gij}+0.5\right) $$

Additional file 1: Figure S3a confirms that larger variability is observed for smaller values of A. Consider that we may prefer a method that outperforms for the values of A that are most common (for example, note that less than 45 % of the data has A values larger than 2). Now, this plot does not lend itself to visualizations that permit comparisons across methods, as each method needs its own plot. To create a reasonable summary plot that includes all the methods, we simplify the relevant information by estimating s i as a function of A i [31]. Specifically, we apply loess [32] to estimate this function. We can then plot several curves on the same plot to compare methods (Fig. 3). To provide summary statistics that take into account the dependence on abundance, we report the median s i for low (A lower than 1), medium (A between 1 and 6), and high (A larger than 6) strata (columns 2–4 in Tables 1 and 2). We include standard error estimates of these metrics as well.

Fig. 3

Standard deviations of transcript quantifications based on a an experimental dataset (GM12878) and b a simulation dataset (one of the cell lines). Seven quantification methods are shown here

Table 1 Summarized metrics for analyzed pipelines based on an experimental dataset
Table 2 Summarized metrics for analyzed pipelines based on a simulation dataset

In the first dataset, Flux Capacitor and eXpress clearly underperform compared with the other methods in the regions with most data (A between 3 and 8). In the second dataset, only Flux Capacitor clearly underperforms. The other methods performed similarly, with RSEM performing slightly better in both datasets. Overall, the precision was substantially worse than what we observe for microarrays (compare, for example, with Fig. 2 in [31]). This is particularly true for low abundance transcripts where even the best methods show a standard deviation of 0.5, which translates to a difference of 41 % between replicate measurements.

Although we observed differences between quantification algorithms, different aligners show similar results (Additional file 1: Figure S4). STAR generally outperformed TopHat2, although very marginally. Also, RSEM mapped with Bowtie2 outperformed RSEM with STAR (Additional file 1: Figure S4a).

Because a large percentage of the quantifications are 0, we also developed summary statistics and visualization techniques to assess the across-replicate consistency of 0 calls. Note that the features considered here are those with at least one 0 in the pair of replicated measures. For each of these we report the proportion of discordant calls:

$$ {D}_i(K)= \Pr \left[\left({Y}_{gi1}<K\ \&{Y}_{gi2}\ge K\right)\mathrm{or}\ \left({Y}_{gi1}\ge K\ \&\ {Y}_{gi2}<K\right)\right] $$

where K is a threshold defining a transcript as expressed. Because methods that call more 0s are less likely to be discordant, we plot D i (K) against the proportion of the transcript (Fig. 4). The results here are similar to those of Fig. 3. We report D i (K) for K = 1 in column 5 of Tables 1 and 2. In both datasets we see Flux Capacitor as clearly underperforming compared with the other methods.

Fig. 4

Proportions of discordant expression calls based on a an experimental dataset (GM12878) and b a simulation dataset (one of the cell lines). Seven quantification methods are shown here

Consistency of isoform calls

Because RNA-seq is commonly used to infer alternative transcription, we also assessed the reproducibility of abundance within transcripts of the same gene. To provide a simple and interpretable metric we considered only the genes with exactly two transcripts. Specifically, for each sample we computed the percentage of reported abundances for each of the first transcripts. So if t 1 and t 2 are the reported abundances for transcripts 1 and 2, we compute t 1 /(t 1  + t 2 ). We then performed every pairwise comparison of two replicates and for each gene recorded the difference in these proportions. Note that we expect this difference to be 0 since the same transcripts should be reported in two replicates. We plotted these differences against abundance A gij since we expected larger differences at lower abundances (Additional file 1: Figure S3b). We then stratified the absolute differences by values of A gij and computed the median value. This permitted us to compare curves across methods (Fig. 5). Here we found Flux Capacitor to underperform compared with the other methods, which performed similarly. However, it is worth noting how high these values are, especially for low abundance transcripts where the median differences are close to 0.5, meaning that we are basically guessing which transcript is present.

Fig. 5

Proportion differences of transcript quantifications in genes with only two annotated transcripts based on a an experimental dataset (GM12878) and b a simulation dataset (one of the cell lines). Seven quantification methods are shown


The above-described metrics relate to reproducibility or specificity. But given the specificity and sensitivity tradeoff, it is imperative that we also assess sensitivity. For example, a method that calls every gene expressed at 10 TPM has perfect specificity, but would, of course, fail to detect any real differences. Recall that for the first dataset we defined truly differentially expressed genes, not transcripts. For each algorithm, therefore, one measure was constructed for each gene by combining the reported quantities for each transcript using the aggregation method recommended by said algorithm. For the second dataset, defining transcripts that were truly differentially expressed was known by construction.

To assess accuracy, we computed an average log fold change for each of the truly differentially expressed transcripts:

$$ {M}_g=1/{J}_2{\displaystyle \sum_{j=1}^{J_2}}\left({ \log}_2{Y}_{g2j}+0.5\right)-1/{J}_1{\displaystyle \sum_{j=1}^{J_1}}\left({ \log}_2{Y}_{g1j}+0.5\right)\kern0.5em , $$

multiplied it by the sign of the true fold change (so that all true fold changes could be considered positive), and plotted it against the average abundance (Additional file 1: Figure S3c):

$$ {A}_g=1/2{J}_2{\displaystyle \sum_{j=1}^{J_2}}\left({ \log}_2{Y}_{g2j}+0.5\right)+1/2{J}_1{\displaystyle \sum_{j=1}^{J_1}}\left({ \log}_2{Y}_{g1j}+0.5\right) $$

To be able to compare methods, we fitted loess curves to these plots and show the curves for all methods. Note that for the second dataset these curves should be equal to 1 for all values of A since all truly differentially expressed transcripts were designed to have true log (base 2) fold changes of 1 (Additional file 1: Figure S5). Here we can see that, with the exception of the underperformance of Flux Capacitor, all methods perform similarly. As we did for the standard deviation metric, we report the median sensitivity measure for three strata of abundance (columns 10–12 in Tables 1 and 2).

ROC curves and pAUC

Finally, to assess sensitivity and specificity simultaneously, we constructed receiver operating characteristic (ROC) curves. Because in the first dataset we used genes and in the second we used transcripts, here we use the general term feature to refer to both. We used the same approach as in the previous section to define positives (truly differentially expressed features) and negatives (not differentially expressed features). We then obtained log fold change values for every feature across every pairwise comparison between the two groups. Following common practice, we removed all features with both values below 1. Each of these resulted in one ROC curve. We averaged these results using threshold averaging based on fold changes [33] to produce one ROC curve for each method (Fig. 6). The ROC curves only include false positive rates (FPRs) below 0.2 because, in practice, it would be rare to accept a FPR higher than this since a FPR of 0.2 already represents thousands of false positive features. Here we see Flux Capacitor and eXpress underperforming and RSEM slightly outperforming the other methods in both datasets. The partial (up to FPR of 0.2) area under the curve (pAUC) is included in column 13 of Tables 1 and 2, which is the standardized area under the curve [34].

Fig. 6

ROC curves indicating performance of quantification methods based on differential expression analysis of a an experimental dataset and b a simulation dataset. Seven quantification methods are shown. FP false positive, TP true positive

Although the results for genes are comparable to those seen for microarrays (see Fig. 4 in [8]), we note that the results for transcripts are not impressive in general. For example, to recover half of the real differences, we need to accept a FPR of over 0.15. In fact, to achieve even these results, we removed all transcripts for which both samples were reporting quantities below 1. Without this filtering, the technology does not perform much better than guessing (Additional file 1: Figure S6). This result is in agreement with a recent publication describing the importance of filtering low abundance values in RNA-seq data [35].


Note that for the ROC analysis we show results for both gene level and transcript level analysis and the transcript level metrics were substantially worse (Fig. 6). Previous publications [5] focusing on abundance found that all algorithms performed well. Here we found that if your focus is differential expression, then results are not as impressive and differences are found across algorithms.

We do not intend our study of seven methods to be considered a definitive comparison but rather a demonstration of how one can use simple datasets and interpretable metrics to assess algorithms. For this reason, we have created a webtool that permits the comparison of other methods. Furthermore, we make the software used by this webtool freely available so others can compare methods, including new ones. We note here that the webtool includes a third dataset in which batch effects are completely confounded with group. In the future, this dataset will permit the assessment of methods that adjust for batch. An important contribution is that we have fixed assessments, making it harder for developers to fall into the self-assessment trap.

Finally, note that our method is meant to assess the quantification method specifically. Because, in general, our method does not consider biological replicates, it is not meant to be used for comparisons of statistical methods such as DESeq2 [36] and edgeR [37].


We have described a series of metrics and visualization techniques that facilitate the statistical evaluation of algorithms for processing RNA-seq data. The method is applicable with a small experiment involving as few as two sets of replicates and data from an independent platform. Using this approach, we assessed several competing approaches in terms of specificity and sensitivity. With the exception of the underperforming Flux Capacitor and eXpress, we found that the other algorithms performed similarly. We found that overall performance in detecting differentially expressed transcripts was poor. We also found that the mapping algorithms had a comparatively small effect, with STAR slightly outperforming TopHat2 when compared directly.


Cell line data

The dataset used in this comparison was derived from two widely studied cell lines: GM12878 and K562. The RNA-seq data are described by the ENCODE data center ( with dataset accession IDs ENCSR000AED and ENCSR000AEM. Microarray data for these two cell lines were downloaded from GEO with accession ID GSE26312 [38].

Quasi-simulated dataset

The GENCODE v16 GTF file was downloaded from GENCODE ( and all protein-coding genes from chromosome 2 with a single isoform or two isoforms were extracted; in addition, 300 genes with 3–15 isoforms were sampled. These genes were used to create a set of transcripts (all the isoforms from the selected genes) from which paired-end reads would be simulated. FPKM values for genes were sampled from the empirical distribution of FPKM values for genes estimated by Cufflinks [13] on the 30 Geuvadis samples, excluding values of FPKM less than 1.8. Expression was distributed randomly to the isoforms within a gene using a flat Dirichlet distribution.

The simulated reads were generated using the Polyester software [25], with a modification to allow for fragment-level GC content bias described below. Paired-end reads were generated assuming an experiment with 30 million reads in total, then scaled down for the simulated samples, which corresponded to Geuvadis samples with lower sequencing depth, and scaled up for the simulated samples corresponding to Geuvadis samples with higher sequencing depth. The scaling was chosen based on the total number of pairs which both aligned using TopHat2 [11]. The fragment length distribution for the simulated paired-end reads was centered at 160 bp and with a SD of 30 bp, chosen to match the fragment width distribution in the 30 Geuvadis samples.

The samples were distributed using a block design with 15 samples in a simulated condition 1 (seven from batch 1 and eight from batch 2) and 15 samples in a simulated condition 2 (eight from batch 1 and seven from batch 2). The bias parameters used to simulate fragment GC bias were drawn directly from the values estimated on the corresponding Geuvadis sample using the alpine software [39]. For 80 % of genes, one of the conditions had the expected mean value multiplied by 2, for 10 % of genes one of the conditions had the expected value equal to 0, and the remaining 10 % of genes represented the null, having no difference in expected value for the mean across conditions.

Fragments generated by Polyester were randomly discarded using Bernoulli trials, with the probability of success given by the estimated dependence of the fragment rate on GC content, as estimated by alpine [39]. As this resulted in less fragments than the original target, the simulation was repeated again, scaling proportionally such that the original target sequencing depth would be reached.

Transcript annotation

Although the methodology described here can be generally applied to any set of features, for the comparison carried out here we quantified expression levels for transcripts annotated in the GENCODE v16 database [40]. Note that this database includes protein-coding genes, pseudogenes, long non-coding genes (lncRNAs), and others. We focused on protein-coding genes to illustrate our proposed metrics. The units used by the quantification profiles of protein coding genes can be in reads per kilobase of exon per million reads mapped (RPKM), fragments per kilobase of exon per million fragments mapped (FPKM) or transcripts per million (TPM), etc., depending on the pipelines.

Data quantification and preprocessing

All the RNA-seq samples were first aligned with STAR (version 2.3.1) and Bowtie2 (version 2.2.1). The dataset containing GM12878 and K562 was aligned with TopHat2 (version 2.0.8) as well. Quantification pipelines, including Cufflinks (version 2.2.1), eXpress (version 1.5.1), Flux Capacitor (version 1.5.1), kallisto (version 0.42.3), RSEM (version 1.2.11), Sailfish (version 0.6.2), and Salmon (version 0.5.0) were used to quantify transcript expression levels, represented by units of FPKM, RPKM, or TPM. For more details, such as the commands and parameter settings, refer to the log information on the webtool. RMA [41] was used to normalize microarray samples between two cell lines and corresponding replicates.

Correlation is not a measure of reproducibility

For lists of numbers to be considered to reproduce another, the differences between the entries of the list must be close to 0. We can summarize with one number by using distance. Note that distance and correlation are related. We can rewrite the distance (squared and divided by N) between two vectors X and Y:

$$ \frac{1}{N}{\displaystyle \sum_{i=1}^N}{\left({X}_i-{Y}_i\right)}^2 $$


$$ \frac{1}{N}{\displaystyle \sum_{i=1}^N}{\left[\left({X}_i-{\mu}_X\right)-\left({Y}_i-{\mu}_Y\right)+\left({\mu}_X-{\mu}_Y\right)\right]}^2 $$

where μ X is the average of the Xs and μ Y is the average of the Ys. Then we have:

$$ \frac{1}{N}{\displaystyle \sum_{i=1}^N}{\left({X}_i-{Y}_i\right)}^2=\frac{1}{N}{\displaystyle \sum_{i=1}^N}\left[{\left({X}_i-{\mu}_X\right)}^2+{\left({Y}_i-{\mu}_Y\right)}^2\right]+{\left({\mu}_X-{\mu}_Y\right)}^2-2\frac{1}{N}{\displaystyle \sum_{i=1}^N}\left({X}_i-{\mu}_X\right)\left({Y}_i-{\mu}_Y\right) $$

Note that the last term is the covariance. To simplify this equation assume that X and Y have been standardized to have standard deviation 1. Then the equation reduces to:

$$ \frac{1}{N}{\displaystyle \sum_{i=1}^N}{\left({X}_i-{Y}_i\right)}^2=2+{\left({\mu}_X-{\mu}_Y\right)}^2-2\cdot \mathrm{correlation} $$

and we see the direct relationship between distance and correlation. However, an important difference is that the distance contains the term (μ X  − μ Y )2 and can therefore detect cases that are not reproducible due to large average changes. These could happen, for example, if the data are not properly normalized.

The above calculation can be re-expressed in a way that shows yet another flaw with correlation as a measure of reproducibility. Suppose you have a series of measurements X and a second measurement differs by d. We want the variability of d to be as small as possible. However, the correlation between X and X + d can be rewritten as:

$$ \mathrm{corr}\left(X,X+d\right)=\frac{1}{\sqrt{1+\mathrm{v}\mathrm{a}\mathrm{r}(d)/\mathrm{v}\mathrm{a}\mathrm{r}(X)}} $$

which implies that if the variability across values of X is very large, as it is in RNA-seq data, you can have correlations close to 1 regardless of the variability of the difference. Note that var(X) is about 4 in a typical RNA-seq experiment. This implies that a var(d) of 1 results in a correlation of almost 0.9. While 0.9 is considered high by biologists, a variance of 1 is not acceptable as it implies typical across-replicate fold changes of 2.

Software license

The R/Bioconductor package rnaseqcomp is available under open source license GPL-3.


  1. 1.

    Consortium EP. The ENCODE (ENCyclopedia Of DNA Elements) Project. Science. 2004;306:636–40.

    Article  Google Scholar 

  2. 2.

    Bray N, Pimentel H, Melsted P, Pachter L. Near-optimal probabilistic RNA-Seq quantification. Nat Biotechnol. 2016. doi:10.1038/nbt.3519.

    Google Scholar 

  3. 3.

    Patro R, Mount SM, Kingsford C. Sailfish enables alignment-free isoform quantification from RNA-seq reads using lightweight algorithms. Nat Biotechnol. 2014;32:462–4.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  4. 4.

    Norel R, Rice JJ, Stolovitzky G. The self-assessment trap: can we all be better than average? Mol Syst Biol. 2011;7:537.

    Article  PubMed  PubMed Central  Google Scholar 

  5. 5.

    Kanitz A, Gypas F, Gruber AJ, Gruber AR, Martin G, Zavolan M. Comparative assessment of methods for the computational inference of transcript isoform abundance from RNA-seq data. Genome Biol. 2015;16:150.

    Article  PubMed  PubMed Central  Google Scholar 

  6. 6.

    Leek JT, Scharpf RB, Bravo HC, Simcha D, Langmead B, Johnson WE, et al. Tackling the widespread and critical impact of batch effects in high-throughput data. Nat Rev Genet. 2010;11:733–9.

    CAS  Article  PubMed  Google Scholar 

  7. 7.

    Irizarry RA, Warren D, Spencer F, Kim IF, Biswal S, Frank BC, et al. Multiple-laboratory comparison of microarray platforms. Nat Methods. 2005;2:345–50.

    CAS  Article  PubMed  Google Scholar 

  8. 8.

    Irizarry RA, Wu Z, Jaffee HA. Comparison of Affymetrix GeneChip expression measures. Bioinformatics. 2006;22:789–94.

    CAS  Article  PubMed  Google Scholar 

  9. 9.

    McCall MN, Irizarry RA. Consolidated strategy for the analysis of microarray spike-in data. Nucleic Acids Res. 2008;36:e108.

    Article  PubMed  PubMed Central  Google Scholar 

  10. 10.

    Dobin A, Davis CA, Schlesinger F, Drenkow J, Zaleski C, Jha S, et al. STAR: ultrafast universal RNA-seq aligner. Bioinformatics. 2013;29:15–21.

    CAS  Article  PubMed  Google Scholar 

  11. 11.

    Kim D, Pertea G, Trapnell C, Pimentel H, Kelley R, Salzberg SL. TopHat2: accurate alignment of transcriptomes in the presence of insertions, deletions and gene fusions. Genome Biol. 2013;14:R36.

    Article  PubMed  PubMed Central  Google Scholar 

  12. 12.

    Langmead B, Salzberg SL. Fast gapped-read alignment with Bowtie 2. Nat Methods. 2012;9:357–9.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  13. 13.

    Trapnell C, Williams BA, Pertea G, Mortazavi A, Kwan G, van Baren MJ, et al. Transcript assembly and quantification by RNA-Seq reveals unannotated transcripts and isoform switching during cell differentiation. Nat Biotechnol. 2010;28:511–5.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  14. 14.

    Roberts A, Pachter L. Streaming fragment assignment for real-time analysis of sequencing experiments. Nat Methods. 2013;10:71–3.

    CAS  Article  PubMed  Google Scholar 

  15. 15.

    Montgomery SB, Sammeth M, Gutierrez-Arcelus M, Lach RP, Ingle C, Nisbett J, et al. Transcriptome genetics using second generation sequencing in a Caucasian population. Nature. 2010;464:773–7.

    CAS  Article  PubMed  Google Scholar 

  16. 16.

    Li B, Dewey CN. RSEM: accurate transcript quantification from RNA-Seq data with or without a reference genome. BMC Bioinformatics. 2011;12:323.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  17. 17.

    Patro R, Duggal G, Kingsford C. Salmon: accurate, versatile and ultrafast quantification from RNAseq data using lightweight-alignment. bioRxiv. 2015. doi:10.1101/021592.

  18. 18.

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

    CAS  Article  PubMed  Google Scholar 

  19. 19.

    Jiang L, Schlesinger F, Davis CA, Zhang Y, Li R, Salit M, et al. Synthetic spike-in standards for RNA-seq experiments. Genome Res. 2011;21:1543–51.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  20. 20.

    Loven J, Orlando DA, Sigova AA, Lin CY, Rahl PB, Burge CB, et al. Revisiting global gene expression analysis. Cell. 2012;151:476–82.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  21. 21.

    Risso D, Ngai J, Speed TP, Dudoit S. Normalization of RNA-seq data using factor analysis of control genes or samples. Nat Biotechnol. 2014;32:896–902.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  22. 22.

    Ritchie ME, Phipson B, Wu D, Hu Y, Law CW, Shi W, et al. limma powers differential expression analyses for RNA-sequencing and microarray studies. Nucleic Acids Res. 2015;43:e47.

    Article  PubMed  PubMed Central  Google Scholar 

  23. 23.

    Benjamini Y, Hochberg Y. Controlling the false discovery rate: a practical and powerful approach to multiple testing. J R Stat Soc Ser B (Methodological). 1995;57:289–300.

    Google Scholar 

  24. 24.

    Lappalainen T, Sammeth M, Friedlander MR, t Hoen PA, Monlong J, Rivas MA, et al. Transcriptome and genome sequencing uncovers functional variation in humans. Nature. 2013;501:506–11.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  25. 25.

    Frazee AC, Jaffe AE, Langmead B, Leek JT. Polyester: simulating RNA-seq datasets with differential transcript expression. Bioinformatics. 2015;31:2778–84.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  26. 26.

    Eisenberg E, Levanon EY. Human housekeeping genes, revisited. Trends Genet. 2013;29:569–74.

    CAS  Article  PubMed  Google Scholar 

  27. 27.

    Kumamaru H, Ohkawa Y, Saiwai H, Yamada H, Kubota K, Kobayakawa K, et al. Direct isolation and RNA-seq reveal environment-dependent properties of engrafted neural stem/progenitor cells. Nat Commun. 2012;3:1140.

    Article  PubMed  Google Scholar 

  28. 28.

    Marinov GK, Williams BA, McCue K, Schroth GP, Gertz J, Myers RM, et al. From single-cell to cell-pool transcriptomes: stochasticity in gene expression and RNA splicing. Genome Res. 2014;24:496–510.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  29. 29.

    Freedman D, Pisani R, Purves R. Statistics. 4th ed. New York: W.W. Norton & Co; 2007.

    Google Scholar 

  30. 30.

    Law CW, Chen Y, Shi W, Smyth GK. voom: Precision weights unlock linear model analysis tools for RNA-seq read counts. Genome Biol. 2014;15:R29.

    Article  PubMed  PubMed Central  Google Scholar 

  31. 31.

    Cope LM, Irizarry RA, Jaffee HA, Wu Z, Speed TP. A benchmark for Affymetrix GeneChip expression measures. Bioinformatics. 2004;20:323–31.

    CAS  Article  PubMed  Google Scholar 

  32. 32.

    Cleveland WS, Devlin SJ. Locally Weighted Regression: An approach to regression analysis by local fitting. J Am Stat Assoc. 1988;83:596–610.

    Article  Google Scholar 

  33. 33.

    Fawcett T. An introduction to ROC analysis. Pattern Recogn Lett. 2006;27:861–74.

    Article  Google Scholar 

  34. 34.

    McClish DK. Analyzing a portion of the ROC curve. Med Decis Making. 1989;9:190–5.

    CAS  Article  PubMed  Google Scholar 

  35. 35.

    Soneson C, Matthes KL, Nowicka M, Law CW, Robinson MD. Isoform prefiltering improves performance of count-based methods for analysis of differential transcript usage. Genome Biology. 2016. 17:12. doi: 10.1186/s13059-015-0862-3.

  36. 36.

    Love MI, Huber W, Anders S. Moderated estimation of fold change and dispersion for RNA-seq data with DESeq2. Genome Biol. 2014;15:550.

    Article  PubMed  PubMed Central  Google Scholar 

  37. 37.

    Robinson MD, McCarthy DJ, Smyth GK. edgeR: a Bioconductor package for differential expression analysis of digital gene expression data. Bioinformatics. 2010;26:139–40.

    CAS  Article  PubMed  Google Scholar 

  38. 38.

    Ernst J, Kheradpour P, Mikkelsen TS, Shoresh N, Ward LD, Epstein CB, et al. Mapping and analysis of chromatin state dynamics in nine human cell types. Nature. 2011;473:43–9.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  39. 39.

    Love MI, Hogenesch JB, Irizarry RA. Modeling of RNA-seq fragment sequence bias reduces systematic errors in transcript abundance estimation. bioRxiv. 2015. doi: 10.1101/025767.

  40. 40.

    Harrow J, Frankish A, Gonzalez JM, Tapanari E, Diekhans M, Kokocinski F, et al. GENCODE: the reference human genome annotation for The ENCODE Project. Genome Res. 2012;22:1760–74.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  41. 41.

    Irizarry RA, Hobbs B, Collin F, Beazer-Barclay YD, Antonellis KJ, Scherf U, et al. Exploration, normalization, and summaries of high density oligonucleotide array probe level data. Biostatistics. 2003;4:249–64.

    Article  PubMed  Google Scholar 

Download references


We thank the ENCODE RNA working group for providing Cufflinks, eXpress, Flux Capacitor, RSEM, and Sailfish quantifications and suggestions regarding metric development. We also thank Dr. Zhiping Weng and Dr. Roderic Guigó for comments on the manuscript.

Author information



Corresponding author

Correspondence to Rafael A. Irizarry.

Additional information

Competing interests

The authors declare that they have no competing interests.

Authors’ contributions

MT and RAI developed the benchmarks, wrote the bioconductor package rnaseqcomp, created the webtool for quantification submission and comparison, and wrote the manuscript. MIL prepared the second simulation dataset. MT, AD, SL, CEM, XW, and RAI made the comparative analysis for initial quantification pipelines. BRG, SO, CAS, and LZ generated data. CAD, SD, and DP provided valuable suggestions for the benchmark and manuscript. All authors read and approved the final manuscript.

An erratum to this article can be found at

An erratum to this article can be found at

Additional file

Additional file 1: Figure S1.

a A pair of independent normally distributed datasets are simulated. The correlation is 0 by design. The values of one pair were “accidentally” changed to be very large, changing the correlation from 0 to 0.9. b For the data in Figure S2, we computed SD, Pearson correlation, and Spearman correlation metrics. A useful metric will detect the first pair (denoted with a triangle) as different. Note that the SD metric is by far the best at making this distinction. The Pearson correlation for this pair is above 0.9. Figure S2. MA plots for eight pairs of replicates. The first one seems to be problematic as the first replicate is generally larger than the second. The title of each panel shows the SD and demonstrates that this metric does detect the first pair of replicates as being different. Figure S3. Three types of proposed metrics change with transcript abundances. Cufflinks quantifications on a simulation dataset are shown here as an example. a Standard deviation. b Proportion differences of transcripts in genes with only two annotated transcripts. c Estimated log fold changes for simulated differentially expressed transcripts. Figure S4. Effects of aligners on four major types of metrics. Quantifications for an experimental dataset from cell lines GM12878 and K562 are shown here as an example. Comparison between STAR and TopHat2 are based on Cufflinks and Flux Capacitor. Comparison between Bowtie2 and STAR are based on RSEM. a Standard deviations based on the cell line GM12878. b Proportion of discordant calls. c Proportion differences of transcripts in genes with only two annotated transcripts based on cell line GM12878. d ROC curves based on transcript fold changes between GM12878 and K562. Figure S5. Log fold changes of true differential expression fitted by loess. a Plot based on experimental dataset from cell lines GM12878 and K562. True differentially expressed genes are estimated using microarray data. b Plot based on simulation dataset with true differentially expressed transcripts predefined. Figure S6. ROC curves on a simulation dataset when no filtering is applied on expression calls. (PDF 1052 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

Verify currency and authenticity via CrossMark

Cite this article

Teng, M., Love, M.I., Davis, C.A. et al. A benchmark for RNA-seq quantification pipelines. Genome Biol 17, 74 (2016).

Download citation


  • Receiver Operating Characteristic Curve
  • Assessment Metrics
  • Real Biological Difference
  • True Fold Change
  • Bivariate Normal Data