-
Notifications
You must be signed in to change notification settings - Fork 0
/
4_post-qc.sh
37 lines (31 loc) · 952 Bytes
/
4_post-qc.sh
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
36
37
#!/bin/bash
#SBATCH --job-name=4_post-qc
#SBATCH --partition=margres_2020
#SBATCH --qos=margres20
#SBATCH [email protected]
#SBATCH --mail-type=END,FAIL
#SBATCH --output=/work_bgfs/d/dgallinson/scripts/master/logs/Capture5/out/4_post-qc.out
#SBATCH --error=/work_bgfs/d/dgallinson/scripts/master/logs/Capture5/err/4_post-qc.err
#SBATCH --ntasks=1
#SBATCH --nodes=1
#SBATCH --cpus-per-task=1
#SBATCH --mem=186G
#SBATCH --time=30:00
module purge
module add apps/python/3.8.5
source main.env
src=${DATA}/${batch}/3_trim
dest=${RESULTS}/${batch}/qc/post
out_dir=MultiQC
#mv fastqc and trimming reports from intermediates directory to results directory
mv ${src}/*fastqc* ${dest}/fastqc
mv ${src}/*trimming_report* ${dest}/trimming
#Multiqc fastqc and trimming reports
multiqc \
-n postQC_multiqc \
-o ${dest}/${out_dir} \
${dest}/fastqc \
multiqc \
-n trimming_multiqc \
-o ${dest}/${out_dir} \
${dest}/trimming \