diff --git a/README.md b/README.md index 57036e7..71e225d 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ The snakemake workflow will fail upon error. Once an issue is resolved, it can b - Snakemake - shiver 1.5.8 (and associated prerequisites) * -The pipeline has been tested on a Linux environment using an SGE cluster. +The pipeline has been tested on a Linux environment using a Slurm Workload Manager. The project relies on a Kraken 2 database, which is not yet part of this repo so this solution is not currently (standalone) portable. @@ -83,7 +83,7 @@ module load python/2.7.11 1. Execute the Snakemake workflow. - A script has been provided to submit the job to an SGE cluster: `./snakemake/submit.sh` + A script has been provided to submit the job to a Slurm Workload Manager: `./snakemake/submit.sh` Further information about executing Snakemake can be found in the documentation (https://snakemake.readthedocs.io/en/stable/). diff --git a/snakemake/submit.sh b/snakemake/submit.sh index 5fbbc33..246facc 100755 --- a/snakemake/submit.sh +++ b/snakemake/submit.sh @@ -17,7 +17,7 @@ check_file_exists() { run() { "$(which snakemake)" \ - --cluster "$(which qsub) -cwd -P {params.project} -q {params.queues} -pe shmem {params.cores} -o /dev/null -j y -v PATH={params.conda_bin}:$PATH -S /bin/bash" \ + --cluster "$(which sbatch) -A {params.project} -p {params.queues} --cpus-per-task={params.cores} -o /dev/null" \ --jobs 50 \ --jn "{rulename}_${PLATE_ID}.{jobid}.sh" \ --use-conda \