slurm_minisnakemake.sh 561 Bytes
Newer Older
WJH58's avatar
WJH58 committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#! /bin/bash

#SBATCH  --job-name=mini_snakemake
#SBATCH --mail-type=ALL
#SBATCH --mail-user j.chouaref@lumc.nl
#SBATCH -t 48:00:00
#SBATCH --mem=60000


echo Start time : `date`
snakemake -p \
        --snakefile Snakefile \
        --latency-wait 60 \
        --wait-for-files \
        --rerun-incomplete \
        --use-conda \
        --cluster "sbatch --parsable --partition=all --mem=60g --ntasks=1 --cpus-per-task=8 --time=60:00:00 --hint=multithread" \
        --cluster-status "./slurm-cluster-status.py" \
       	--jobs 30


echo End time : `date`