-
Notifications
You must be signed in to change notification settings - Fork 0
/
salmon-paired-end-O2.sh
27 lines (25 loc) · 1.1 KB
/
salmon-paired-end-O2.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
#!/bin/bash
#SBATCH -c 8 # Request one core
#SBATCH -N 1 # Request one node (if you request more than one core with -c, also using
# -N 1 means all cores will be on the same node)
#SBATCH -t 0-11:59 # Runtime in D-HH:MM format
#SBATCH -p short # Partition to run in
#SBATCH --mem=16GB # Memory total in MB (for all cores)
#SBATCH -o hostname_%j.out # File to which STDOUT will be written, including job ID
#SBATCH -e hostname_%j.err # File to which STDERR will be written, including job ID
#SBATCH --mail-type=ALL # Type of email notification- BEGIN,END,FAIL,ALL
module load salmon/1.8.0
for library in SRR*
do
echo $library
cd $library
salmon quant -i /n/data2/dfci/medonc/cwu/livius/salmon_hg38/ \
-l A \
-1 ${library}_1.fastq.gz \
-2 ${library}_2.fastq.gz \
-p 8 \
--validateMappings \
-o ../quants/$library \
-g /n/data2/dfci/medonc/cwu/livius/gencode.v42.annotation.gff3
cd ..
done