Running snakemake - genome alignment

Snakefile - file.smk, contains rules for snakemake


$ snakemake -c 1 -s align.smk

--dry-run -np good to test first without producing output

-n only show steps, don't run, -p print shell commands

-c number of cores

-s needed if using a named snakefile (if just called "snakefile",  don't need the –s flag)

$ snakemake --dag| dot -Tpng > dag_align.png
Previous
Next
RC Logo RC Logo © 2026 The Rector and Visitors of the University of Virginia