Protocol | Published:

Differential gene and transcript expression analysis of RNA-seq experiments with TopHat and Cufflinks

Nature Protocols volume 7, pages 562578 (2012) | Download Citation

  • A Corrigendum to this article was published on 25 September 2014

This article has been updated

Abstract

Recent advances in high-throughput cDNA sequencing (RNA-seq) can reveal new genes and splice variants and quantify expression genome-wide in a single assay. The volume and complexity of data from RNA-seq experiments necessitate scalable, fast and mathematically principled analysis software. TopHat and Cufflinks are free, open-source software tools for gene discovery and comprehensive expression analysis of high-throughput mRNA sequencing (RNA-seq) data. Together, they allow biologists to identify new genes and new splice variants of known ones, as well as compare gene and transcript expression under two or more conditions. This protocol describes in detail how to use TopHat and Cufflinks to perform such analyses. It also covers several accessory tools and utilities that aid in managing data, including CummeRbund, a tool for visualizing RNA-seq analysis results. Although the procedure assumes basic informatics skills, these tools assume little to no background with RNA-seq analysis and are meant for novices and experts alike. The protocol begins with raw sequencing reads and produces a transcriptome assembly, lists of differentially expressed and regulated genes and transcripts, and publication-quality visualizations of analysis results. The protocol's execution time depends on the volume of transcriptome sequencing data and available computing resources but takes less than 1 d of computer time for typical experiments and 1 h of hands-on time.

Access optionsAccess options

Rent or Buy article

Get time limited or full article access on ReadCube.

from$8.99

All prices are NET prices.

Change history

  • 07 August 2014

     In the version of this article initially published, the computer script in Box 1 sections B and C, and in Procedure Step 1, contained errors: the last section of the final three lines of the script had ‘C1’ where it should have been ‘C2’, as follows:   C1_R1_2.fq should have been C2_R1_2.fq   C1_R2_2.fq should have been C2_R2_2.fq   C1_R3_2.fq should have been C2_R3_2.fq   Users are also directed to an official release version of Cufflinks (version 1.3.0) that produces nearly identical results to those shown in the manuscript, which were produced by Cufflinks 1.2.1 (an unofficial and undocumented development build that was the latest build available when the manuscript was originally written). The script in Procedure Step 16 and the data in Table 5 have been updated to reflect the output of version 1.3.0. The errors have been corrected in the HTML and PDF versions of the article.

Accessions

Gene Expression Omnibus

References

  1. 1.

    , , , & Mapping and quantifying mammalian transcriptomes by RNA-seq. Nat. Methods 5, 621–628 (2008).

  2. 2.

    et al. Stem cell transcriptome profiling via massive-scale mRNA sequencing. Nat. Methods 5, 613–619 (2008).

  3. 3.

    et al. The transcriptional landscape of the yeast genome defined by RNA sequencing. Science 320, 1344–1349 (2008).

  4. 4.

    The impact of next-generation sequencing technology on genetics. Trends Genet. 24, 133–141 (2008).

  5. 5.

    et al. Sequence identification of 2,375 human brain genes. Nature 355, 632–634 (1992).

  6. 6.

    et al. Integrative annotation of human large intergenic noncoding RNAs reveals global properties and specific subclasses. Genes Dev. 25, 1915–1927 (2011).

  7. 7.

    & Statistical inferences for isoform expression in RNA-seq. Bioinformatics 25, 1026–1032 (2009).

  8. 8.

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

  9. 9.

    & A fast-acting reagent for accurate analysis of RNA secondary and tertiary structure by SHAPE chemistry. J. Am. Chem. Soc. 129, 4144–4145 (2007).

  10. 10.

    , , , & RNA-seq gene expression estimation with read mapping uncertainty. Bioinformatics 26, 493–500 (2010).

  11. 11.

    , , , & RNA-seq: an assessment of technical reproducibility and comparison with gene expression arrays. Genome Res. 18, 1509–1517 (2008).

  12. 12.

    , , & Computational methods for transcriptome annotation and quantification using RNA-seq. Nat. Methods 8, 469–477 (2011).

  13. 13.

    , & TopHat: discovering splice junctions with RNA-seq. Bioinformatics 25, 1105–1111 (2009).

  14. 14.

    et al. Hotspots of aberrant epigenomic reprogramming in human induced pluripotent stem cells. Nature 470, 68–73 (2011).

  15. 15.

    et al. The developmental transcriptome of Drosophila melanogaster. Nature 471, 473–479 (2011).

  16. 16.

    , , & Whole transcriptome sequencing reveals gene expression and splicing differences in brain regions affected by Alzheimer's disease. PLoS ONE 6, e16266 (2011).

  17. 17.

    et al. Massive parallel sequencing of mRNA in identification of unannotated salinity stress-inducible transcripts in rice (Oryza sativa L.). BMC Genomics 11, 683 (2010).

  18. 18.

    , & Galaxy Team Galaxy: a comprehensive approach for supporting accessible, reproducible, and transparent computational research in the life sciences. Genome Biol. 11, R86 (2010).

  19. 19.

    & Fast and SNP-tolerant detection of complex variants and splicing in short reads. Bioinformatics 26, 873–881 (2010).

  20. 20.

    et al. MapSplice: accurate mapping of RNA-seq reads for splice junction discovery. Nucleic Acids Res. 38, e178 (2010).

  21. 21.

    , , , & Detection of splice junctions from paired-end RNA-seq data by SpliceMap. Nucleic Acids Res. 38, 4570–4578 (2010).

  22. 22.

    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).

  23. 23.

    et al. Alternative expression analysis by RNA sequencing. Nat. Methods 7, 843–847 (2010).

  24. 24.

    , , & Analysis and design of RNA sequencing experiments for identifying isoform regulation. Nat. Methods 7, 1009–1015 (2010).

  25. 25.

    , , & Estimation of alternative splicing isoform frequencies from RNA-seq data. Algorithms Mol. Biol. 6, 9 (2011).

  26. 26.

    & Differential expression analysis for sequence count data. Genome Biol. 11, R106 (2010).

  27. 27.

    , & edgeR: a Bioconductor package for differential expression analysis of digital gene expression data. Bioinformatics 26, 139–140 (2009).

  28. 28.

    , , , & DEGseq: an R package for identifying differentially expressed genes from RNA-seq data. Bioinformatics 26, 136–138 (2010).

  29. 29.

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

  30. 30.

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

  31. 31.

    , , & Genome-wide mapping of in vivo protein-DNA interactions. Science 316, 1497–1502 (2007).

  32. 32.

    , , & Genome-wide analysis in vivo of translation with nucleotide resolution using ribosome profiling. Science 324, 218–223 (2009).

  33. 33.

    , , & Ultrafast and memory-efficient alignment of short DNA sequences to the human genome. Genome Biol. 10, R25 (2009).

  34. 34.

    & An experimental study of a compressed index. Information Sci. 135, 13–28 (2001).

  35. 35.

    , , & Identification of novel transcripts in annotated genomes using RNA-seq. Bioinformatics 27, 2325–2329 (2011).

  36. 36.

    , & Modeling non-uniformity in short-read rates in RNA-seq data. Genome Biol. 11, R50 (2010).

  37. 37.

    , & Biases in Illumina transcriptome sequencing caused by random hexamer priming. Nucleic Acids Res. 38, e131 (2010).

  38. 38.

    , , , & Improving RNA-seq expression estimates by correcting for fragment bias. Genome Biol. 12, R22 (2011).

  39. 39.

    et al. Comprehensive comparative analysis of strand-specific RNA sequencing methods. Nat. Methods 7, 709–715 (2010).

  40. 40.

    , , & Sequencing technology does not eliminate biological variability. Nat. Biotechnol. 29, 572–573 (2011).

  41. 41.

    ggplot2: Elegant Graphics for Data Analysis (Use R) p 224 (Springer, 2009).

  42. 42.

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

  43. 43.

    et al. The Sequence Alignment/Map format and SAMtools. Bioinformatics 25, 2078–2079 (2009).

  44. 44.

    , & Cloud computing and the DNA data race. Nat. Biotechnol. 28, 691–693 (2010).

Download references

Acknowledgements

We are grateful to D. Hendrickson, M. Cabili and B. Langmead for helpful technical discussions. The TopHat and Cufflinks projects are supported by US National Institutes of Health grants R01-HG006102 (to S.L.S.) and R01-HG006129-01 (to L.P.). C.T. is a Damon Runyon Cancer Foundation Fellow. L.G. is a National Science Foundation Postdoctoral Fellow. A.R. is a National Science Foundation Graduate Research Fellow. J.L.R. is a Damon Runyon-Rachleff, Searle, and Smith Family Scholar, and is supported by Director's New Innovator Awards (1DP2OD00667-01). This work was funded in part by the Center of Excellence in Genome Science from the US National Human Genome Research Institute (J.L.R.). J.L.R. is an investigator of the Merkin Foundation for Stem Cell Research at the Broad Institute.

Author information

Affiliations

  1. Broad Institute of MIT and Harvard, Cambridge, Massachusetts, USA.

    • Cole Trapnell
    • , Loyal Goff
    • , David R Kelley
    •  & John L Rinn
  2. Department of Stem Cell and Regenerative Biology, Harvard University, Cambridge, Massachusetts, USA.

    • Cole Trapnell
    • , Loyal Goff
    • , David R Kelley
    •  & John L Rinn
  3. Department of Computer Science, University of California, Berkeley, California, USA.

    • Adam Roberts
    • , Harold Pimentel
    •  & Lior Pachter
  4. Computer Science and Artificial Intelligence Lab, Department of Electrical Engineering and Computer Science, Massachusetts Institute of Technology, Cambridge, Massachusetts, USA.

    • Loyal Goff
  5. Department of Medicine, McKusick-Nathans Institute of Genetic Medicine, Johns Hopkins University School of Medicine, Baltimore, Maryland, USA.

    • Geo Pertea
    • , Daehwan Kim
    •  & Steven L Salzberg
  6. Department of Biostatistics, Johns Hopkins University, Baltimore, Maryland, USA.

    • Geo Pertea
    •  & Steven L Salzberg
  7. Center for Bioinformatics and Computational Biology, University of Maryland, College Park, Maryland, USA.

    • Daehwan Kim
  8. Department of Mathematics, University of California, Berkeley, California, USA.

    • Lior Pachter
  9. Department of Molecular and Cell Biology, University of California, Berkeley, California, USA.

    • Lior Pachter

Authors

  1. Search for Cole Trapnell in:

  2. Search for Adam Roberts in:

  3. Search for Loyal Goff in:

  4. Search for Geo Pertea in:

  5. Search for Daehwan Kim in:

  6. Search for David R Kelley in:

  7. Search for Harold Pimentel in:

  8. Search for Steven L Salzberg in:

  9. Search for John L Rinn in:

  10. Search for Lior Pachter in:

Contributions

C.T. is the lead developer for the TopHat and Cufflinks projects. L.G. designed and wrote CummeRbund. D.K., H.P. and G.P. are developers of TopHat. A.R. and G.P. are developers of Cufflinks and its accompanying utilities. C.T. developed the protocol, generated the example experiment and performed the analysis. L.P., S.L.S. and C.T. conceived the TopHat and Cufflinks software projects. C.T., D.R.K. and J.L.R. wrote the manuscript.

Competing interests

The authors declare no competing financial interests.

Corresponding author

Correspondence to Cole Trapnell.

About this article

Publication history

Published

DOI

https://doi.org/10.1038/nprot.2012.016

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.