Skip to content

Commit 2bac5d7

Browse files
authored
Merge pull request #335 from NBISweden/snakemake-update
Snakemake update
2 parents 3d3310e + 3c22951 commit 2bac5d7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pages/jupyter.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1079,7 +1079,7 @@ interface.
10791079

10801080
As you can see this notebook contains some brief descriptions in Markdown and
10811081
code to generate a few plots and tables. It uses the output from the MRSA
1082-
case-study Snakemake workflow you worked on in the Snakemake tutorial. This is a
1082+
case-study Snakemake workflow used in the Snakemake tutorial. This is a
10831083
common use-case for Jupyter notebooks; to generate summary statistics and plots
10841084
from the results of a workflow run. (A real-world example could of course
10851085
include a lot more in-depth exploratory analyses).

pages/snakemake.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1773,7 +1773,7 @@ to be `["results/bowtie2/{genome_id}.1.bt2",
17731773
"results/bowtie2/{genome_id}.2.bt2", ...]`, _i.e._ only expanding the `substr`
17741774
wildcard in the Bowtie2 index. To prevent Snakemake from trying to expand the
17751775
`genome_id` wildcard we have to "mask" it with double curly brackets:
1776-
`{{genome_id}}`.
1776+
`{{{genome_id}}}`.
17771777
17781778
In addition, we need to replace the hard-coded `results/bowtie2/NCTC8325` in the
17791779
shell directive of the rule with the genome id wildcard. Inside the shell

0 commit comments

Comments
 (0)