Open peterjc opened 1 day ago
Same with pairwise
:
❯ sourmash scripts pairwise -o /dev/stdout --ani signatures/ | wc -l
== This is sourmash version 4.8.11. ==
== Please cite Irber et. al (2024), doi:10.21105/joss.06830. ==
=> sourmash_plugin_branchwater 0.9.11; cite Irber et al., doi: 10.1101/2022.11.02.514947
ksize: 31 / scaled: None / moltype: DNA / threshold: 0.01
pairwise-comparing all sketches in 'signatures/' using 8 threads
Reading analysis(s) from: 'signatures/'
0
zsh: terminated sourmash scripts pairwise -o /dev/stdout --ani signatures/ |
zsh: done wc -l
❯ sourmash sig cat -o /tmp/pool.sig signatures/*.sig && sourmash scripts pairwise -o /dev/stdout --ani /tmp/pool.sig | wc -l
== This is sourmash version 4.8.11. ==
== Please cite Irber et. al (2024), doi:10.21105/joss.06830. ==
loaded 3 signatures total, from 3 files
loaded 3 signatures total.
output 3 signatures
== This is sourmash version 4.8.11. ==
== Please cite Irber et. al (2024), doi:10.21105/joss.06830. ==
=> sourmash_plugin_branchwater 0.9.11; cite Irber et al., doi: 10.1101/2022.11.02.514947
ksize: 31 / scaled: None / moltype: DNA / threshold: 0.01
pairwise-comparing all sketches in '/tmp/pool.sig' using 8 threads
Reading analysis(s) from: '/tmp/pool.sig'
Loaded 3 analysis signature(s)
Setting scaled=300 based on max scaled in collection
DONE. Processed 3 comparisons
...pairwise is done! results in '/dev/stdout'
4
Not documented as a supported input, so presumably not expected to work:
yes, we should exit appropriately :).
Try using:
sourmash sig collect <dir> -F csv -o mf.csv
Then pass mf.csv as input path. You might want to use --abspath
.
Err, you might want to use --abspath
when running sig collect
.
From https://sourmash.readthedocs.io/en/latest/using-sourmash-a-guide.html#how-do-i-store-and-search-collections-of-signatures I expected to be able to pass a folder name to mean all the signatures in it.
However
multisearch
appears to get stuck at 99% CPU:Workaround, combine the signatures first:
It may be the directory approach is not supported, but if so this should abort.
Tested on Intel macOS via conda install, using Python 3.12