Installing FastQC

Ensure Java is Properly Installed

FastQC is written in Java, so before installing it, you must ensure that Java is properly installed on your machine (ideally the latest version). To check, open your terminal and run:

java -version

If Java has been properly installed you should get an output like:

java version "1.8.0_471"
Java(TM) SE Runtime Environment (build 1.8.0_471-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.471-b09, mixed mode)

Install FastQC

NoteInstalling by OS

This tutorial uses general installation commands that apply across operating systems. For detailed, OS-specific instructions, see the official FastQC installation guide.

The entire FastQC program is distributed as a standalone zip archive. Download the latest version (v0.12.1 at the time of writing) from the official FastQC website.

Once downloaded, navigate to the directory containing the file and run:

# Unzip file
unzip /path/to/fastqc_v0.12.1.zip

# Make fastqc executable
chmod 755 /path/to/FastQC/fastqc

# (Optional) Make a symbolic link so you can run FASTQC from anywhere
sudo ln -s /path/to/FastQC/fastqc /usr/local/bin/fastqc
ImportantSudo Access

If you don’t have sudo privileges on your machine, ask your system administrator to install FastQC for you. Otherwise, you’ll need to call the FastQC executable directly using a relative path each time:

./path/to/FastQC/fastqc ...

rather than simply:

fastqc ...