Abstract
Carefully designed control experiments provide a gold standard for benchmarking different genomics research tools. A shortcoming of many gene expression control studies is that replication involves profiling the same reference RNA sample multiple times. This leads to low, pure technical noise that is atypical of regular studies. To achieve a more realistic noise structure, we generated a RNA-sequencing mixture experiment using two cell lines of the same cancer type. Variability was added by extracting RNA from independent cell cultures and degrading particular samples. The systematic gene expression changes induced by this design allowed benchmarking of different library preparation kits (standard poly-A versus total RNA with Ribozero depletion) and analysis pipelines. Data generated using the total RNA kit had more signal for introns and various RNA classes (ncRNA, snRNA, snoRNA) and less variability after degradation. For differential expression analysis, voom with quality weights marginally outperformed other popular methods, while for differential splicing, DEXSeq was simultaneously the most sensitive and the most inconsistent method. For sample deconvolution analysis, DeMix outperformed IsoPure convincingly. Our RNA-sequencing data set provides a valuable resource for benchmarking different protocols and data pre-processing workflows. The extra noise mimics routine lab experiments more closely, ensuring any conclusions are widely applicable.
INTRODUCTION
Transcriptome profiling experiments are widely used in functional genomics research and have helped advance our understanding of gene regulation in health and disease. Throughout the evolution of this technology, from probe-based quantification on microarrays through to sequence-based transcript counting using second and third generation sequencing, researchers have conducted specially designed control experiments to benchmark different platforms and analysis methods. An early high profile example focused on the Affymetrix gene expression platform (1) using a spike-in design and a dilution data set (2). These experiments became the gold standard for benchmarking different pre-processing algorithms (3) during the rapid development of new background correction, normalization and transformation methods (4) for the Affymetrix technology. The spike-in design allows bias to be assessed for a small number of RNA molecules that have predictable fold-changes (FCs) when samples with different spike concentrations are compared with one another, while for all remaining genes, no change in expression should be observed. The dilution design on the other hand affects the expression level of every gene in the same way, so that when comparisons between pairs of samples are made, predictable FCs will be induced. This allows bias and variance to be assessed using the data from every gene.
Another popular configuration for control experiments is the mixture design, where two distinct samples are mixed in known proportions, inducing predictable gene expression changes across the entire series (5–7). This approach is exemplified by Holloway et al. (2006) (8), who designed and conducted an experiment to compare a range of microarray platforms. In this study, RNA from MCF7 and Jurkat cell lines were profiled as both pure and mixed samples in different proportions (94%:6%, 88%:12%, 76%:24% and 50%:50%). Holloway et al. (8) pioneered an approach in which a non-linear model is fitted to the expression values for each gene as a function of the mixing proportions, yielding consensus estimates of signal and noise per gene, allowing comparisons between platforms to be easily made.
The Microarray Quality Control Consortium (MAQC) used this design in a large scale inter-lab (11 sites), inter-platform comparison of 7 microarray technologies using commercially available bulk RNA sources (Universal Human Reference RNA from Stratagene and Human Brain Reference RNA from Ambion) profiled as pure and mixed samples in 2 different proportions (75%:25%, 25%:75%) (9). This project matched genes between platforms using the probe sequences and looked at reproducibility as measured by the coefficient of variation between replicate samples (within and between labs), rank correlations between microarray and qPCR platforms and consistency of differential expression results (amongst others). The study concluded that all platforms compared are capable of producing reliable gene expression measurements.
With the advent of RNA-sequencing (RNA-seq), the MAQC project was extended by the sequencing quality control (SEQC) consortium (10) that used the same design to compare different technologies (Illumina HiSeq, Life Technologies SOLiD and Roche 454) across labs (10 sites) using different data analysis protocols (aligners, gene annotations and algorithms for detecting differential expression). In this analysis, the built-in truth from the mixture design was used to measure consistency in two different ways (correct titration ordering across the four samples and ratio recovery) order to compare study sites and analysis methods. In addition, spike-in controls enabled assessment of how well changes in absolute expression levels could be recovered. The authors concluded that assessing relative changes in gene expression was far more reliable than absolute expression changes.
Previous mixture experiments performed using either microarray or RNA-seq have a number of well-known limitations. The first is that the samples used are all identical, coming from the same source of bulk RNA, meaning that any variation observed is purely technical in nature. In practice, biological noise is a key source of variability in both microarray (11,12) and RNA-seq experiments (13) that should ideally be simulated in the experimental design. The second related issue is that sample quality is uniform and high. In regular experiments, both biological variation and variation in RNA quality can be expected.
RNA-seq studies that have incorporated biological variability include comparisons between lymphoblastoid cell lines (males versus females), with the relatively small number of sex-specific genes providing inbuilt truth for methods comparisons (14,15). Another recent study obtained true positives by comparing a large number of biological replicate samples (42 wild-type versus 44 mutant samples) from Saccharomyces cerevisiae (16). By analysing subsets of the data, the authors were able to assess the effect of varying sample size on the performance of 11 differential expression methods.
To address some of the shortcomings outlined above, we designed and conducted a mixture experiment that simulated variability beyond the purely technical. This experiment compared two popular library preparation methods (Illumina's TruSeq poly-A mRNA kit and Illumina's TruSeq Total Stranded RNA kit with Ribozero depletion) using short reads (100 bp) obtained from the Illumina HiSeq platform. In the sections that follow we present details on the experimental design and quality control of this data set and results from the various methods compared using the inbuilt truth available from the mixture design. Popular differential expression analysis methods, differential splicing algorithms and deconvolution algorithms were compared using these data.
MATERIALS AND METHODS
Experimental design and sample preparation
The design of the mixture control experiment ensures the FCs for each gene will follow a predictable dose-response, as initially proposed in Holloway et al. (2006) (8). This design was also used in the MAQC (9) and SEQC projects (10). A pilot RNA-seq experiment involving five cell lines (H2228, NCI-H1975, HCC827, H838 and A549, obtained from ATCC) where RNA from each was profiled in duplicate using the same experimental conditions, library preparation method (Illumina's TruSeq Total Stranded RNA kit with Ribozero depletion) and analysis pipeline described below. Based on these data the two most similar cell lines (NCI-H1975 and HCC827) were chosen for the main study. These data are available under GEO series accession number GSE86337.
To obtain samples for the mixture study, cell lines from a range of passages (2–4) were grown on 3 separate occasions in RPMI media (Gibco) supplemented with Glutamax and 10% fetal calf serum to a 70% confluence. Cell lines were treated with 0.01% Dimethyl sulfoxide (Sigma), and after 6 h, cells were collected, snap-frozen on dry ice and stored at −80°C until required. Total RNA was extracted from between half a million and a million cells using a Total RNA Purification kit (Norgen Biotek) with on-column DNAse treatment according to the kit instructions. RNA concentration for each pair of replicates to be mixed was equalized using Qubit RNA BR Assay kit (Life Technologies) so that both samples in a pair had the same concentration (concentration for all pairs was in the range of 100 ng/μl). Replicates of pure NCI-H1975 (100:0) and pure HCC827 (0:100) and intermediate mixtures ranging from 75:25 to 50:50 to 25:75 (Figure 1) were obtained. We refer to these samples labelled as 100:0, 75:25, 50:50, 25:75 and 0:100 in Figure 1 as 100, 75, 50, 25 and 0, respectively in the remainder of the paper.
Samples were mixed in these known proportions three times to create three independent replicates of each mixture. All mixtures corresponding to the second replicate were split into two equal aliquots. One aliquot was processed normally (we refer to this as the ‘good’ replicate), while the second aliquot was degraded by incubation at 37°C for 9 days in a thermal cycler with a heated lid (we refer to this as the ‘degraded’ replicate), with RNA integrity number (RIN) determined using TapeStation RNA ScreenTape (Agilent). A total of 10 μl (∼1 μg) from each replicated mixture (both good and degraded) were used for Next Generation Sequencing library preparation using two different protocols: Illumina's TruSeq Total Stranded RNA kit with Ribozero depletion and Illumina's TruSeq RNA v2 kit. Libraries were quantified and normalized by qPCR, as recommended by Illumina, and libraries prepared using the same protocol were pooled together. Library clustering was performed on a cBot with Illumina HiSeq SR Cluster kit v4 cBot. Each of the two pools of libraries was sequenced as single-end 100 base pair reads over 4 lanes on an Illumina HiSeq 2500 with an Illumina HiSeq SBS kit v4. Base calling and quality scoring were performed using Real-Time Analysis (version 1.18.61) and FASTQ file generation and de-multiplexing using CASAVA (version 1.8.2). Library quantification, clustering, sequencing, base calling and de-multiplexing were carried out at the Australian Genome Research Facility (Melbourne, Australia). This data set is available under GEO series accession number GSE64098.
Read mapping and counting
FASTQ files from the same libraries were merged and aligned to the hg19 build of the human reference genome using the Subread and Subjunc software (version 1.4.6) with default settings (17). Next reads were summarised in various ways according to the NCBI RefSeq annotation (hg19 genome assembly) using the featureCounts procedure (18) in an unstranded manner. The default featureCounts behaviour, when generating gene-level counts using the inbuilt annotation, is to count the reads overlapping any of the exons in a given gene. We refer to this annotation as ‘gene-level exon counts’ and use it for the downstream analyses, unless stated otherwise. In addition to this default annotation, we also generated exon-level counts for the differential splicing analysis (Figure 8). To compare the number of reads mapping to different genomic features from each protocol (Figure 2A), we summarised the reads separately over exons, introns and intergenic regions based on the inbuilt RefSeq annotation from the Rsubread package. 5΄ and 3΄ UTR regions were considered as exons and reads were reduced to their 5΄ position. To compare the abundance of RNA from different functional categories by protocol (Figure 2B), gene-level exon counts were assigned to different RNA classes based on the Entrez gene type annotation. Gene body coverage plots (Figure 4A) were generated directly from bam files using geneBody_coverage.py from the RSeQC (19) software suite based on 3800 house-keeping genes. To explore gene-level signal in different ways, we ran featureCounts using a range of custom annotations including: gene-level exon annotation (default featureCounts behaviour – reads overlapping exons are counted and summarised over the entire gene); gene body annotation (reads overlapping any part of the gene body between the transcription start and end sites are counted); conservative gene-level intron annotation (the difference between the full length gene counts and gene-level exon counts, i.e. reads that overlap both an intron and an exon are only assigned to the respective exon). Finally, we also produced a conservative intergenic count. First we produced a combined gene and intergenic annotation, which encompassed the gene body and the intergenic region preceding this gene along the genomic coordinates, regardless of the gene direction. We then counted all reads overlapping each of these amalgamated regions and subtracted the number of reads that overlapped the corresponding gene body, thus obtaining a conservative estimate of the number of reads overlapping the respective intergenic region (i.e. the reads that overlapped both the gene and the preceding intergenic region were only assigned to the respective gene). These counts were used to fit the non-linear models of gene expression (see below).
Non-linear modelling of gene expression
We use the non-linear model described in Holloway et al. (2006) to get high precision estimates of the abundance of each gene in the two reference cell lines. For each gene g, let Xg be its expression level in NCI-H1975 and let Yg be its expression level in HCC827. The expression ratio (fold-change) between NCI-H1975 and HCC827 for that gene is therefore Rg = Xg/Yg.
For each mixture series, there are 15 RNA samples in total. Write pi for the proportion of RNA from cell line NCI-H1975 in a particular RNA sample i, with 1 − pi being the proportion of RNA from cell line HCC827, for i = 1, …, 15. The expression level of gene g in the RNA mix must be piXg + (1 − pi)Yg. The expression FC between the RNA mix and the HCC827 reference must be {piXg + (1 − pi)Yg}/Yg = piRg + 1 − pi, which is an increasing function of Rg. This shows that, regardless of the true values of Xg or Yg, the expression values for each gene must change in a smooth predictable way across the mixture series.
Write logCPMgi for the trimmed mean of M-values (TMM) normalized log2-count-per-million value obtained from voom for gene g and sample i. We fit the following nonlinear regression model to the log2-count-per-million values for each gene:
(1) |
where the εgj represent measurement error and are assumed to be independent with mean zero and gene-specific standard deviation ϕg. The non-linear regression returns estimates , and for each gene. The estimates and are generally more precise than would be obtained from the pure samples alone because they combine information from all the samples. The regression also returns the estimated expression log-ratio, , between the two pure samples.
The gene-wise non-linear models were fitted to the matrix of log2-count-per-million values using the fitmixture function in the limma package. The fitmixture function fits the non-linear regressions very efficiently to all genes simultaneously using a vectorized nested Gauss–Newton type algorithm (20). A number of separate fits were performed for each gene, the first used only the good quality samples (15 in total) for each data set and the second fit to the substituted data set where the good replicate 2 was replaced with the corresponding degraded sample. We repeated this analysis for all possible annotations, i.e. using the log2-count-per-million values obtained from gene-level exon, gene-level intron, gene body and intergenic regions. The model was also fitted to various subsets of the data to avoid any over-fitting of the non-linear models (Equation 1) for the purpose of comparing the log-FCs from these models and the various differential expression methods. To do this, the samples used in a given pair-wise comparison for the differential expression analysis were excluded from the non-linear model fitting. The non-linear regression directly estimates the log-FC for each gene between the pure samples. It is also easy to predict what the log-FCs should be between the other RNA mixes. Let the mixing proportion of NCI-H1975 in the first group be p, and the mixing proportion of NCI-H1975 in the second group be q. Then log-FC for gene g, predicted from the non-linear model, is
(2) |
Differential expression analysis methods
Differential expression analysis is carried out on TMM normalized gene-level exon counts for poly-A mRNA samples. Genes that were expressed in 3 or more samples were kept in the downstream analyses. Genes that fall outside of this criterion are removed. A gene is considered to be expressed if it has a count-per-million (CPM) value of greater than 1. The number of genes is reduced to 14 981 after filtering on expression. The analysis was also repeated using a lower CPM cutoff value of 0.5, leaving 16 131 genes.
The counts are normalized using each method's default, or standard normalization as described in the respective user guides. Quantile normalization (21) is carried out for baySeq methods; normalization using the median ratio method (22) is carried out for DESeq2 and TMM normalization (23) is carried out for edgeR and voom methods.
The voom and voom-qw methods use default settings in the voom and voomWithQualityWeights functions, followed by linear modelling and empirical Bayes moderation with a constant prior variance.
Generalised linear models were fitted for edgeR-glm, where empirical Bayes estimates of gene-wise dispersions were calculated with expression levels specified by a log-linear model. This differs from edgeR-classic where the empirical Bayes method used to estimate gene-wise dispersions is based on weighted conditional maximum likelihood; and where exact tests are carried out for each gene.
For both baySeq methods, default settings are used to estimate prior parameters and posterior likelihoods for the underlying distributions. In baySeq, counts are modelled under a negative binomial distribution and prior parameters are estimated by the getPriors.NB function. In baySeq-norm, the underlying distribution of counts are specified as normally distributed; prior parameters are estimated using the getPriors function. A default analysis for DESeq2 is performed using the DESeq function.
To obtain mean-difference plots in Figure 3A–C, an analysis of the TMM normalized gene-level exon counts from the total RNA data set using the good samples only (15 in total) was carried out using voom, with linear models averaging over the replicate samples and pair-wise contrasts (100 versus 000, 050 versus 000 and 025 versus 000 samples) estimated to get log-FCs and average log-CPM values.
To assess the extent of biological versus technical variation in both the good and degraded data sets (using all 15 samples in each) and the pilot SEQC data set from Law et al. (15) (16 samples, see below), the edgeR-glm pipeline described in Chen et al. (2014) (24) was used and the prior degrees of freedom estimated from the empirical Bayes step examined. Plots of the biological coefficient of variation (BCV) versus the average gene expression level were generated using the plotBCV function. This linear model analysis was repeated with voom, with the prior degrees of freedom from limma's empirical Bayes step reported.
We investigate simple two-group comparisons by subsetting the data for the two groups of interest. For all methods, correction for multiple hypothesis testing was carried out using Benjamini and Hochberg's FDR approach (25).
For each two-group comparison, the estimated log-FCs were compared with the log-FCs predicted by the nonlinear regression (). The root-mean-square error in the estimated log-FCs was defined as
(3) |
where logFCg is the estimated log-FC for gene g, G is the total number of genes and p and q are the mixing proportions for the two groups being compared.
Differential splicing analysis methods
Exon counts were obtained from the poly-A mRNA samples as described in the ‘Read mapping and counting’ section above. Unexpressed exons are removed from downstream analysis, where an exon is considered to be expressed if it has a CPM value of greater than 0.125 in at least 10 samples, half the total number of samples. The cutoff value of 0.125 was chosen since there is on average 8 exons per gene within the data set (i.e. a CPM of 1 cut-off used for the gene-level differential expression analysis scales down to 1/8=0.125 for the differential splicing exon-level analysis) which left 138 042 exons from 16,500 unique genes for downstream analysis.
Counts for the edgeR and limma-voom analyses are normalized by the TMM method and counts for DEXSeq are normalized using the median ratio method. As per the differential expression analyses, simple two-group comparisons are carried out by subsetting the data for the groups of interest and p-values are adjusted using Benjamini and Hochberg's FDR approach (25).
For DEXSeq, likelihood ratio tests were performed using size factors and dispersions estimated with default settings. Log-FCs are calculated using the estimateExonFoldChanges function and raw gene-wise P-values are calculated using the perGeneQValue function.
In voom-ds, linear modelling on exon-level log-CPM-values were carried out using voom-weights. To test for differential splicing, F-tests were performed on each gene using the diffSplice and topSplice functions.
Dispersions (common, trended and gene-wise) in edgeR-ds were estimated by calculating an adjusted profile log-likelihood for each gene and then maximising it. In estimating dispersions, the prior degrees of freedom was robustified against outliers. Generalised linear models were fitted with quasi-likelihood tests, where the prior quasi-likelihood dispersion distribution was estimated robustly. Gene-wise tests for differential splicing were carried out using the diffSpliceDGE and topSpliceDGE functions.
Deconvolution analysis methods
The two approaches compared, DeMix (26) and ISOpure (27), simultaneously estimate the proportion of mixtures and deconvolve the mixed expressions into individual tumor and healthy expression profiles from RNA-seq data. Other published deconvolution approaches thus far do not accomplish these two tasks (28). Both methods assume a linear mixture structure, that is, Y = (1 − p)N + pT, where Y is the expression level from a mixed sample, N is the expression level from normal tissue, T is the expression level from tumour tissue, and p is the tumour proportion in the observed mixed sample. DeMix is a Bayesian approach available in R (29) that employs the distribution convolution for estimating the proportion of tumor and component specific expressions in tumor-admixed samples. ISOpure uses a Bayesian hierarchical mixture model that further assumes that healthy compartments of tumor-admixed sample can be expressed as the weighted sum of observed healthy samples and is implemented in MATLAB. Herein, the filtering of genes is recommended to exclude genes that (i) do not satisfy the linear convolution structure, or (ii) are uninformative as they have the same expression levels in both sample types such that including them in the model estimation step weakens its ability to differentiate each component.
Analysis of Pilot SEQC RNA-seq data
The 16 RNA-seq samples (4 samples each from group A, B, C and D) from Law et al. (2014) (15) obtained from the pilot SEQC project were downloaded from the voom Supplementary Information webpage (http://bioinf.wehi.edu.au/voom/). This data set was pre-processed by filtering genes with low counts (CPM > 1 in at least 4 samples was required), followed by TMM normalization (23). The estimateDisp function in edgeR was used to estimate the prior degrees of freedom (24) for this data set. This analysis was repeated using voom followed by lmFit and eBayes in limma. The prior degrees of freedom estimated by the empirical Bayes step from each analysis was reported and compared to the mixture experiment described above to assess the relative contribution of biological and technical variation in each data set.
RESULTS
RNA-seq mixology balances variability and control
A mixture experiment requires two sources of reference RNA. How to choose these RNA sources has received little attention in the past and, typically, RNA sources that have extremely different expression profiles have been used. Cell lines are good candidates because they provide a replenishable supply of RNA with reproducible characteristics. Our choice of cell lines was guided by a pilot study that looked at gene expression across five lung adenocarcinoma cell lines (H2228, NCI-H1975, HCC827, H838 and A549) via RNA-seq. The two cell lines HCC827 and NCI-H1975, which were observed to be most similar according to the multidimensional scaling (MDS) plot (Supplementary Data) and had similar molecular aberrations (both have mutations in EGFR: L858R and T790M mutations are found in NCI-H1975 and deletion of exon 19 is observed in HCC827), were selected for the main experiment. The intent here was to have changes that were more subtle than those typically observed in earlier mixture experiments where completely different tissue types, were compared. For example, use of the MCF-7 breast cancer cell line and Jurkat human T lymphocyte cells in Holloway et al. (2006) (8), leads to nearly every gene being differentially expressed (DE), which is atypical of regular experiments. The experimental design of our study, which consists of two pure RNA samples and three RNA mixtures each repeated in triplicate, is shown in Figure 1. The cell lines were grown and harvested on three separate occasions to simulate some degree of variation between samples due to lab processing. Each pure RNA sample from a given cell line (denoted as either 100:0 or 0:100) was mixed with a corresponding sample from another cell line in three different proportions (75:25, 50:50, 25:75), yielding three independent replicates for each pure and mixed sample. The second replicate from each mixture was divided in two, with one of the samples prepared normally (the ‘good’ sample) and the other undergoing heat treatment (incubation at 37°C for 9 days, see Materials and Methods) to systematically degrade the RNA (the ‘degraded’ sample). This process was effective, as shown in Supplementary Data, with the RIN between 6 and 7 for the degraded samples, and above 8.5 for the regular samples. Finally, each sample was split into 2 aliquots, which were used to prepare RNA-seq libraries using Illumina's TruSeq Total Stranded RNA kit with Ribozero depletion (which we refer to as the total RNA kit) and Illumina's TruSeq RNA v2 kit (which we refer to as the poly-A mRNA kit). Libraries were sequenced as single-end 100 bp reads on an Illumina HiSeq2500 instrument producing on average 50 million reads per library (range 32 to 94 million). Reads from all samples were mapped to the hg19 reference genome using the Subread alignment software (17). Mapped reads were assigned using featureCounts (18) according to NCBI's RefSeq hg19 gene annotation.
Comparing read distribution by feature type
We used a variety of strategies to annotate the reads depending on the analysis (see Materials and Methods for a detailed description of the annotation strategies). To facilitate comparison of the protocols in terms of read distribution across different genomic features, we reduced the reads mapped using the splice aware aligner Subjunc to their 5΄ position and assigned them to non-overlapping custom annotations restricted to either exon, intron or intergenic regions (UTR regions were considered as exons). Genomic feature mapping statistics for all replicate 2 samples are shown in Figure 2A. Interestingly, the poly-A mRNA and total RNA kits show greatest differences in terms of reads mapping to introns, which come at the expense of exonic reads. The levels are similar between the degraded and good samples within each protocol, with differences of a few percent at most. The poly-A libraries tend to capture mature poly-adenylated RNA that had undergone splicing, while the total RNA protocol captures both mature and pre-messenger RNA alike, which is reflected in the higher proportion of intronic reads in the latter. These results are similar to the percentages reported in Zhao et al. (2014) (30), although we observe a slightly higher proportion of intronic reads in our data.
In order to compare the protocols with regard to read distribution across different RNA classes, we used the gene-level exon counts (default featureCounts behaviour) obtained from Subjunc aligned data and annotated them according to the gene type information available with the annotation. The percentage of reads assigned to each type for all replicate 2 samples is shown in Figure 2B. Consistent with the protocol design, the Total RNA method is able to recover a greater proportion of reads from non-coding (ncRNAs), small nuclear (snRNAs) and small nucleolar (snoRNAs) RNA species compared to the poly-A mRNA kit (see Supplementary Data for results per RNA class). Across all samples, the percentage of reads mapping to ribosomal RNAs (rRNAs) was marginally lower for the total RNA protocol compared to the poly-A mRNA kit (Supplementary Data), indicating that the Ribozero depletion used to deplete rRNAs in the former sample preparation method was highly effective, as previously reported (30,31).
To assess data quality experiment-wide, we generated MDS plots from the gene-level exon log2 counts per million (log-CPM) (Figure 2C and D). This display clearly separates the samples by mixture proportion, with increasing concentration of NCI-H1975 indicated from left to right in dimension 1 and pure samples (100:0 and 0:100) separating from the mixed samples (75:25, 50:50, 25:75) in dimension 2 in both the poly-A mRNA and total RNA data sets. For the poly-A mRNA data (Figure 2C), the replicate samples cluster less tightly, with the degraded samples separating slightly from the non-degraded samples for most mixtures. Samples from the total RNA data (Figure 2D) on the other hand tend to cluster more tightly.
Exploiting signal from the mixture design genome-wide
We next inspect the typical FCs for the total RNA data using a mean-difference plot from three pair-wise comparisons (100 versus 000, 050 versus 000 and 025 versus 000) to visualise the attenuation in signal that occurs as the RNA samples compared become more similar. Figure 3A shows the most extreme results, with average log2-fold-changes (log-FCs) (y-axis) versus average expression (x-axis) for the pure samples (100:0 versus 0:100, denoted 100 versus 000). The FCs cover a wide dynamic range and are symmetric about the log-FC = 0 (no change) line. When samples more similar in RNA composition are compared, the log-FCs are compressed and asymmetric (Figure 3B and C). Looking at the log-CPM-values at each mixture proportion for three representative genes (Figure 3D–F), we see the dose-response across the mixture that varies according to the true RNA abundance of each gene in the pure samples. The gene DAND5 for example is more abundant in the HCC827 cell line, while WASH7P is expressed at a similar level in both samples, and EREG is more abundant in the NCI-H1975 cell line. The non-linear model (see Materials and Methods, Equation 1, plotted as dashed lines in Figure 3D–F) can be fitted to the log-CPM values from the ‘good’ data (three replicates for each mixture) or with the degraded sample replacing the non-degraded sample for replicate 2 sample to estimate the true concentration of a particular gene in each mixture, along with the error.
Total RNA with Ribozero depletion is a better choice for degraded samples
RNA-seq library preparation methods that rely on capturing poly-A RNA species are susceptible to RNA degradation. As RNA gets degraded, the non-poly-adenylated 5΄ end of the molecule becomes under-represented. In order to assess the 5΄-3΄ bias in our libraries, we used the RSeQC (19) software to plot the read coverage over the gene body calculated using 3800 housekeeping genes in 4 representative libraries. Both total RNA libraries (good and degraded), as well as the good mRNA library followed roughly the same distribution (Figure 4A). As expected, the degraded mRNA library had a drastically different distribution from the others with 5΄ end reads under-represented in this sample. Compared to both total RNA libraries, the good mRNA library also had a slightly lower coverage at the 3΄ end. This effect was likely caused by the residual binding of poly-A sequences to oligo-T beads post-fragmentation and subsequent removal of 3΄ end fragments when beads were discarded from the reaction.
To assess the bias and precision genome-wide, we used the gene-wise log-ratios (Mg) and log-variance estimates () from the non-linear model fitted to the gene-level exon log-CPM and generated boxplots of these quantities by library preparation protocol and sample degradation status (Figure 4B and D). The signal characteristics are consistent between protocols irrespective of whether degraded samples are included, with a good dynamic range of log-ratios observed (Figure 4B). Moreover, the log-ratios are highly consistent between protocols, with a Pearson correlation of 0.94 (Figure 4C), indicating that no systematic bias is introduced by either kit. Variation on the other hand, was observed to differ between protocols (Figure 4D). The poly-A mRNA analysis that includes the degraded samples was most variable, and the analyses that use only the good quality samples, irrespective of protocol, were the least variable. This is consistent with earlier observations from the MDS plots (Figure 2C and D). The median difference in variability level between the analysis with the degraded samples and the analysis that used only the good samples was 1.38 units on the log2-scale (i.e. 2.6 times higher on average on the original scale) for the poly-A data and 0.52 units (i.e. 1.4 times higher on the original scale) for the total RNA data. The average increase in variability for the poly-A mRNA data is thus 1.85-fold greater than that observed for the total RNA data. For this reason, we chose to focus on the mRNA data in the method comparisons in the remainder of this paper as it shows the most variation due to sample quality and will allow us to compare the performance of methods in the presence of high or low baseline variability by either including or excluding the degraded samples.
Assessing signal in intronic and intergenic reads
The next issue explored was whether the substantial proportion of reads mapping to introns measured signal or noise. Figure 5 shows the log-ratios (Mg) and log-variances () estimated using the log-CPM calculated using four different annotations: gene body (i.e. the number of reads overlapping a gene anywhere from the start to the end position, which will include exons (both annotated and unannotated) and introns), gene-level exon (as in Figure 4B and D), the difference between these two counts in order to obtain a conservative estimate of the intron and unannotated exon counts, or from neighboring intergenic regions that do not contain annotated genes as the control. Very similar dynamic ranges of log-FCs as those observed in Figure 4B were seen from this analysis for each annotation class (Figure 5A). The level of variability from the model fits (Figure 5B) was similar for different gene-centric feature types (gene body, gene-level exon and gene-level intron) with sample degradation increasing the amount of variation in all cases. Interestingly, results from the gene body counting approach are slightly less variable on average than the exon-only results. Results for intergenic regions provide the negative control here, with systematically higher variation than the other feature types. Figure 5C shows a smoothed scatter plot of estimated log-ratios from the nonlinear model fitted to the gene-level intron counts (y-axis) versus the log-ratios estimated from the gene-level exon counts (x-axis) for the same gene for the total RNA data set, which had more intronic reads (Figure 2A). The log-ratios showed good agreement, with a Pearson correlation of 0.86. A similar plot displaying the log-ratios obtained from intergenic regions neighbouring a given gene versus the log-ratios estimated from the gene-level exon counts had a much lower correlation of 0.48 (Figure 5D). While exonic reads are mainly contributed by the more abundant mature mRNAs, intronic signal at the gene-level can presumably be attributed to pre-messenger RNA (pre-mRNA). Since these pre-mRNAs are likely to have a similar relative concentration to their mature counterparts, including these intron reads in the gene-level counts is therefore likely to boost signal, rather than add noise, increasing power.
Differential expression: seven methods compared
Differential expression analysis was carried out using seven popular methods available as part of the Bioconductor project (32): edgeR (33) using the method of exact tests (edgeR-classic) (34) or with generalized linear models and likelihood ratio tests (edgeR-glm) (35); baySeq (36,37) with counts modelled either by negative binomial distributions (baySeq) or by normal distributions (baySeq-norm); limma-voom (15,38) either with default settings (voom) or with sample quality weights (voom-qw) (39); and DESeq2 (40). Although all of the above software packages are able to analyse more than two experimental conditions in one analysis, the results we present here are for simple two group comparisons between different mixing proportions. This mimics what is perhaps the most common replicated RNA-seq experimental design in practice, a two group comparison with three replicate RNA samples in each group (six samples in total).
A characteristic of the mixture design is that the same set of genes must be DE between any pair of samples. If a gene is DE between the two pure reference samples, then it should also be DE between any pair of samples with different mixing proportions. However, the FCs will be largest when comparing pure samples and correspondingly smaller when comparing intermediate mixtures. Unsupervised clustering of samples confirms that the pure samples have the most extreme transcriptional profiles (Figure 2C and D). It follows that the two group comparison of the pure samples (100 versus 000) should result in the greatest number of statistically significant DE genes, at any given false discovery rate (FDR). Any two group comparison between other good samples, such as 75 and 25 (075 versus 025), 50 and 25 (050 versus 025) or 75 and 50 (075 versus 050), should ideally result in significant genes that are a subset of those observed in the 100 versus 000 comparison.
The mixture experiment has no true positives or true negatives for differential expression that are known a priori. However, we can compare methods by way of their sensitivity, recovery and inconsistency rates. ‘Sensitivity’ can be measured by the total number of DE genes detected. Supplementary Data shows the number of discoveries made (at a FDR < 0.05 cutoff), which gradually decreases for all seven methods as the RNA samples compared become more similar in concentration. Using the 075 versus 025 comparison as an example, ‘recovery’ refers to the proportion of DE genes detected in 100 versus 000 that are also detected as DE in 075 versus 025 by the same method, while ‘inconsistency’ refers to the proportion of DE genes in 075 versus 025 that are not detected in 100 versus 000 by the same method. Analogous recovery and inconsistency rates can be computed for the 050 versus 025 and 075 versus 050 comparisons. These measures examine the performance of each method in the presence of small transcriptional differences, and more specifically, assess how much the power of each method is affected by systematically reducing expression differences. At the same time, we consider the rate of inconsistency to be a reflection of the ‘error’ of a method.
Using a CPM threshold of 1 for expression (see Materials and Methods) and a 5% FDR cutoff for differential expression, voom-qw is not only the most sensitive method, but it also achieves the highest recovery rate across all comparisons between good samples (Figure 6A and Supplementary Data). For moderate differences in proportions (075 versus 025), voom-qw achieves 82% recovery of DE genes from 100 versus 000 and 37–39% recovery for subtle differences (050 versus 025 and 075 versus 050). Thus, voom-qw retains much of its power even when transcriptional differences are reduced. Most other methods have recovery rates only moderately lower than that of voom-qw, except for baySeq and baySeq-norm that have much lower recovery rates than the other methods: 62% in both methods for 075 versus 050, and 10–12% in baySeq and 0% for baySeq-norm for 050 versus 025 and 075 versus 050. Both baySeq methods lose power more quickly than the other methods when the transcriptional differences are small.
The experimental design allows us to perform an analysis on the regular samples and compare our results to the analysis that includes the degraded samples. Replacing the non-degraded replicate 2 with the degraded sample results in extra within-group variability that can be observed in the vertical spread of points in the MDS plot in Figure 2C for the poly-A mRNA data. Comparisons with degraded samples will be referred to as 100 versus 000d, 075 versus 025d, 050 versus 025d and 075 versus 050d, respectively. These degraded samples are intended to represent low quality samples that are frequently observed in practice (41).
As expected, increasing within-group variability results in lower recovery rates for most methods. Here, the relative performance was observed to be similar to that observed for the good samples only for all methods except baySeq-norm. With the increase in within-group variability, baySeq-norm achieves relatively high recovery rates that are matched by exceedingly high inconsistency rates (Supplementary Data). For 100 versus 000d, baySeq-norm achieves 99% recovery and 45% inconsistency. This means that whilst almost all genes are recovered from the 100 versus 000 comparison, approximately half of all significant genes in 100 versus 000d are not detected in 100 versus 000. Overall baySeq-norm has rates of inconsistency ranging between 17% and 45% (excluding comparisons where no genes are detected as significant). Amongst methods with low inconsistency, voom-qw has the highest recovery rate for 100 versus 000d and 075 versus 025d while DESeq2 has highest recovery by a narrow margin for the most subtle comparisons 050 versus 025d and 075 versus 050d.
Apart from baySeq-norm, all methods detect differential expression consistently, with low inconsistency rates observed across all comparisons with or without degraded samples. For large to moderate differences in mixture proportion (100 versus 000d, 075 versus 025 and 075 versus 025d), inconsistency rates sit at between 0–1.7% (not including baySeq-norm). For subtle differences in mixture proportion (050 versus 025, 050 versus 025d, 075 versus 050 and 075 versus 050d), inconsistency is between 0–0.3% (not including baySeq-norm). Although recovery and inconsistency is assessed for each method relative to itself, it is worth noting that most genes detected as DE in the 100 versus 000 comparison are common to all methods, with an overlap of 10 015 genes between baySeq, edgeR-glm, voom-qw and DESeq2 (Figure 6C). The voom-qw method detects the most unique DE genes (815) and DESeq2 detects the least unique DE genes (7).
In addition to within-method comparisons, bias can be examined by looking at differences between the log-FC estimated by each method and those predicted by the nonlinear model (Mg) over the entire data set and adjusted according to the relevant sample concentrations for the two-group comparisons (see Materials and Methods, Equation 2).
Predicted log-FCs were first calculated using information from all good samples across the experiment – a total of 15 samples. On the other hand, the log-FCs estimated by each differential expression method are based only on the six samples included in that particular analysis. For this reason, we assume that predicted log-FCs are more accurate than the estimated log-FCs. baySeq and baySeq-norm do not estimate gene-wise log-FCs, so were not included in this comparison. Estimates from voom match closest to predicted log-FCs for 100 versus 000 and 100 versus 000d, with a strikingly near-perfect match when only good samples are used (Figure 7). The tail-end of log-FCs suggests that DESeq2 is slightly conservative, where the magnitude of estimated log-FCs tends to be slightly smaller than the predicted values; whilst edgeR is slightly liberal, with estimated values slightly larger than predicted values. edgeR-glm and edgeR-classic produce almost identical log-FC estimates. The concordance between estimated and predicted log-FCs drops in 075 versus 050 and 075 versus 050d, when the differences are most subtle. Here, edgeR-glm estimates log-FCs marginally better than voom and DESeq2, matching closest to the predicted values. This analysis was repeated by fitting the nonlinear model to subsets of the data that excluded any samples used in the particular differential expression comparison in order to guard against over-fitting (Supplementary Data). Results were broadly similar to those seen in Figure 7, except that edgeR-glm was observed to have higher RMSE than DESeq2 in the 100 versus 000 comparison.
Repeating these analyses using a less stringent CPM cut-off for expression of 0.5 gives results that are broadly similar to those observed in Figures 6 and 7 for a CPM cut-off of 1 (refer to Supplementary Data).
Comparing variability levels between our mixture and SEQC
Another issue to consider is whether these data sets contain more variability than comparable control data sets that are dominated by technical variation. To assess this, we looked at the prior degrees of freedom obtained from the edgeR-glm analysis fitted to all good samples only or the good and degraded samples (15 samples in each analysis). The pilot SEQC RNA-seq data set from Law et al. (2014) (15) that consisted of 16 samples (4 samples of each type A, B, C and D) was also analysed using edgeR-glm. The SEQC data set was pre-processed by filtering genes with low counts (CPM > 1 in at least 4 samples was required), then TMM normalized. The prior degrees of freedom was estimated to be 5.30 using the good samples, 4.53 for the good and degraded samples and 67.7 for the SEQC data set. This value measures the consistency of the gene-wise dispersions, with a smaller prior degrees of freedom indicating the values are more gene-specific (i.e. there is more biological variation) and larger values indicating that they are more consistent (i.e. there is more technical variation) and will be more heavily shrunk to a common value. Repeating this analysis with limma voom gave similar results with prior degrees of freedom values estimated as 5.29, 4.54 and 45.3, respectively for the 3 data sets. Plotting the BCV from the edgeR-glm analysis offers another way to visualise this (Supplementary Data). Much greater spread in gene-level variability is observed in the current mixture experiment (Supplementary Data) compared to the SEQC data set (Supplementary Data) in which all genes at a particular expression level have a very similar BCV. This analysis shows that our efforts to simulate additional variation over and above pure technical noise were successful, with our data sets having systematically higher variability than the pilot SEQC data set.
Differential splicing: three methods compared
Detection of differentially spliced (DS) genes was carried out using three available Bioconductor methods for the analysis of exon counts: DEXSeq (42), edgeR-ds (35) and voom-ds (38) (see Materials and Methods). The recovery rate and inconsistency rate of each method is examined as it was for differential expression. Rate of recovery is defined as the proportion of DS genes detected in 100 versus 000 that are also detected in another comparison (075 versus 025, 050 versus 025 or 075 versus 050) by the same method. The rate of inconsistency is defined as the proportion of genes detected as DS in a particular comparison (075 versus 025, 050 versus 025 or 075 versus 050) that were not detected in the 100 versus 000 comparison by the same method.
Using only the good samples, the recovery rates of the three methods were similar for each comparison, with DEXSeq having slightly higher recovery than edgeR-ds or voom-ds (Figure 8A). Compared to the differential expression analysis, the differential splicing methods rapidly lose the ability to recover DS genes from the 100 versus 000 comparison when the samples become more similar – 22–35% recovery for 075 versus 025, and 2–6% recovery for 050 versus 025 and 075 versus 050.
Although DEXSeq achieves slightly better recovery than edgeR-ds and voom-ds, this advantage is negated by its very high inconsistency rate (Figure 8B). For the comparisons involving subtle differences in mixture proportion, methods are expected to have both low recovery and inconsistency rates since methods should be conservative in theory. For comparisons of mixed samples, 27–39% of the genes detected as DS by DEXSeq are not detected in its corresponding 100 versus 000 analysis. This means that a third of these DS genes did not achieve significance in the comparison between the pure samples where DS genes can be detected confidently, but were significant when the between sample differences were more subtle.
On the other hand, voom-ds and edgeR-ds achieve much lower rates of inconsistency, with voom-ds being the least inconsistent. For 075 versus 025, voom-ds and edgeR-ds have inconsistency rates of 8% and 9%, respectively. These rates fall to 0% in voom-ds, and 0–5% in edgeR-ds, for the 050 versus 025 and 075 versus 050 comparisons which are the most subtle. Both of these methods have comparable, but slightly lower recovery rates than DEXSeq, however, any gene that is detected as DS by these two methods are likely to be also detected in the 100 versus 000 comparison.
Overall, DEXSeq appears to be liberal relative to voom-ds and edgeR-ds. For 100 versus 000, 635 genes are commonly detected by all three methods (41% of the total DS genes identified by any method, Figure 8C), which is much lower than was observed for the differential expression analysis (85%, Figure 6C). Another 686 genes are detected only by DEXSeq whereas voom-ds and edgeR-ds uniquely detect 70 and 27 DS genes, respectively (Figure 8C).
The analysis was repeated for comparisons where the non-degraded replicate 2 is replaced with the degraded sample (100 versus 000d, 075 versus 025d, 050 versus 025d and 075 versus 050d). The number of DS genes detected is much lower in these comparisons, with reduced recovery and inconsistency rates relative to the corresponding comparisons using good samples only (refer to Supplementary Data).
Results from comparisons between the mixture samples (075 versus 025, 050 versus 025 and 075 versus 050) indicate that the differential splicing methods deteriorate more rapidly than the differential expression analysis methods when the expression changes become more subtle, with lower recovery rates and higher inconsistency rates. In general, differential splicing analysis is more complex and challenging than differential expression analysis. Detection of differential exon usage is equivalent to a statistical test of interaction rather than of a simple change in level between two treatment conditions, so there is less statistical power to detect differential splicing. Furthermore, the total gene-level read counts used for differential expression analysis are spread over several exons per gene, leaving much lower counts per feature for exon-level analysis.
Deconvolution analysis: DeMix versus ISOpure
The mixture design is also ideal for comparing methods that aim to determine the proportions of different sample types present in heterogeneous samples. To this end, we estimate mixture proportions for 12 poly-A mRNA samples using the statistical methods DeMix (26) and ISOpure (27). These methods determine the proportions of two different cell populations (typically normal and cancer cells in a patient sample) present in a mixed sample and deconvolve the expression profiles. The input matrix for both methods are read counts from the four pure samples of each type (100, 0) and the twelve mixed samples (4 each of 75, 50 and 25). After filtering based on FC cutoffs of >2 or <0.5, only 2055 informative genes remained. As shown in Table 1, DeMix yielded proportion estimates that were closer to the ground truth (differences of less than 10%) while ISOpure largely overestimated mixture proportions across all 12 samples. We also compared the deconvolved expression values from the two methods with the four pure samples using Pearson correlation coefficients. The correlations from DeMix are all above 0.95 and were generally higher than those obtained from ISOpure (Table 1). This analysis clearly demonstrates that DeMix is a more reliable method for deconvolution analysis.
Table 1. Mixture proportions estimated from each sample from the poly-A mRNA data by the reference free methods DeMix and ISOpure. The results for the degraded sample is listed last in each cell in italics and the values closest to the true values are underlined. In each case, DeMix recovers values closest to the true values shown in the bottom row. Pearson correlation coefficients calculated between each of the deconvolved expression profiles mixed samples and the associated pure tumor sample are also shown. The highest correlation coefficients for each sample is underlined. Of the two methods compared, DeMix tends to have higher correlations (closer to 1).
Method | 25:75 | 50:50 | 75:25 |
---|---|---|---|
DeMix (estimated proportion) | 0.311, 0.294, 0.284, 0.247 | 0.563, 0.544, 0.518, 0.516 | 0.759, 0.730, 0.751, 0.733 |
DeMix (correlation) | 0.994, 0.986, 0.989, 0.996 | 0.987, 0.986, 0.959, 0.956 | 0.964, 0.998, 0.998, 0.964 |
ISOpure (estimated proportion) | 0.654, 0.673, 0.655, 0.615 | 0.917, 0.913, 0.908, 0.883 | 1.00, 1.00, 1.00, 1.00 |
ISOpure (correlation) | 0.975, 0.971, 0.976, 0.965 | 0.973, 0.968, 0.946, 0.955 | 0.959, 0.986, 0.987, 0.964 |
True proportion | 0.25 | 0.5 | 0.75 |
DISCUSSION
For common tasks like differential expression analysis, there have been many comparison studies that have arrived at various conclusions on the ‘best’ method using different data sets (both simulated and experimental) and assessment criteria (15,16,40,43–47). Some find voom to be best (15,43), or edgeR (44,47), or DESeq2 (40,46) or edgeR and DESeq2 to be equal best (45). In terms of our main results from comparing differential expression testing methods on our mixture data set, we find voom-qw to be most sensitive followed by DESeq2, edgeR (glm and classic), voom and finally baySeq (both normal and regular) is the least sensitive. Recent work has shown that combining differential expression methods in a weighted manner (48) can offer better results than relying on individual methods. Further exploration of this approach on data sets such as this, while including methods such as voom-qw would be an interesting topic for future research. Optimising such an approach has the potential to ensure, that for any given data set, the best possible results are obtained.
For differential splicing, our study is the first to compare DEXSeq with the competing methods in edgeR and limma. The latter methods were found to be more conservative than DEXSeq, identifying somewhat fewer differential splicing events, but achieved much better consistency than DEXSeq.
Unlike the study of Gallego Romero et al. (2014) (49), who degrade PBMC samples by leaving them at room temperature for varying lengths of time, our work couples sample degradation with a classic mixture design that allows precision and bias to be assessed for every expressed gene. Our experiment has three replicate samples per mixture, which is close to the minimum that can be used for tasks like differential expression analysis and differential splicing analysis, so our comparisons should be interpreted with this in mind, in that we are working in the most difficult setting, which is nonetheless common in practice. A limitation of the current study is that we simulated a third of the data to be more variable by degrading one sample from each group. This study design particularly tests the ability of differential expression methods to tolerate heterogeneous variability across the samples. If we turn this around and have the majority of samples being more variable, tasks like detecting differential expression with such a small sample size will become much harder and yield many fewer significant results irrespective of the method chosen.
Further extensions to this experiment could include other library preparation methods, such as exome capture, which has been shown to improve the results from degraded samples (50) or Globin depletion methods (51), although the mixture would need to be re-designed to include an appropriate blood sample to make this comparison informative. The inclusion of controls such as the External RNA Controls Consortium spike-in mixes (1 and 2) in different samples is another enhancement that would provide transcripts with known FCs as a further tool for assessing bias. The addition of spliced spike-in controls (52) is another alternative that would better tailor the experiment for benchmarking differential splicing methods.
Other genomics applications, such as ChIP-seq or RNA-seq using new technologies, such as long read sequencing platforms from companies such as Pacific Biosciences (Sequel) or Oxford Nanopore Technology (MinION and PromethION) could also benefit from having available a reference data set such as this to allow methodology testing and inter-platform comparisons.
Our analysis has included many of the most popular Bioconductor tools but is not intended as an exhaustive methods comparison. Different algorithms for other common analysis tasks such as read alignment and gene counting, normalization, fusion-detection, intron retention analysis and gene set testing, to name a few possibilities, could also be compared using this data set. We also did not test every capability of the software packages, in particular, we have not tested the ability of the software packages to analyse complex experimental designs with multiple treatment factors and blocking variables. We have also not tested the newer features of some of the packages, e.g. edgeR's robust dispersion estimation (53), edgeR's quasi-likelihood pipeline (54) or limma's robust empirical Bayes (55). A natural way to facilitate widespread systematic evaluations of other methods would be to incorporate this data set into one of the recently released RNA-seq benchmarking tools such as RNASEQcomp (56) or RNAonthebench (57).
CONCLUSION
We have generated a unique control experiment that is the first to include sample-level heterogeneity induced by systematically degrading samples in order to simulate this routine source of variation. The variability added to our study has shifted the noise profile away from the pure technical end of the spectrum typical of previous mixture experiments much closer to variation levels seen in regular experiments. The classic mixture design allows precision and bias to be quantified via a non-linear model for each gene, and used as a basis for comparing different sample preparation methods. The comparison of poly-A mRNA and total RNA sample preparation kits from Illumina saw differences in the detection of several RNA classes, with more reads mapping to ncRNA, snoRNAs and snRNAs using the total RNA protocol. This comes at a price, with the total RNA protocol sequencing a greater number of intronic reads compared to the poly-A method. Our investigations showed that these intronic reads measure signal rather than random noise irrespective of the library preparation method used. The estimated log-FCs obtained from modelling either intron counts or exon counts at the gene-level were highly correlated, indicating that including these reads in gene-level analyses rather than ignoring them as is standard practice offers a simple way to boost signal on the order of 20–30%. This observation warrants further investigation using other published RNA-seq data through re-analysis with and without the intronic reads. It could deliver savings on the cost of sequencing by allowing more samples to be multiplexed per run for an equivalent amount of gene-centric sequencing once exon and intron reads are pooled. The inclusion of degraded samples in the analysis had a more profound effect on the variability of the poly-A mRNA data than the total RNA data, which suggests that the latter method is the best choice in experiments where degraded samples are expected, such as in clinical studies.
This mixture design also allows for internal comparisons to be made within methods for benchmarking differential expression and differential splicing analysis methods. How well a given method can detect changes when the differences are large and relatively easy to detect is used as the ‘true positive’ set and compared to the results obtained when an independent set of samples that show more subtle changes are compared in a pair-wise manner. Although most methods perform well at recovering these ‘true positives’ with high overlap in the easiest ‘pure versus pure’ comparison (100 versus 000), the voom-qw method that explicitly deals with sample-level variation slightly outperforms other methods, with DESeq2 second best, followed by the two edgeR methods which perform similarly, then standard voom, and finally the two baySeq methods that have the least power and consistency. In terms of bias, DESeq2 gives FCs that slightly underestimate the consensus values obtained from the nonlinear model, indicating that its shrinkage procedure gives conservative results. For differential splicing methods, edgeR-ds and voom-ds were found to both be conservative relative to the most popular method, DEXSeq, however, DEXSeq tended to have a high inconsistency rate compared to these other methods. This is the first time that a mixture experiment has been used to benchmark differential splicing methods. The results from the deconvolution analysis showed that DeMix consistently outperformed ISOpure. Our work demonstrates the utility of carefully designed control experiments for benchmarking library preparation kits and analysis methods.
AVAILABILITY
Raw sequence data are available under GEO series accession numbers GSE86337 (pilot experiment) and GSE64098 (mixture experiment). Analysis scripts and processed data are available from the Supplementary Information website at http://bioinf.wehi.edu.au/folders/rnaseqmixture/.
Supplementary Material
ACKNOWLEDGEMENTS
The authors thank Dr Yunshun Chen and Dr Wei Shi for analysis advice and Dr Stephen Wilcox for technical advice on RNA-seq protocols.
SUPPLEMENTARY DATA
Supplementary Data are available at NAR Online.
FUNDING
National Health and Medical Research Council [1050661 to M.E.R., G.K.S. and M.L.A.L., 1079756 to M.L.A.L. and M.E.R., 1045936 to M.E.R. and 1059622 to M.E.R., Fellowships 1104924 to M.E.R. and 1058892 to G.K.S.]; Victorian State Government Operational Infrastructure Support, Australian Government NHMRC IRIISS and the Ian Potter Centre for Genomics and Personalised Medicine.
Conflict of interest statement. None declared.
REFERENCES
- 1. Lockhart D.J., Dong H., Byrne M.C., Follettie M.T., Gallo M.V., Chee M.S., Mittmann M., Wang C., Kobayashi M., Horton H. et al. . Expression monitoring by hybridization to high-density oligonucleotide arrays. Nat. Biotechnol. 1996; 14:1675–1680. [DOI] [PubMed] [Google Scholar]
- 2. Cope L.M., Irizarry R.A., Jaffee H.A., Wu Z., Speed T.P.. A benchmark for Affymetrix GeneChip expression measures. Bioinformatics. 2004; 20:323–331. [DOI] [PubMed] [Google Scholar]
- 3. Irizarry R.A., Wu Z., Jaffee H.A.. Comparison of Affymetrix GeneChip expression measures. Bioinformatics. 2006; 22:789–794. [DOI] [PubMed] [Google Scholar]
- 4. Wu Z. A review of statistical methods for preprocessing oligonucleotide microarrays. Stat. Methods Med. Res. 2009; 18:533–541. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5. Lemon W., Palatini J., Krahe R., Wright F.. Theoretical and empirical comparisons of gene expression indexes for oligonucleotide arrays. Bioinformatics. 2002; 18:1470–1476. [DOI] [PubMed] [Google Scholar]
- 6. He Y.D., Dai H., Schadt E.E., Cavet G., Edwards S.W., Stepaniants S.B., Duenwald S., Kleinhanz R., Jones A.R., Shoemaker D.D. et al. . Microarray standard data set and figures of merit for comparing data processing methods and experiment designs. Bioinformatics. 2003; 19:956–965. [DOI] [PubMed] [Google Scholar]
- 7. Barnes M., Freudenberg J., Thompson S., Aronow B., Pavlidis P.. Experimental comparison and cross-validation of the Affymetrix and Illumina gene expression analysis platforms. Nucleic Acids Res. 2005; 33:5914–5923. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8. Holloway A.J., Oshlack A., Diyagama D.S., Bowtell D.D., Smyth G.K.. Statistical analysis of an RNA titration series evaluates microarray precision and sensitivity on a whole-array basis. BMC Bioinformatics. 2006; 7:511. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9. MAQC Consortium. The MicroArray Quality Control (MAQC) project shows inter- and intraplatform reproducibility of gene expression measurements. Nat. Biotechnol. 2006; 24:1151–1161. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10. SEQC/MAQC-III Consortium. A comprehensive assessment of RNA-seq accuracy, reproducibility and information content by the Sequencing Quality Control Consortium. Nat. Biotechnol. 2014; 32:903–914. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11. Zakharkin S.O., Kim K., Mehta T., Chen L., Barnes S., Scheirer K.E., Parrish R.S., Allison D.B., Page G.P.. Sources of variation in Affymetrix microarray experiments. BMC Bioinformatics. 2005; 6:214. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12. Boedigheimer M.J., Wolfinger R.D., Bass M.B., Bushel P.R., Chou J.W., Cooper M., Corton J.C., Fostel J., Hester S., Lee J.S. et al. . Sources of variation in baseline gene expression levels from toxicogenomics study control animals across multiple laboratories. BMC Genomics. 2008; 9:285. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13. Hansen K.D., Wu Z., Irizarry R.A., Leek J.T.. Sequencing technology does not eliminate biological variability. Nat. Biotech. 2011; 29:572–573. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14. Esnaola M., Puig P., Gonzalez D., Castelo R., Gonzalez J.R.. A flexible count data model to fit the wide diversity of expression profiles arising from extensively replicated RNA-seq experiments. BMC Bioinformatics. 2013; 14:254. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15. Law C.W., Chen Y., Shi W., Smyth G.K.. Voom: precision weights unlock linear model analysis tools for RNA-seq read counts. Genome Biol. 2014; 15:R29. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16. Schurch N.J., Schofield P., Gierliński M., Cole C., Sherstnev A., Singh V., Wrobel N., Gharbi K., Simpson G.G., Owen-Hughes T. et al. . How many biological replicates are needed in an RNA-seq experiment and which differential expression tool should you use?. RNA. 2016; 22:839–851. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17. Liao Y., Smyth G.K., Shi W.. The Subread aligner: fast, accurate and scalable read mapping by seed-and-vote. Nucleic Acids Res. 2013; 41:e108. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18. Liao Y., Smyth G.K., Shi W.. featureCounts: an efficient general-purpose program for assigning sequence reads to genomic features. Bioinformatics. 2014; 30:923–930. [DOI] [PubMed] [Google Scholar]
- 19. Wang L., Wang S., Li W.. RSeQC: Quality Control of RNA-seq experiments. Bioinformatics. 2012; 28:2184–2185. [DOI] [PubMed] [Google Scholar]
- 20. Smyth G. Partitioned algorithms for maximum likelihood and other non-linear estimation. Stat. Comput. 1996; 6:201–216. [Google Scholar]
- 21. Bullard J.H., Purdom E., Hansen K.D., Dudoit S.. Evaluation of statistical methods for normalization and differential expression in mRNA-Seq experiments. BMC Bioinformatics. 2010; 11:94. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22. Anders S., Huber W.. Differential expression analysis for sequence count data. Genome Biol. 2010; 11:R106. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23. Robinson M.D., Oshlack A.. A scaling normalization method for differential expression analysis of RNA-seq data. Genome Biol. 2010; 11:R25. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24. Chen Y., Lun A., Smyth G.K.. Datta S, Nettleton DS. Differential expression analysis of complex RNA-seq experiments using edgeR. Statistical Analysis of Next Generation Sequence Data. 2014; NY: Springer; 51–74. [Google Scholar]
- 25. Benjamini Y., Hochberg Y.. Controlling the false discovery rate: a practical and powerful approach to multiple testing. J. R. Stat. Soc. B. 1995; 57:289–300. [Google Scholar]
- 26. Ahn J., Yuan Y., Parmigiani G., Suraokar M.B., Diao L., Wistuba I.I., Wang W.. DeMix: deconvolution for mixed cancer transcriptomes using raw measured data. Bioinformatics. 2013; 29:1865–1871. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27. Quon G., Haider S., Deshwar A.G., Cui A., Boutros P.C., Morris Q.D.. Computational purification of individual tumor gene expression profiles leads to significant improvements in prognostic prediction. Genome Med. 2013; 5:29. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28. Shen-Orr S.S., Gaujoux R.. Computational deconvolution: extracting cell type-specific information from heterogeneous samples. Curr. Opin. Immunol. 2013; 25:571–578. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29. R Development Core Team. R: A language and environment for statistical computing R Foundation for Statistical Computing Vienna. 2016; Vienna: R Foundation for Statistical Computing. [Google Scholar]
- 30. Zhao W., He X., Hoadley K.A., Parker J.S., Hayes D.N., Perou C.M.. Comparison of RNA-Seq by poly (A) capture, ribosomal RNA depletion, and DNA microarray for expression profiling. BMC Genomics. 2014; 15:419. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31. Cui P., Lin Q., Ding F., Xin C., Gong W., Zhang L., Geng J., Zhang B., Yua X., Yang J. et al. . A comparison between ribo-minus RNA-sequencing and polyA-selected RNA-sequencing. Genomics. 2010; 96:259–265. [DOI] [PubMed] [Google Scholar]
- 32. Huber W., Carey V.J., Gentleman R., Anders S., Carlson M., Carvalho B.S., Bravo H.C., Davis S., Gatto L., Girke T. et al. . Orchestrating high-throughput genomic analysis with Bioconductor. Nat. Methods. 2015; 12:115–121. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33. Robinson M.D., McCarthy D.J., Smyth G.K.. edgeR: a Bioconductor package for differential expression analysis of digital gene expression data. Bioinformatics. 2010; 26:139–140. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34. Robinson M.D., Smyth G.K.. Small-sample estimation of negative binomial dispersion, with applications to SAGE data. Biostatistics. 2008; 9:321–332. [DOI] [PubMed] [Google Scholar]
- 35. McCarthy D.J., Chen Y., Smyth G.K.. Differential expression analysis of multifactor RNA-Seq experiments with respect to biological variation. NAR. 2012; 40:4288–4297. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36. Hardcastle T.J. baySeq: Empirical Bayesian analysis of patterns of differential expression in count data. 2012; R package version 2.2.0. [DOI] [PMC free article] [PubMed]
- 37. Hardcastle T.J., Kelly K.A.. baySeq: Empirical Bayesian methods for identifying differential expression in sequence count data. BMC Bioinformatics. 2010; 11:422. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38. Ritchie M.E., Phipson B., Wu D., Hu Y., Law C.W., Shi W., Smyth G.K.. limma powers differential expression analyses for RNA-sequencing and microarray studies. Nucleic Acids Res. 2015; 43:e47. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39. Liu R., Holik A.Z., Su S., Jansz N., Chen K., Leong H.S., Blewitt M.E., Asselin-Labat M.L., Smyth G.K., Ritchie M.E.. Why weight? Combining voom with estimates of sample quality improves power in RNA-seq analyses. NAR. 2015; 43:e97. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40. Love M.I., Huber W., Anders S.. Moderated estimation of fold change and dispersion for RNA-seq data with DESeq2. Genome Biol. 2014; 15:550. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41. Liu R., Chen K., Jansz N., Blewitt M.E., Ritchie M.E.. Transcriptional profiling of the epigenetic regulator Smchd1. Genomics Data. 2016; 7:144–147. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42. Anders S., Reyes A., Huber W.. Detecting differential usage of exons from RNA-seq data. Genome Res. 2012; 22:2008–2017. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 43. Soneson C., Delorenzi M.. A comparison of methods for differential expression analysis of RNA-seq data. BMC Bioinformatics. 2013; 14:91. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44. Zhang Z., Jhaveri D., Marshall V., Bauer D., Edson J., Narayanan R., Robinson G., Lundberg A., Bartlett P., Wray N. et al. . A Comparative Study of Techniques for Differential Expression Analysis on RNA-Seq Data. PLoS One. 2014; 9:e103207. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45. Ching T., Huang S., Garmire L.X.. Power analysis and sample size estimation for RNA-Seq differential expression. RNA. 2014; 20:1684–1696. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 46. Burden C., Qureshi S.E., Wilson S.R.. Error estimates for the analysis of differential expression from RNA-seq count data. PeerJ. 2014; 2:e576. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 47. Rajkumar A.P., Qvist P., Lazarus R., Lescai F., Ju J., Nyegaard M., Mors O., Børglum A.D., Li Q., Christensen J.H.. Experimental validation of methods for differential gene expression analysis and sample pooling in RNA-seq. BMC Genomics. 2015; 16:548. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 48. Moulos P., Hatzis P.. Systematic integration of RNA-Seq statistical algorithms for accurate detection of differential gene expression patterns. Nucleic Acids Res. 2015; 43:e25. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 49. Gallego Romero I., Pai A.A., Tung J., Gilad Y.. RNA-seq: impact of RNA degradation on transcript quantification. BMC Biol. 2014; 12:42. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 50. Cieslik M., Chugh R., Wu Y.M., Wu M., Brennan C., Lonigro R., Su F., Wang R., Siddiqui J., Mehra R. et al. . The use of exome capture RNA-seq for highly degraded RNA with application to clinical cancer sequencing. Genome Res. 2015; 25:1372–1381. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 51. Shin H., Shannon C.P., Fishbane N., Ruan J., Zhou M., Balshaw R., Wilson-McManus J.E., Ng R.T., McManus B.M., Tebbutt S.J. et al. . Variation in RNA-Seq transcriptome profiles of peripheral whole blood from healthy individuals with and without globin depletion. PLoS One. 2014; 9:e91041. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 52. Hardwick S.A., Chen W.Y., Wong T., Deveson I.W., Blackburn J., Andersen S.B., Nielsen L.K., Mattick J.S., Mercer T.R.. Spliced synthetic genes as internal controls in RNA sequencing experiments. Nat. Methods. 2016; 13:792–798. [DOI] [PubMed] [Google Scholar]
- 53. Zhou X., Lindsay H., Robinson M.D.. Robustly detecting differential expression in RNA sequencing data using observation weights. Nucleic Acids Res. 2014; 42:e91. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 54. Lun A.T.L., Chen Y., Smyth G.K.. It's DE-licious: a recipe for differential expression analyses of RNA-seq experiments using quasi-likelihood methods in edgeR. Methods Mol. Biol. 2016; 1418:391–416. [DOI] [PubMed] [Google Scholar]
- 55. Phipson B., Lee S., Majewski I.J., Alexander W.S., Smyth G.K.. Robust hyperparameter estimation protects against hypervariable genes and improves power to detect differential expression. Ann. Appl. Stat. 2016; 10:946–963. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 56. Teng M., Love M.I., Davis C.A., Djebali S., Dobin A., Graveley B.R., Li S., Mason C.E., Olson S., Pervouchine D. et al. . A benchmark for RNA-seq quantification pipelines. Genome Biol. 2016; 17:74. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 57. Germain P.-L., Vitriolo A., Adamo A., Laise P., Das V., Testa G.. RNAontheBENCH: Computational and empirical resources for benchmarking RNAseq quantification and differential expression methods. Nucleic Acids Res. 2016; 44:5054–5067. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.