-
Notifications
You must be signed in to change notification settings - Fork 0
Running Snakemake
Kenji Yip Tong edited this page Aug 14, 2023
·
6 revisions
To run Snakemake, there are four parameters to keep in mind. First of all, if you're unsure about having set up everything correctly, try a dry run. Dry runs show only the rules that are planned to be run:
snakemake -n
If you're getting a list of rules starting with Job counts
, the settings are fine.
Snakemake requires you to specify the maximum number of cores/threads that the workflow should use. This can be set using the -j
or --cores
parameters. For example to run Snakemake with 1 core, use:
snakemake --use-conda -j 1
or
snakemake --use-conda --cores 1
Finally if you installed Singularity, you can run ARPEGGIO in a container to further ensure reproducibility as follows:
snakemake --use-conda --use-singularity
Basic steps to run & get an idea of the workflow:
- Overview
- Input files
- Configuration file
- Running Snakemake
- Output structure
Advanced information to better understand & modify the workflow: