TopHat (http://ccb.jhu.edu/software/tophat/index.shtml) is a fast splice junction mapper for RNA-Seq data. It first aligns RNA-Seq reads to reference genomes using the ultra high-throughput short read aligner Bowtie, and then analyzes the mapping results to identify splice junctions between exons. Although there is no difference between the available options for both TopHat and TopHat2 and the number of output files, TopHat2 incorporates many significant improvements to TopHat. The TopHat package at HCC supports both tophat and tophat2.
The basic usage of TopHat2 is:
where index_prefix is the basename of the genome index to be searched. This index is generated prior running TopHat/TopHat2 by using Bowtie/Bowtie2. TopHat2 uses single or comma-separated list of paired-end and single-end reads in fasta or fastq format. The single-end reads need to be provided after the paired-end reads. More advanced TopHat2 options can be found in the manual: http://ccb.jhu.edu/software/tophat/manual.shtml, or by typing:
Prior running TopHat/TopHat2, an index from the reference genome should be built using Bowtie/Bowtie2. Moreover, TopHat2 requires both, the index file and the reference file, to be in the same directory. If the reference file is not available,TopHat2 reconstructs it in its initial step using the index file.
An example of how to run TopHat2 on Tusker with paired-end fastq files input_reads_pair_1.fastq and input_reads_pair_2.fastq, reference index index_prefix and 8 CPUs is shown below:
TopHat2 generates its own output directory tophat_output/ that contains multiple TopHat2 generated files.
TopHat2 produces number of files in its tophat_out/ output directory. Some of the generated files are:
- accepted_hits.bam: list of read alignments in BAM format
- unmapped.bam: list of unmapped reads in BAM format
- junctions.bed: BED track of reported junctions
- insertions.bed: BED track of insertions reported by TopHat
- deletions.bed: BED track of deletions reported by TopHat
- prep_reads.info: statistis about the input sequencing data (min/max read length, number of reads)
- align_summary.txt: summary of the alignment counts (number of mapped reads, overall read mapping rate)