-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MRG: in core, enable downsample within select (#2931)
Attempting #1292 in order to move forward sourmash-bio/sourmash_plugin_branchwater#134 Modifies `Signature` `Select` to downsample automatically. - for scaled sketches, while checking ksize, we also retain only sketches that have the right scaled or can be downsampled (scaled <= selection.scaled()) - next, we iterate through the sketches and downsample any where scaled < selection.scaled() Note that for `sourmash_plugin_branchwater` compatibility, we need: - `byteorder` = "1.4.3" - `wasm-bindgen` = "0.2.89" - `once_cell` = "1.18.0" --------- Co-authored-by: Luiz Irber <luizirber@users.noreply.github.com>
- Loading branch information
Showing
2 changed files
with
70 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters