forked from bayraktar1/RPCA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run.sh
executable file
·24 lines (19 loc) · 1.05 KB
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
#
#SBATCH --job-name="RPCA"
#SBATCH --mem=100g
#SBATCH --ntasks-per-node=10
#SBATCH --time=24:0:0
#SBATCH --partition=all,highmem
#SBATCH --output=RPCA-%j.out
#SBATCH --mail-user="[email protected]"
#SBATCH --mail-type=END
CONF="config/config.yaml"
# Create rulegraph
#snakemake -n --dry-run -p --use-singularity --singularity-prefix "resources" --singularity-args "--bind /exports" --use-conda -j 10 all --configfile $CONF --rulegraph | dot -Tpdf > rulegraph.pdf
# Create Snakemake report (after creating all results)
#snakemake -p --use-singularity --singularity-prefix "resources" --singularity-args "--bind /exports" --use-conda -j 10 all --report report.html --configfile $CONF
# Run the pipeline
snakemake -p --use-singularity --singularity-prefix "resources" --singularity-args "--bind /exports" --use-conda -j 10 all --configfile $CONF
# Dryrun and state reason for running rules
#snakemake -n --reason --dry-run -p --use-singularity --singularity-prefix "resources" --singularity-args "--bind /exports" --use-conda -j 1 all --configfile $CONF