-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathjob.script.sh
More file actions
38 lines (28 loc) · 916 Bytes
/
job.script.sh
File metadata and controls
38 lines (28 loc) · 916 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
36
37
38
#!/bin/bash
# Name of the job
#SBATCH --job-name=RNAseq.preprocess
# Number of compute nodes
#SBATCH --nodes=1
# specify que to submit to (preempt1 only contains q10 DAC node)
#SBATCH --partition=standard
# specify account you are submitting from
#SBATCH --account=nccc
# Walltime (job duration)
#SBATCH --time=60:00:00
# Email address
#SBATCH --mail-user=XXXXXXXXX@dartmouth.edu
# Email notifications (comma-separated options: BEGIN,END,FAIL)
#SBATCH --mail-type=FAIL
#----- Source conda environment
source /optnfs/common/miniconda3/etc/profile.d/conda.sh
conda activate /dartfs/rc/nosnapshots/G/GMBSR_refs/envs/snakemake
#----- Make slurm logs folder
mkdir -p slurm_logs
#----- Call Snakemake
snakemake -s Snakefile \
--conda-frontend conda \
--use-conda \
--conda-prefix /dartfs/rc/nosnapshots/G/GMBSR_refs/envs/DAC-RNAseq-pipeline \
--profile cluster_profile \
--rerun-incomplete \
--keep-going