-
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
[WIP] Add "knn" and "umap" commands #710
Conversation
…tegies on different systems
Co-Authored-By: Luiz Irber <luizirber@users.noreply.github.com>
Continuing this conversation: olgabot
titus
olgabot
titus
luizirber
|
The current implementation of SBTs is not properly localized, so a nearest neighbor graph built on the SBTs and then fed into a UMAP implementation in this PR. Instead of getting the correct plot on the left that was built on an all-by-all matrix csv from This is due to the SBTs not being properly localized, as the nearest neighbor algorithm depends on leaves sharing parents to be more similar in jaccard space than leaves that do not share parents. |
Resurrecting this PR... |
# Conflicts: # requirements.txt # sourmash/_minhash.pxd # sourmash/_minhash.pyx # sourmash/commands.py # sourmash/compare.py # sourmash/index.py # sourmash/kmer_min_hash.hh # sourmash/sbt.py # sourmash/sig/__main__.py # sourmash/signature.py # sourmash/signature_json.py # sourmash/sourmash_args.py # tests/conftest.py # tests/test__minhash.py # tests/test_cmd_signature.py # tests/test_compare.py # tests/test_signature_json.py # tests/test_sourmash.py
SonarCloud Quality Gate failed. 1 Bug No Coverage information |
Depending on #925 working, then can create a k-nearest neighbor graph and umap visualization directly from a sourmash SBT index.
make test
Did it pass the tests?make coverage
Is the new code covered?without a major version increment. Changing file formats also requires a
major version number increment.
changes were made?