-
Notifications
You must be signed in to change notification settings - Fork 1
/
script_bcl2fastq.sbs
35 lines (26 loc) · 900 Bytes
/
script_bcl2fastq.sbs
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
#############################################################################################################################
## Script for demultiplexing RUN
## dalameda@unav.es, 02/02/2018
#############################################################################################################################
#SBATCH --job-name=bcl2fastq
#SBATCH --mem=12G
#SBATCH --time=5-0:0:0
#SBATCH --output=info.slurm.log
#SBATCH --cpus-per-task=16
spack load bcl2fastq2@2.19.1.403
# change following bcl2fastq specific parameter for your run
outdir= <your_dir>
sampleSheet= <your_samplesheet.csv>
mkdir -p $outdir
bcl2fastq --output-dir $outdir \
--use-bases-mask Y68,I8,I7Y8 \
--sample-sheet $sampleSheet \
--minimum-trimmed-read-length 60 \
--mask-short-adapter-read 7 \
--no-lane-splitting \
--barcode-mismatches 1 \
-r 10 \
-p 20 \
-w 10 \
-l INFO >> info.txt 2>&1