-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpretrim_fastqc.sh
More file actions
35 lines (22 loc) · 946 Bytes
/
pretrim_fastqc.sh
File metadata and controls
35 lines (22 loc) · 946 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash
#
#SBATCH -c 1
#SBATCH --mem-per-cpu=1000
#SBATCH --job-name=PreTrimFastqc
#SBATCH --output=PreTrimFastqc.out
#SBATCH --time=2:00:00
#######################################################################################
#fastqc and then combine reports into one html and save to outputs folder
#######################################################################################
mkdir -p output/pretrim
for sample in `cat SRR_Acc_List.txt`
do
echo ${sample} "starting"
fastqc SRA/${sample}_1.fastq.gz --outdir output/pretrim
fastqc SRA/${sample}_2.fastq.gz --outdir output/pretrim
echo ${sample} "finished"
done
#######################################################################################
#combine
#######################################################################################
multiqc output/pretrim --filename output/PretrimFastQC_multiqc_report.html --ignore-samples Undetermined* --interactive