-
Notifications
You must be signed in to change notification settings - Fork 8
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
Other Hash Functions #26
Comments
RepHash is another rolling hashing function worth taking a look at. |
See bcgsc/ntHash#7 for a discussion of a Rust implemention of ntHash. |
Now that I figure out what version of ntHash I'm comparing to, I'll finish the implementation (with a proper |
@bovee Have you seen ntHashIterator class in ntHash lib? This is a C++ wrapper over ntHash to iterate on a sequence. |
@luizirber and @bovee please let me what a C++ binding for ntHash should look like. Do you mean C++ version of ntHash instead of C version? or something like ntHashIterator would work for you? I can also help with Rust translation. |
I think this is ready for testing: https://github.com/luizirber/nthash |
@luizirber nice work! just a quick note here in the Rust implementation. Could it be possible to replace both |
@bovee @luizirber How do you handle non-ACGT? Just wanted to mention there are specific functions in nthash.hpp for this purpose. |
@mohamadi The current behavior is to (Also, it'd be appreciated if we could move the conversation over to @luizirber 's ntHash repo) |
Idea here.
Murmurhash is fast, but it would potentially be faster to use a hashing function (like ntHash ) that doesn't require a full recomputation on each new k-mer.
Unfortunately, to use ntHash itself we'd either need C++ bindings or a translation into Rust.
The text was updated successfully, but these errors were encountered: