Skip to main content

Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

  • Protocol
  • Published:

De novo transcript sequence reconstruction from RNA-seq using the Trinity platform for reference generation and analysis

Abstract

De novo assembly of RNA-seq data enables researchers to study transcriptomes without the need for a genome sequence; this approach can be usefully applied, for instance, in research on 'non-model organisms' of ecological and evolutionary importance, cancer samples or the microbiome. In this protocol we describe the use of the Trinity platform for de novo transcriptome assembly from RNA-seq data in non-model organisms. We also present Trinity-supported companion utilities for downstream applications, including RSEM for transcript abundance estimation, R/Bioconductor packages for identifying differentially expressed transcripts across samples and approaches to identify protein-coding genes. In the procedure, we provide a workflow for genome-independent transcriptome analysis leveraging the Trinity platform. The software, documentation and demonstrations are freely available from http://trinityrnaseq.sourceforge.net. The run time of this protocol is highly dependent on the size and complexity of data to be analyzed. The example data set analyzed in the procedure detailed herein can be processed in less than 5 h.

This is a preview of subscription content, access via your institution

Access options

Buy this article

Prices may be subject to local taxes which are calculated during checkout

Figure 1: Overview of Trinity assembly and analysis pipeline.
Figure 2: Effects of in silico fragment normalization of RNA-seq data on Trinity full-length transcript reconstruction.
Figure 3: Transcriptome and genome representations of alternatively spliced transcripts.
Figure 4: Strand-specific library types.
Figure 5: Full-length transcript reconstruction by Trinity in different organisms, sequencing depths and parameters.
Figure 6: Evaluating paired-read support via the Jaccard similarity coefficient.
Figure 7: De novo transcriptome assembly and analysis workflow.
Figure 8: Abundance estimation via expectation maximization by RSEM.
Figure 9: Pairwise comparisons of transcript abundance.
Figure 10: Comparisons of transcriptional profiles across samples.

Similar content being viewed by others

References

  1. Wang, Z., Gerstein, M. & Snyder, M. RNA-seq: a revolutionary tool for transcriptomics. Nat. Rev. Genet. 10, 57–63 (2009).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  2. Haas, B.J. & Zody, M.C. Advancing RNA-seq analysis. Nat. Biotechnol. 28, 421–423 (2010).

    Article  CAS  PubMed  Google Scholar 

  3. Martin, J.A. & Wang, Z. Next-generation transcriptome assembly. Nat. Rev. Genet. 12, 671–682 (2011).

    Article  CAS  PubMed  Google Scholar 

  4. Trapnell, C. et al. Differential gene and transcript expression analysis of RNA-seq experiments with TopHat and Cufflinks. Nat. Protoc. 7, 562–578 (2012).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  5. Guttman, M. et al. Ab initio reconstruction of cell type–specific transcriptomes in mouse reveals the conserved multi-exonic structure of lincRNAs. Nat. Biotechnol. 28, 503–510 (2010).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  6. Robertson, G. et al. De novo assembly and analysis of RNA-seq data. Nat. Methods 7, 909–912 (2010).

    Article  CAS  PubMed  Google Scholar 

  7. Schulz, M.H., Zerbino, D.R., Vingron, M. & Birney, E. Oases: robust de novo RNA-seq assembly across the dynamic range of expression levels. Bioinformatics 28, 1086–1092 (2012).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  8. Grabherr, M.G. et al. Full-length transcriptome assembly from RNA-seq data without a reference genome. Nat. Biotechnol. 29, 644–652 (2011).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  9. Duan, J., Xia, C., Zhao, G., Jia, J. & Kong, X. Optimizing de novo common wheat transcriptome assembly using short-read RNA-seq data. BMC Genomics 13, 392 (2012).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  10. Xu, D.L. et al. De novo assembly and characterization of the root transcriptome of Aegilops variabilis during an interaction with the cereal cyst nematode. BMC Genomics 13, 133 (2012).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  11. Zhao, Q.Y. et al. Optimizing de novo transcriptome assembly from short-read RNA-seq data: a comparative study. BMC Bioinformatics 12 (suppl. 14), S2 (2011).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  12. Henschel, R. et al. Trinity RNA-seq assembler performance optimization. XSEDE '12 Proceedings of the 1st Conference of the Extreme Science and Engineering Discovery Environment: bridging from the eXtreme to the campus and beyond (Chicago, Illinois, USA, July 16–20, 2012) http://dx.doi.org/10.1145/2335755.2335842 (2012).

  13. Marcais, G. & Kingsford, C. A fast, lock-free approach for efficient parallel counting of occurrences of k-mers. Bioinformatics 27, 764–770 (2011).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  14. Li, B. & Dewey, C.N. RSEM: accurate transcript quantification from RNA-seq data with or without a reference genome. BMC Bioinformatics 12, 323 (2011).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  15. Robinson, M.D., McCarthy, D.J. & Smyth, G.K. edgeR: a Bioconductor package for differential expression analysis of digital gene expression data. Bioinformatics 26, 139–140 (2010).

    Article  CAS  PubMed  Google Scholar 

  16. Anders, S. & Huber, W. Differential expression analysis for sequence count data. Genome Biol. 11, R106 (2010).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  17. 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 11, 94 (2010).

    Article  PubMed  PubMed Central  CAS  Google Scholar 

  18. Fang, Z. & Cui, X. Design and validation issues in RNA-seq experiments. Briefi. Bioinform. 12, 280–287 (2011).

    Article  CAS  Google Scholar 

  19. Auer, P.L. & Doerge, R.W. Statistical design and analysis of RNA sequencing data. Genetics 185, 405–416 (2010).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  20. Mortazavi, A., Williams, B.A., McCue, K., Schaeffer, L. & Wold, B. Mapping and quantifying mammalian transcriptomes by RNA-seq. Nat. Methods 5, 621–628 (2008).

    Article  CAS  PubMed  Google Scholar 

  21. Trapnell, C. et al. Transcript assembly and quantification by RNA-seq reveals unannotated transcripts and isoform switching during cell differentiation. Nat. Biotechnol. 28, 511–515 (2010).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  22. Roberts, A. & Pachter, L. Streaming fragment assignment for real-time analysis of sequencing experiments. Nat. Methods 10, 71–73 (2013).

    Article  CAS  PubMed  Google Scholar 

  23. Langmead, B., Trapnell, C., Pop, M. & Salzberg, S.L. Ultrafast and memory-efficient alignment of short DNA sequences to the human genome. Genome Biol. 10, R25 (2009).

    Article  PubMed  PubMed Central  CAS  Google Scholar 

  24. Robinson, M.D. & Oshlack, A. A scaling normalization method for differential expression analysis of RNA-seq data. Genome Biol. 11, R25 (2010).

    Article  PubMed  PubMed Central  CAS  Google Scholar 

  25. Dillies, M.A. et al. A comprehensive evaluation of normalization methods for Illumina high-throughput RNA sequencing data analysis. Brief. Bioinform. http://dx.doi.org/10.1093/bib/bbs046 (17 September 2012).

  26. Marioni, J.C., Mason, C.E., Mane, S.M., Stephens, M. & Gilad, Y. RNA-seq: an assessment of technical reproducibility and comparison with gene expression arrays. Genome Res. 18, 1509–1517 (2008).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  27. Robinson, J.T. et al. Integrative genomics viewer. Nat. Biotechnol. 29, 24–26 (2011).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  28. Abeel, T., Van Parys, T., Saeys, Y., Galagan, J. & Van de Peer, Y. GenomeView: a next-generation genome browser. Nucleic Acids Res. 40, e12 (2012).

    Article  CAS  PubMed  Google Scholar 

  29. Liu, L. et al. Comparison of next-generation sequencing systems. J. Biomed. Biotechnol. 2012, 251364 (2012).

    PubMed  PubMed Central  Google Scholar 

  30. Eid, J. et al. Real-time DNA sequencing from single polymerase molecules. Science 323, 133–138 (2009).

    Article  CAS  PubMed  Google Scholar 

  31. Rothberg, J.M. et al. An integrated semiconductor device enabling non-optical genome sequencing. Nature 475, 348–352 (2011).

    Article  CAS  PubMed  Google Scholar 

  32. Van Belleghem, S.M., Roelofs, D., Van Houdt, J. & Hendrickx, F. De novo transcriptome assembly and SNP discovery in the wing polymorphic salt marsh beetle Pogonus chalceus (Coleoptera, Carabidae). PLoS ONE 7, e42605 (2012).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  33. Kleinman, C.L. & Majewski, J. Comment on “Widespread RNA and DNA sequence differences in the human transcriptome”. Science 335, 1302 (2012).

    Article  CAS  PubMed  Google Scholar 

  34. Langmead, B. & Salzberg, S.L. Fast gapped-read alignment with Bowtie 2. Nat. Methods 9, 357–359 (2012).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  35. Pounds, S.B., Gao, C.L. & Zhang, H. Empirical Bayesian selection of hypothesis testing procedures for analysis of sequence count expression data. Stat. Appl. Genet. Mol. Biol. http://dx.doi.org/10.1515/1544-6115.1773 (2012).

  36. Tarazona, S., Garcia-Alcalde, F., Dopazo, J., Ferrer, A. & Conesa, A. Differential expression in RNA-seq: a matter of depth. Genome Res. 21, 2213–2223 (2011).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  37. Cumbie, J.S. et al. GENE-counter: a computational pipeline for the analysis of RNA-seq data for gene expression differences. PLoS ONE 6, e25279 (2011).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  38. Hardcastle, T.J. & Kelly, K.A. baySeq: empirical Bayesian methods for identifying differential expression in sequence count data. BMC Bioinformatics 11, 422 (2010).

    Article  PubMed  PubMed Central  Google Scholar 

  39. Leng, N. et al. An empirical Bayes hierarchical model for inference in RNA-seq experiments. Bioinformatics 29, 1035–1043 (2012).

    Article  CAS  Google Scholar 

  40. Tuna, M. & Amos, C.I. Genomic sequencing in cancer. Cancer Lett. http://dx.doi.org/doi:10.1016/j.canlet.2012.11.004 (2012).

  41. Rhind, N. et al. Comparative functional genomics of the fission yeasts. Science 332, 930–936 (2011).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  42. Kumar, S. & Blaxter, M.L. Comparing de novo assemblers for 454 transcriptome data. BMC Genomics 11, 571 (2010).

    Article  PubMed  PubMed Central  Google Scholar 

  43. Papanicolaou, A., Stierli, R., Ffrench-Constant, R.H. & Heckel, D.G. Next generation transcriptomes for next generation genomes using est2assembly. BMC Bioinformatics 10, 447 (2009).

    Article  PubMed  PubMed Central  CAS  Google Scholar 

  44. Lohse, M. et al. RobiNA: a user-friendly, integrated software solution for RNA-seq–based transcriptomics. Nucleic Acids Res. 40, W622–W627 (2012).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  45. Martin, M. Cutadapt removes adapter sequences from high-throughput sequencing reads. EMBnet.journal 17 http://journal.embnet.org/index.php/embnetjournal/article/view/200/479 (2011).

  46. Haas, B.J., Chin, M., Nusbaum, C., Birren, B.W. & Livny, J. How deep is deep enough for RNA-seq profiling of bacterial transcriptomes? BMC Genomics 13, 734 (2012).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  47. Brown, C.T., Howe, A., Zhang, Q., Pryrkosz, A.B. & Brom, T.H. A reference-free algorithm for computational normalization of shotgun sequencing data. arXiv:1203.4802 [q-bio.GN] (2012).

  48. Borodina, T., Adjaye, J. & Sultan, M. A strand-specific library preparation protocol for RNA sequencing. Methods Enzymol. 500, 79–98 (2011).

    Article  CAS  PubMed  Google Scholar 

  49. Parkhomchuk, D. et al. Transcriptome analysis by strand-specific sequencing of complementary DNA. Nucleic Acids Res. 37, e123 (2009).

    Article  PubMed  PubMed Central  CAS  Google Scholar 

  50. Sung, W.K. et al. Genome-wide survey of recurrent HBV integration in hepatocellular carcinoma. Nat. Genet. 44, 765–769 (2012).

    Article  CAS  PubMed  Google Scholar 

Download references

Acknowledgements

We are grateful to D. Jaffe and S. Young for access to additional computing resources, to Z. Chen for help in R-scripting, to L. Gaffney for help with figure illustrations, to C. Titus Brown for essential discussions and inspiration related to digital normalization strategies, to G. Marcais and C. Kingsford for supporting the use of their Jellyfish software in Trinity and to B. Walenz for supporting our earlier use of Meryl. We are grateful to our users and their feedback, in particular J. Wortman and P. Bain for comments on earlier drafts of the manuscript. This project has been funded in part (B.J.H.) with Federal funds from the National Institute of Allergy and Infectious Diseases (NIAID), US National Institutes of Health (NIH), Department of Health and Human Services (DHHS), under contract no. HHSN272200900018C. Work was supported by Howard Hughes Medical Institute (HHMI), a NIH PIONEER award, a Center for Excellence in Genome Science grant no. 5P50HG006193-02 from the National Human Genome Research Institute (NHGRI) and the Klarman Cell Observatory at the Broad Institute (A.R.). A.P. was supported by the CSIRO Office of the Chief Executive (OCE). M.Y. was supported by the Clore Foundation. P.B. was supported by the National Science Foundation (NSF) grant no. OCI-1053575 for the Extreme Science and Engineering Discovery Environment (XSEDE) project. B.L. and C.D. were partially supported by NIH grant no.1R01HG005232-01A1. In addition, B.L. was partially funded by J. Thomson's MacArthur Professorship and by the Morgridge Institute for Research support for Computation and Informatics in Biology and Medicine. M.L. was supported by the Bundesministerium für Bildung und Forschung via the project 'NGSgoesHPC'. N.P. was funded by the Fund for Scientific Research, Flanders (Fonds Wetenschappelijk Onderzoek (FWO) Vlaanderen), Belgium. R.H. and R.D.L. were funded by the NSF under grant nos. ABI-1062432 and CNS-0521433 to Indiana University, and by Indiana METACyt Initiative, which is supported in part by Lilly Endowment, Inc. J.B. was supported through a CSIRO eResearch Accelerated Computing Project. Any opinions, findings and conclusions or recommendations expressed in this article are those of the authors and do not necessarily reflect the views of any of the funding bodies and institutions including the National Science Foundation, the National Center for Genome Analysis Support and Indiana University.

Author information

Authors and Affiliations

Authors

Contributions

B.J.H. is the current lead developer of Trinity and is additionally responsible for the development of the companion in silico normalization and TransDecoder utilities described herein. M.Y. contributed to Butterfly software enhancements, generating figures and to the manuscript text. B.L. and C.N.D. developed RSEM and are responsible for enhancements related to improved Trinity support. B.J.H. and A.P. wrote the initial draft of the manuscript. A.R. is the Principal Investigator. All authors contributed to Trinity development and/or writing of the final manuscript, and all authors approved the final text.

Corresponding authors

Correspondence to Brian J Haas or Aviv Regev.

Ethics declarations

Competing interests

The authors declare no competing financial interests.

Supplementary information

Supplementary Note

Supplementary materials for de novo transcript sequence reconstruction from RNA-seq: reference generation and analysis with Trinity. (PDF 699 kb)

Supplementary Figure 1

Defining minimum edge thresholds during initial Butterfly graph pruning. (PDF 554 kb)

Supplementary Figure 2

Butterfly's minimum support requirement for path extension during transcript reconstruction. (PDF 551 kb)

Supplementary Figure 3

Merging of insufficiently different path sequences. (PDF 530 kb)

Supplementary Figure 4

Enforcing path restrictions via triplet locking. (PDF 536 kb)

Supplementary Figure 5

Restrictions on the number of paths to be extended at each node. (PDF 540 kb)

Supplementary Figure 6

Evaluating assembly completeness for the S. pombe transcriptome. (PDF 636 kb)

Supplementary Figure 7

Evaluating assembly completeness for the mouse dendritic cell transcriptome. (PDF 584 kb)

Supplementary Figure 8

Correlation of expression values between reference transcripts and Trinity transcript components according to percent length agreement in S. pombe. (PDF 551 kb)

Supplementary Figure 9

Agreement between expression profiles calculated based on reference transcripts and trinity components at different S. pombe samples. (PDF 584 kb)

Rights and permissions

Reprints and permissions

About this article

Cite this article

Haas, B., Papanicolaou, A., Yassour, M. et al. De novo transcript sequence reconstruction from RNA-seq using the Trinity platform for reference generation and analysis. Nat Protoc 8, 1494–1512 (2013). https://doi.org/10.1038/nprot.2013.084

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1038/nprot.2013.084

This article is cited by

Comments

By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.

Search

Quick links

Nature Briefing

Sign up for the Nature Briefing newsletter — what matters in science, free to your inbox daily.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing