-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathASV_clustering_ITS.sb
26 lines (20 loc) · 1.1 KB
/
ASV_clustering_ITS.sb
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
#!/bin/bash --login
########## Define Resources Needed with SBATCH Lines ##########
#SBATCH --time=160:00:00 # limit of wall clock time - how long the job will run
#SBATCH --ntasks=1 # number of tasks - how many tasks (nodes) that you require
#SBATCH --cpus-per-task=16 # number of CPUs (or cores) per task (same as -c)
#SBATCH --mem=160G # memory required per node - amount of memory (in bytes)
#SBATCH --job-name ASV_clustering_ITS # you can give your job a name for easier identification
#SBATCH --account shadeash-colej # give a running priority for your job
#SBATCH [email protected] # enter your email address
#SBATCH --mail-type=BEGIN,END,FAIL # will receive an email when job starts, ends, fails
########## Command Lines to Run ##########
### load necessary modules, e.g.
module load iccifort/2019.5.281 impi/2018.5.288
module load R/4.0.0
R
### change to the directory where your code is located
cd /mnt/scratch/f0008425/ITS/filtered
### call your executable
Rscript ASV_clustering.R
scontrol show job $SLURM_JOB_ID ### write job information to output file