Install Miniconda2
wget https://repo.anaconda.com/miniconda/Miniconda2-latest-Linux-x86_64.sh
bash Miniconda2-latest-Linux-x86_64.sh
- Accept the EULA
- Accept the default install location
- Respond with yes to initialize Miniconda2 (the default response will be no)
- Restart or log out and log back in to refresh your environment variables
- Verify the installation by running
conda update conda
Install Bowtie 2
conda config --add channels bioconda
conda create --name bowtie2 --clone base
conda activate bowtie2
conda install bowtie2
Download FastQ Screen
- Open https://www.bioinformatics.babraham.ac.uk/projects/download.html#fastqscreen and determine the latest version number of FastQ Screen. These instructions will install version 0.13.0. Simply replace 0.13.0 with the latest version number to install the latest version of FastQ Screen.
wget https://www.bioinformatics.babraham.ac.uk/projects/fastq_screen/fastq_screen_v0.13.0.tar.gz
tar -xvf fastq_screen_v0.13.0.tar.gz
rm fastq_screen_v0.13.0.tar.gz
Add FastQ Screen to PATH
echo 'export PATH="$PATH":/home/'$USER'/fastq_screen_v0.13.0' >> ~/.bashrc
- Restart or log out and log back in to refresh your environment variables
How to run FastQ Screen
conda activate bowtie2
- Modify fastq_screen.conf as needed (
nano fastq_screen_v0.13.0/fastq_screen.conf
)
fastq_screen --help
Install Perl GD library to draw graphs with FastQ Screen (Optional)
sudo apt install -y libgd-graph-perl
(the sudo
command will require your password)
Test FastQ Screen (Optional)
wget https://www.bioinformatics.babraham.ac.uk/projects/fastq_screen/fastq_screen_test_dataset.tar.gz
tar -xvzf fastq_screen_test_dataset.tar.gz
rm fastq_screen_test_dataset.tar.gz
gunzip fastq_screen_test_dataset/fqs_test_dataset.fastq.gz
fastq_screen --get_genomes
(the genomes will take a significant amount of time to download)
cp FastQ_Screen_Genomes/fastq_screen.conf fastq_screen_test.conf
sed -i 's|/bi/scratch/wingetts/FASTQ_Screen_Paper/FastQ_Screen_Genomes/||g' fastq_screen_test.conf
fastq_screen fastq_screen_test_dataset/fqs_test_dataset.fastq --aligner=Bowtie2 --conf=fastq_screen_test.conf
Helpful Links