-
Notifications
You must be signed in to change notification settings - Fork 80
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
[MRG] add sum_hashes
to sourmash sig describe
output.
#1882
Conversation
Codecov Report
@@ Coverage Diff @@
## latest #1882 +/- ##
=======================================
Coverage 82.61% 82.62%
=======================================
Files 121 121
Lines 13105 13109 +4
Branches 1756 1756
=======================================
+ Hits 10827 10831 +4
Misses 2015 2015
Partials 263 263
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
sum_hashes
to sourmash sig describe
output.sum_hashes
to sourmash sig describe
output.
ready for review & merge @sourmash-bio/devs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm!
Just so I'm clear - sum hashes is the sum of the abundances for all unique hashes?
Yep! Added some doc text in 065b05b |
doc/command-line.md
Outdated
signature license: CC0 | ||
``` | ||
|
||
Here, the `size` is the number of distinct hashes in the sketch, and | ||
`sum_hashes` is the total number of hashes in the sketch, with abundances. | ||
When `track_abundance` is 0, `size` is always the same as `sum_hashes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this missing a closing "`"?
This PR -
sum hashes:
to human readable output, andsum_hashes
to CSV output, forsig dsecribe
--include-db-pattern
and--exclude-db-pattern
tosig describe
sig describe
wheresignature_file
was always empty;Fixes #1833 by making
sum_hashes
visible (the last remaining part of that issue).