How to Use HISAT2: Mapping in RNA-Seq Analysis
Introduction
When quantifying gene expression levels using sequencing data obtained from RNA-Seq analysis, a mapping step is generally required. Mapping refers to the process of aligning read sequences (FASTQ files) to matching positions on a reference sequence. Commonly used software for RNA-Seq mapping includes HISAT2, STAR and Bowtie2 . This page explains how to use HISAT2.
Please refer to the RNA-Seq analysis workflow overview.
Installation
Precompiled binaries are available here, so download the appropriate one for your system.

Unzip the file and add it to your PATH (example below is for macOS).
Check the help message:
If the following output is displayed, the installation was successful.
Index construction (build)
First, build an index for the reference sequence using the following command:
genome.fa is the FASTA file of the reference sequence you want to map against.
This command generates eight files: genome.1.ht2 through genome.8.ht2. Index files are required for fast string searching and must be created in advance for almost all mapping software, not just HISAT2.
Mapping
Next, map the read sequences to the reference genome.
This command outputs a SAM file, which contains the mapping results. It is often convenient to convert the SAM file to a BAM file and sort it, as shown below.
You can visualize the results using a genome browser such as IGV, where the mapped reads will appear as shown below.

RNA-Seq Data Analysis Software: Accelerate Your Publication
With our RNA-Seq data analysis software, you won't need to outsource or rely on collaborators. You can start analyzing the data yourself right away, without the need for high-spec computers or knowledge of Linux commands.

Users can perform gene expression quantification, identification of differentially expressed genes, gene ontology(GO) analysis, pathway analysis, as well as drawing volcano plots, MA plots, and heatmaps.
About the Author
BxINFO LLC
A research support company specializing in bioinformatics.
We provide tools and information to support life science research, with a focus on RNA-Seq analysis.