MENU

Fun & Interesting

An introduction to Snakemake tutorial for beginners (CC248)

Riffomonas Project 21,871 lượt xem 2 years ago
Video Not Working? Fix It Now

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.

You can find my blog post for this episode at https://www.riffomonas.org/code_club/2022-09-15-snakemake.

#snakemake #conda #bash #R #Rstats

Support Riffomonas by becoming a Patreon member!
https://www.patreon.com/riffomonas

Want more practice on the concepts covered in Code Club? You can sign up for my weekly newsletter at https://shop.riffomonas.org/youtube to get practice problems, tips, and insights.

If you're interested in taking an upcoming 3 day R workshop be sure to check out our schedule at https://riffomonas.org/workshops/

You can also find complete tutorials for learning R with the tidyverse using...
Microbial ecology data: https://www.riffomonas.org/minimalR/
General data: https://www.riffomonas.org/generalR/

0:00 Introduction
3:30 Our first Snakemake rule
6:41 Installing snakemake with conda/mamba
9:33 Testing snakefile with --dry-run or -np
18:43 Creating and using a targets rule
21:13 Running snakefile
25:08 Visualizing the DAG
27:49 Cleaning up

Comment