Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suggestion: add k size note to sig merge help docs #2708

Closed
jessicalumian opened this issue Aug 9, 2023 · 2 comments · Fixed by #2713
Closed

suggestion: add k size note to sig merge help docs #2708

jessicalumian opened this issue Aug 9, 2023 · 2 comments · Fixed by #2713

Comments

@jessicalumian
Copy link

I was running the command

sourmash sig merge *.sig -o ref.sig

where each file in *.sig was calculated at k = 21,31,51. So I got the error:

== This is sourmash version 4.5.0. ==
== Please cite Brown and Irber (2016), doi:10.21105/joss.00027. ==

ERROR when merging signature '<file>' (45087801) from file <file>.sig
different ksizes cannot be compared

I figured out that I was missing a k flag (sourmash sig merge *.sig -o ref.sig -k 21) but the docs for sourmash sig merge don't specifically mention this: https://sourmash.readthedocs.io/en/latest/command-line.html#sourmash-signature-merge-merge-two-or-more-signatures-into-one

sourmash sig merge -h does mention this in the output, which is good!

Suggestion: add a note about this in the sourmash sig merge web docs, and potentially to all functions where k size should be specified.

Feel free to ignore this! Just thought I'd mention it. =]

@ctb
Copy link
Contributor

ctb commented Aug 12, 2023

Fixed in #2713!

@ctb
Copy link
Contributor

ctb commented Aug 12, 2023

@jessicalumian could you confirm that the new docs make sense? see #2713 header for direct links.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants