Abstract
Priming of random hexamers in cDNA synthesis is known to show sequence bias, but in addition it has been suggested recently that mismatches in random hexamer priming could be a cause of mismatches between the original RNA fragment and observed sequence reads. To explore random hexamer mispriming as a potential source of these errors, we analyzed two independently generated RNA-seq datasets of synthetic ERCC spikes for which the reference is known. First strand cDNA synthesized by random hexamer priming on RNA showed consistent position and nucleotide-specific mismatch errors in the first seven nucleotides. The mismatch errors found in both datasets are consistent in distribution and thermodynamically stable mismatches are more common. This strongly indicates that RNA-DNA mispriming of specific random hexamers causes these errors. Due to their consistency and specificity, mispriming errors can have profound implications for downstream applications if not dealt with properly.
Introduction
RNA-seq is a widely used tool for transcriptome analysis and gene expression estimation. Most commonly, mRNA is fragmented followed by reverse transcription into first strand cDNA primed by random hexamers. Subsequently, second strand cDNA is synthesized from first strand cDNA by DNA polymerase, again initiated by random hexamer priming. Bias in hexamer distribution and CG content affects abundance estimates and several bias correction algorithms have been developed e.g. [1-5].
Apart from bias in hexamer priming sites, random hexamer mispriming has recently been implicated in sequence read to reference mismatches. Because mismatches mainly occur in the first seven nucleotides of first strand cDNA [4,6] and are observed in transcriptomic but not genomic sequencing datasets [1], RNA-DNA mispriming of random hexamers during first strand cDNA synthesis has been suggested as a likely explanation for the observed sequence mismatches [4,6,7]. It is important to recognize such technical artifacts because they might obviate biological interpretation of observed SNP patterns or RNA-editing [6-9].
This paper deals with sequence read to reference mismatches commonly observed in RNA-sequencing data. Mismatches are defined as any position in sequencing reads that deviate from the reference to which these reads align. Mismatches can reflect 1) true biological variation, both in genomic DNA or caused by RNA-editing, or 2) errors in the library preparation process caused by hexamer mispriming or PCR errors, and finally 3) sequencing errors caused by the erroneous identification of bases in the sequencing process. We focus on errors that most likely arise in the library preparation phase. During RNA-seq library preparation, polyA+ RNA is fragmented and reverse transcribed into first strand cDNA initiated by random hexamer priming. We refer to mismatches between the reference fragment and the observed sequence that are caused by RNA-DNA hexamer mispriming during first strand cDNA synthesis as RD-mismatches. Similarly, we use the term DD-mismatches to describe errors caused by DNA-DNA hexamer mispriming during second strand cDNA synthesis.
Errors caused by random hexamer mispriming have thus far received limited attention. While read trimming to exclude error-rich first stretches of RNA-seq reads is done in some studies [10,11], there is currently limited insight into the problem and no general consensus exists on how to efficiently deal with it in RNA-seq data. Here we perform a detailed analysis of both RD-mispriming and DD-mispriming in RNA-seq data in order to further our understanding of the causes and possible consequences of errors associated with random hexamer binding.
Materials and Methods
We conducted a RNA-seq experiment of Taraxacum officinale RNA mixed with ERCC RNA spikes. Twenty-three libraries were multiplexed using Illumina’s multiplex sequencing assay and pooled with a 2% ERCC spike [12]. Subsequently they were sequenced on 2 Hiseq lanes yielding a total of 2.4 million 100bp read pairs mapping to the ERCC spike set. Adapter trimming and quality filtering was done using Fastq-mcf v1.0.3-r152 with the following settings (-x 0 –k 0 –q 20). Mapping was done with BWA 0.6.1-r104 with default settings. Unpaired reads or reads from pairs with incorrect insert sizes containing adapter remnants at the 3’ end were excluded from this analysis. A custom python script (available at http://goo.gl/5c9DaZ) was used to identify positional errors in forward and reverse mapping reads from the bam file, data are deposited in the SRA with reference number SRR954526. ERCC RNA-seq data described in [4]; GSM517062) were mapped and analyzed with the same settings.
Results and Discussion
We analyzed two independently generated RNA-seq datasets, focusing on reads mapping to ERCC spikes which are artificial RNA fragments of known sequence that are added during library preparation[4]. Reverse mapping reads represent first strand cDNA and forward mapping reads represent second strand cDNA. Because the reference strand is known for all ERCC’s, deviations represent library preparation or sequencing errors, not true biological variation. For all positions in reverse and forward reads, substitution errors were calculated by parsing the sequence and MD tag of all reads in the SAM file. Here, the mismatching and expected nucleotide as well as position is denoted. Consistent with previous results [4,6,8], we observed that per position nucleotide mismatch rates are higher for the first seven nucleotides compared to the rest of the sequence reads. As we can separate first and second strand synthesis we show that first strand synthesis mismatch rate is higher, consistent with RNA-DNA hexamer mispriming (Figure 1). Of importance, these are bases called with high quality, and thus do not likely represent sequencing error. A slight increase in mismatch rate was also detected for initial nucleotides of second strand cDNA, suggesting that DNA-DNA hexamer binding is not insensitive to mispriming errors. Sequence to reference mismatches are not limited to the first nucleotide as commonly observed in Illumina sequencing data [13], but similar to first strand cDNA, show higher rates in the first seven nucleotides compared to the rest of the read.
First strand cDNA mismatches in the first seven base pairs corresponding to the hexamer binding site and the base immediately downstream of this show position-dependent and nucleotide-dependent mismatch patterns (Figure 2). These specific mismatch patterns differ markedly from the mismatch rates and distribution observed downstream of base seven caused by sequencing or PCR errors (Figure 3). RNA-seq reads derived from first strand cDNA that that start with A or T misprime in 20% of the cases, in which rA-dC and rU-dC mispriming are most common. In positions 2-6 ~65% of mispriming events consist of rU-dG and rG-dT, which are most stable among all 12 possible RNA-DNA misprimed pairs [14]. Overall, hexamer mispriming occurs most commonly at RNA binding sites with uracil, whereas cytosine in RNA prevents most hexamers from mispriming (Figure 2).
Thus we conclude that mispriming is non-random and can be heavily biased, as RNA binding sites with a U at positions three and four (relative to the hexamers 5’ end) misprime with hexamers having a G at that position in ~88% of the mispriming cases. These specific mismatch patterns were observed consistently in two independent data sets (Figure 3). The distribution, type and repeatability of mismatch patterns demonstrate that not all mispriming events have the same likelihood and RNA-DNA hexamer mispriming is the main source of error in the first seven nucleotides.
Consistent mismatch patterns observed in the first seven nucleotides of first strand cDNA will affect downstream applications such as de novo assembly, SNP calling and RNA-editing analysis. For instance, consistent and high (20%) mismatch rates can be problematic for k-mer assembly strategies, as these erroneous k-mers cannot be effectively combined with “true” k-mers. Because mispriming rates are not random and for some positions heavily biased (Figure 2) they can contribute to false positive variants that might not be detected based on filtering criteria such as read count or quality thresholds. Indeed, mismatches between human RNA-seq reads and the human reference genome have been interpreted as evidence for widespread RNA-editing [9]. Several reports highlight the overrepresentation of mismatches in the first six positions of first strand cDNA[6-8], suggesting hexamer mispriming on RNA as an explanation for the observed mismatches. Our study confirms the generality and specificity of hexamer mispriming, thus providing further support to this explanation. In fact, there are examples of filtering and preprocessing steps that counter the effect of random hexamer mispriming induced mismatches, however, their origin is not described. For example, empirically derived filtering parameters for putative somatic mutations used in Varscan 2 exclude the first ten bases of reads [15], and 5’ trimming has been applied to Illumina RNA-seq reads showing an increased N50, average and maximum contig length [10].
Identification of the hexamers that are most commonly involved in mispriming as well as the type and position of the mismatches this generates can aid in the design of strategies to counter the effects that these errors can have in downstream applications. Our results suggest that it could be useful to explore less aggressive approaches than trimming. Such approaches could include post-mapping correction of 5’ mismatches, modifications to random hexamer design to exclude commonly mispriming hexamers and specific bias correction models that mask or remove the observed mismatches in the first seven bases of reads.
Conclusion
Our analyses shows strong and consistent bias in sequence errors in 5’ ends of RNA-seq reads, which (1) strongly supports the hypothesis that random hexamer mispriming during first strand cDNA synthesis causes the errors, and (2) highlights the risk of errors in downstream applications as well as suboptimal data use. We conclude that technical artifacts in sequencing data are insufficiently described. Further research on random hexamer mispriming will inform optimized strategies to mitigate their negative effect on downstream analysis.
Acknowledgments
We thank Joke van Vugt and Arjen Biere for their insightful comments and discussion on the manuscript, and Carla Oplaat and Alison Morse for generating the Taraxacum sequence libraries. This is publication 5497 of the Netherlands Institute of Ecology (NIOO-KNAW).
Funding Statement
This study was funded by NWO Netherlands (Netherlands Organization for scientific research) (www.nwo.nl) grant number NWO-ALW 820.01.025). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
References
- 1. Hansen KD, Brenner SE, Dudoit S (2010) Biases in Illumina transcriptome sequencing caused by random hexamer priming. Nucleic Acids Res 38: e131–e131. doi: 10.1093/nar/gkq224. PubMed: 20395217. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2. Zheng W, Chung LM, Zhao H (2011) Bias detection and correction in RNA-Sequencing data. Bmc Bioinformatics 12: 290. doi: 10.1186/1471-2105-12-290. PubMed: 21771300. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3. Schwartz S, Oren R, Ast G (2011) Detection and Removal of Biases in the Analysis of Next-Generation Sequencing Reads. PLOS ONE 6: e16685. doi: 10.1371/journal.pone.0016685.g006. PubMed: 21304912. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4. Jiang L, Schlesinger F, Davis CA, Zhang Y, Li R et al. (2011) Synthetic spike-in standards for RNA-seq experiments. Genome Res 21: 1543–1551. doi: 10.1101/gr.121095.111. PubMed: 21816910. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5. Benjamini Y, Speed TP (2012) Summarizing and correcting the GC content bias in high-throughput sequencing. Nucleic Acids Res 40: e72. doi: 10.1093/nar/gks001. PubMed: 22323520. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6. Pickrell JK, Gilad Y, Pritchard JK (2012) Comment on "Widespread RNA and DNA sequence differences in the human transcriptome". Science 335: 1302 –authorreply1302 doi: 10.1126/science.1210624. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7. Kleinman CL, Majewski J (2012) Comment on “Widespread RNA and DNA Sequence Differences in the Human Transcriptome.”. Science 335: 1302–1302. doi: 10.1126/science.1209658. [DOI] [PubMed] [Google Scholar]
- 8. Lin W, Piskol R, Tan MH, Li JB (2012) Comment on “Widespread RNA and DNA Sequence Differences in the Human Transcriptome.”. Science 335: 1302–1302. doi: 10.1126/science.1210624. [DOI] [PubMed] [Google Scholar]
- 9. Li M, Wang IX, Li Y, Bruzel A, Richards AL et al. (2011) Widespread RNA and DNA sequence differences in the human transcriptome. Science 333: 53–58. doi: 10.1126/science.1207018. PubMed: 21596952. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10. Matvienko M, Kozik A, Froenicke L, Lavelle D, Martineau B et al. (2013) Consequences of Normalizing Transcriptomic and Genomic Libraries of Plant Genomes Using a Duplex-Specific Nuclease and Tetramethylammonium Chloride. PLOS ONE 8: e55913. doi: 10.1371/journal.pone.0055913. PubMed: 23409088. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11. Ashrafi H, Hill T, Stoffel K, Kozik A, Yao J et al. (2012) De novo assembly of the pepper transcriptome (Capsicum annuum): a benchmark for in silico discovery of SNPs, SSRs and candidate genes. BMC Genomics 13: 571. doi: 10.1186/1471-2164-13-571. PubMed: 23110314. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12. Zook JM, Samarov D, McDaniel J, Sen SK, Salit M (2012) Synthetic spike-in standards improve run-specific systematic error analysis for DNA and RNA sequencing. PLOS ONE 7: e41356. doi: 10.1371/journal.pone.0041356.g005. PubMed: 22859977. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13. Dohm JC, Lottaz C, Borodina T, Himmelbauer H (2008) Substantial biases in ultra-short read data sets from high-throughput DNA sequencing. Nucleic Acids Res 36: e105–e105. doi: 10.1093/nar/gkn425. PubMed: 18660515. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14. Sugimoto N, Nakano M, Nakano S (2000) Thermodynamics-structure relationship of single mismatches in RNA/DNA duplexes. Biochemistry 39: 11270–11281. doi: 10.1021/bi000819p. PubMed: 10985772. [DOI] [PubMed] [Google Scholar]
- 15. Koboldt DC, Zhang Q, Larson DE, Shen D, McLellan MD et al. (2012) VarScan 2: somatic mutation and copy number alteration discovery in cancer by exome sequencing. Genome Res 22: 568–576. doi: 10.1101/gr.129684.111. PubMed: 22300766. [DOI] [PMC free article] [PubMed] [Google Scholar]