forked from kmeaton/RNASeq_Workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fastqc.sh
executable file
·21 lines (17 loc) · 891 Bytes
/
fastqc.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
#SBATCH --partition=general
#SBATCH --ntasks=1
#SBATCH --nodes=1
#SBATCH --cpus-per-task=8
#SBATCH --time=01:00:00
#SBATCH --job-name=fastqc
# This next line is used to set up the environment - it tells the computer where to look for the program we want to run, and where any of the program's dependencies might be
module load java/1.8.0
module load fastQC
# Move into our home directory, which is where our raw fastq files are located
cd ~/
# Run the program fastqc
# We tell the program we want it to run on all files with the extension ".fq" in the current folder
# Then we use the flag -t to tell the program to run on 8 cpus (allowing us to analyze 8 files at a time!)
# Finally, we use the flag -o to tell the program where we want it to send the output files we generated. We'll send them to the raw_reports folder we just made.
fastqc *mate[12].fq -t 8 -o raw_reports