-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodule2_job.script.sh
More file actions
40 lines (31 loc) · 1.11 KB
/
module2_job.script.sh
File metadata and controls
40 lines (31 loc) · 1.11 KB
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=clvSeq_preproc
#SBATCH --nodes=1
#SBATCH --partition=preempt1
#SBATCH --account=dac
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=16
#SBATCH --time=60:00:00
#SBATCH --mail-user=f007qps@dartmouth.edu
#SBATCH --mail-type=FAIL
#SBATCH --output=clvSeq_preproc_%j.out
#----- START
echo "#------------------------ Initialization ------------------------#"
echo "Starting job: $SLURM_JOB_NAME (Job ID: $SLURM_JOB_ID)"
echo "Running on node: $(hostname)"
echo "Start time: $(date)"
echo -e "#-------------------------------------------------------------#"
#----- Source conda and activate snakemake
source /optnfs/common/miniconda3/etc/profile.d/conda.sh
conda activate /dartfs/rc/nosnapshots/G/GMBSR_refs/envs/snakemake
#----- Run snakemake workflow
snakemake -s workflows/module-2-preprocess.smk \
--configfile prebuilt_configs/hg38_config.yaml \
--use-conda \
--conda-frontend conda \
--conda-prefix /dartfs/rc/nosnapshots/G/GMBSR_refs/envs/GDSC-Clover-Seq \
--profile cluster_profile \
--rerun-incomplete \
--keep-going
#----- END
echo "End time: $(date)"