Skip to content

Commit

Permalink
fix the README and snakefile to produce 10sketches.sig.zip
Browse files Browse the repository at this point in the history
  • Loading branch information
ctb committed Sep 4, 2024
1 parent b1bb6b0 commit 667b47c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ just the dendrogram.

This command:
```
sourmash compare sketches/{2,47,48,49,51,52,53,59,60}.sig.zip \
sourmash compare sketches/{2,47,48,49,51,52,53,59,60,63}.sig.zip \
-o 10sketches.cmp \
--labels-to 10sketches.cmp.labels_to.csv
Expand Down Expand Up @@ -351,7 +351,7 @@ sourmash scripts manysearch 10sketches.sig.zip \
sketches/shew21.sig.zip -o 10sketches.manysearch.csv
sourmash scripts clustermap1 10sketches.manysearch.csv \
-o clustermap1.10sketches.png
-o clustermap1.10sketches.png \
-u containment -R 10sketches-categories.csv
```

Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ channels:
- defaults
dependencies:
- sourmash>=4.8.8,<5
- sourmash_plugin_branchwater
- sourmash_plugin_branchwater>=0.9.7
- pip
- pytest
- matplotlib
Expand Down
9 changes: 9 additions & 0 deletions examples/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@ rule all:
"tsne2.64sketches.cmp.png",
"3sketches.venn.png",

rule make_10sketches:
input:
expand("sketches/{n}.sig.zip", n=sketches_10)
output:
"10sketches.sig.zip"
shell: """
sourmash sig cat {input} -o {output}
"""

rule cmp_3sketches:
input:
expand("sketches/{n}.sig.zip", n=sketches_3)
Expand Down

0 comments on commit 667b47c

Please sign in to comment.