Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Latest commit

 

History

History
41 lines (36 loc) · 1.06 KB

lesson-outline.md

File metadata and controls

41 lines (36 loc) · 1.06 KB
title
Lesson Plan

Lesson Plan

Section 1: Introduction

  1. Introduction to the example workflow
    1. layout of example package
    2. book files
    3. running the wordcount script manually
    4. running plotcount
    5. testing for zipf's law
    6. bash version of a workflow and discussion of limitations

Section 2: Snakemake

  1. Snakefiles
    1. count words
    2. running snakemake
    3. clean rule
    4. default rule is first in the file
  2. Wildcards
    1. Keep it DRY
    2. highlight duplication in current Snakefile
    3. introduce wildcards
    4. cleaning up dependencies
  3. Pattern rules
    1. identify remaining duplication in word count rules: they have a common pattern
    2. wildcards
    3. replace all count words rules with a single pattern rule
  4. Snakefiles are Python code
    1. importing and calling python functions
    2. simplify dynamic handling of input files
  5. Adding remaining stages to pipeline
    1. Creating png plots
    2. Creating an archive.
    3. Adding more books
  6. Resources and parallelism
  7. Submitting to a SLURM cluster