-
Notifications
You must be signed in to change notification settings - Fork 2
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
RocksDB-based fastmultigather
is broken.
#322
Comments
Oh, and here are |
Related - in sourmash-bio/sourmash#3138 (comment), commit sourmash-bio/sourmash@10d5ee8, I add an analog to the Python test |
This PR fixes an issue introduced in #2943 where we introduced a subtly broken calculation that uses the _current_ size of the query metagenome as the denominator for the `f_unique_to_query` calculation. Fixes #3137 This PR also adds some commented-out test code that demonstrates #3139 / sourmash-bio/sourmash_plugin_branchwater#322. That's something I haven't been able to debug, so I'd suggest fixing that independently - I'd rather fix _a_ problem _now_, rather than waiting until we can fix _multiple_ problems at some later indeterminate time :). ## Notes - [x] do we need to fix same problem in `linear.rs`? or just rename things per #3137? - [x] we should add some tests for this
On latest
main
, the following demonstrates thatfastmultigather
is yielding incorrect (incomplete) results. (This was discovered as part of debugging differences in #298, but the behavior is present in the main branch.)Extract leptothrix sig:
Find all overlaps with that:
Extract to new collection:
Index:
Run fmg with resulting rocksdb:
Run fastgather with the original:
Observe different output sizes: 10 matches from fmg-rdb, 13 for fg:
Inspection of results, ordered by unique_intersect_bp:
shows rapidly increasing disagreement - the numbers in the first column are the fastmultigather results, the numbers in the second are from fastgather.
See notebook compare-fmg-limited for processing & comparison code.
The text was updated successfully, but these errors were encountered: