Intro to Snakemake
We’ll be going through the Snakemake Basics: An example workflow tutorial
Installing the Data
curl -L https://api.github.com/repos/snakemake/snakemake-tutorial-data/tarball -o snakemake-tutorial-data.tar.gztar --wildcards -xf snakemake-tutorial-data.tar.gz --strip 1 "*/data"Criteria
To complete the assignment the following will be worth 2 points each:
- Generate
A.bam-snakemake --cores 1 mapped_reads/A.bam - Dry run of A.bam -
snakemake -np mapped_reads/A.bam - Using
snakefmtto format the code -snakefmt --check - Dry run of the entire workflow -
snakemake -n - Full workflow runs -
snakemake --cores 2 - Bonus: Tests pass -
pytest