See https://github.com/Snakemake-Profiles/slurm#quickstart for background.
The GCB Analysis Core uses this profile for their scripts.
The only file in slurm/ to take note of is slurm/settings.json which is where we specify to use the covid19lab account.
Installing/Activating Snakemake on HARDAC
You can create an environment for snakemake like so:
Once snakemake is installed and activated you can run the pipeline like so:
snakemake --profile slurm --cores 1 --use-conda
You can increase the --cores values to use up more cluster resources.
Fix
Fixes a bug in Snakefile where I was using the wrong environment for the samtools_index_genome rule.
I just happened to have samtools installed on my laptop which allowed the workflow to run without the proper environment.
Adds slurm profile directory to allow running on HARDAC using the covid19lab account. All the
/slurm
profile files were created by running:See https://github.com/Snakemake-Profiles/slurm#quickstart for background. The GCB Analysis Core uses this profile for their scripts. The only file in
slurm/
to take note of isslurm/settings.json
which is where we specify to use thecovid19lab
account.Installing/Activating Snakemake on HARDAC
You can create an environment for snakemake like so:
Snakemake installation docs.
Running Snakemake on HARDAC
Once snakemake is installed and activated you can run the pipeline like so:
You can increase the
--cores
values to use up more cluster resources.Fix
Fixes a bug in Snakefile where I was using the wrong environment for the
samtools_index_genome
rule. I just happened to havesamtools
installed on my laptop which allowed the workflow to run without the proper environment.Part of issue #46