Skip to content

Commit

Permalink
MRG: fix the CI that failed to detect #50 (#52)
Browse files Browse the repository at this point in the history
* fix 'make cleanall' properly

* break Snakefile intentionally

* ok, fix
  • Loading branch information
ctb authored Sep 8, 2024
1 parent afc2316 commit 54e5cb9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
1 change: 1 addition & 0 deletions examples/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ all:

clean:
snakemake -c 4 --delete-all-output
rm -f *.csv *.png

cleanall: clean all
17 changes: 9 additions & 8 deletions examples/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,10 @@ rule plot2_10sketches_cut:
cmp="10sketches.cmp",
labels="10sketches.cmp.labels_to.csv",
output:
"plot2.cut.10sketches.cmp.png",
png="plot2.cut.10sketches.cmp.png",
clusters=expand("10sketches.cmp.{n}.csv", n=range(1,7)),
shell: """
sourmash scripts plot2 {input.cmp} {input.labels} -o {output} \
sourmash scripts plot2 {input.cmp} {input.labels} -o {output.png} \
--cut-point=1.35 --cluster-out --figsize-x=5 --figsize-y=3
"""

Expand All @@ -100,7 +101,7 @@ rule mds_10sketches:
input:
cmp="10sketches.cmp",
labels="10sketches.cmp.labels_to.csv",
categories="10sketches-categories.csv",
categories="sketches/10sketches-categories.csv",
output:
"mds.10sketches.cmp.png"
shell: """
Expand All @@ -110,7 +111,7 @@ rule mds_10sketches:

rule cmp_64sketches:
input:
"64sketches.sig.zip",
"sketches/64sketches.sig.zip",
output:
cmp="64sketches.cmp",
labels="64sketches.cmp.labels.txt",
Expand Down Expand Up @@ -144,7 +145,7 @@ rule r10sketches_pairwise:
rule mds2_10sketches:
input:
cmp="10sketches.pairwise.csv",
categories="10sketches-categories.csv",
categories="sketches/10sketches-categories.csv",
output:
"mds2.10sketches.cmp.png"
shell: """
Expand All @@ -154,7 +155,7 @@ rule mds2_10sketches:

rule r64sketches_pairwise:
input:
"64sketches.sig.zip",
"sketches/64sketches.sig.zip",
output:
cmp="64sketches.pairwise.csv",
shell: """
Expand Down Expand Up @@ -226,7 +227,7 @@ rule plot3_10sketches:
input:
cmp="10sketches.cmp",
labels="10sketches.cmp.labels_to.csv",
categories="10sketches-categories.csv",
categories="sketches/10sketches-categories.csv",
output:
"plot3.10sketches.cmp.png",
shell: """
Expand All @@ -247,7 +248,7 @@ rule r10sketches_manysearch:
rule clustermap1_10sketches:
input:
cmp="10sketches.manysearch.csv",
categories="10sketches-categories.csv",
categories="sketches/10sketches-categories.csv",
output:
"clustermap1.10sketches.png",
shell: """
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 54e5cb9

Please sign in to comment.