---
layout: post
title: "An introduction to Snakemake tutorial for beginners (CC248)"
blurb: "Tracking dependencies with Snakemake"
author: "PD Schloss"
date: 2022-09-15 11:00
comments: false
youtube: r9PWnEmz_tc
start_hash: 0db270b74ae3eb3f0d5acd19016543f5a8d9649b
end_hash: e32a74def6af1b102af89d7f752918067f2c4a6c
---

Snakemake is a powerful tool for keeping track of data dependencies and to automate data analysis pipelines. In this episode of Code Club, Pat Shares how to install snakemake, convert a driver script to a simple Snakemake file, troubleshoot problems, create rules, use parameters, and test snakemake files. The overall goal of this project is to highlight reproducible research practices using a number of tools. The specific output from this project will be a map-based visual that shows the level of drought across the globe.

<iframe style="margin: 0 auto;display:block;" width="560" height="315" src="https://www.youtube.com/embed/{{ page.youtube }}" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

## Code

You can browse the state of the repository at the

* [beginning of the episode](https://github.com/riffomonas/drought_index/tree/{{page.start_hash}})
* [end of the episode](https://github.com/riffomonas/drought_index/tree/{{page.end_hash}})
