cookiecutter boilerplate for smsk
cookiecutter-smsk
is a boilerplate folder hierarchy for snakemake.
It is a pain in the ass to start a snakemake workflow from scratch, so this boilerplate provides a skeleton with a Snakefile, some sub-snakefiles, test data and some scripts that work, and from there, modify it at your will.
-
Install
miniconda
or the full Anaconda distribution. -
Install
snakemake
:conda install -c bioconda snakemake
. -
Copy this template from GitHub:
cookiecutter gh:jlanga/cookiecutter-smsk
-
Fill the fields and you are set up.
-
Enter in the created folder and type
snakemake --use-conda -j
. Snakemake will download the required packages throughconda
and will execute the workflow in parallel.
- Snakemake. The workflow engine that saved my life. Written in Python3.
- conda. The package manager. The best thing that has happened in Bioinformatics in years.
- bioconda. Where all the Bioinformatics is.
- cookiecutter. The command line utility that manages these kinds of templates.
- smsk. The previous version of the template I was used until now.