Skip to content

Commit

Permalink
Update snakemake-hello-world.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yetulaxman authored Jan 30, 2024
1 parent e4410f5 commit b7171c3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion _hands-on/day4/snakemake-hello-world.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,12 @@ snakemake --cluster-config cluster.yaml \
snakemake -p # Prints the shell commands that are being run to the terminal
snakemake --rulegraph | dot -Tpng > rulegraph.png # Generate the rule based graph
snakemake --dag | dot -Tpng > dag.png # Generate directed acyclic graph
```

### Good to know
- {input} and {output} are placeholders - Snakemake will replace them with appropriate values
- One can use {name} as wildcards (* pattern)

### Fix/caveates (WIP)
1. Deprecated option --cluster-config to customize job resources
2. Scale up with caution. Check slurm options [here](https://github.com/Snakemake-Profiles/slurm)
Expand Down

0 comments on commit b7171c3

Please sign in to comment.