-
Notifications
You must be signed in to change notification settings - Fork 38
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
rust crate libwfa #98
Comments
Have you tried using the existing rust wrapper? That one should work without issues. |
Can I found this wrapper on crate.io?
Thanks,
Hang
…On Mon, Jul 29, 2024 at 3:38 PM Ragnar Groot Koerkamp < ***@***.***> wrote:
Have you tried using the existing rust wrapper? That one should work
without issues.
https://github.com/pairwise-alignment/rust-wfa2
—
Reply to this email directly, view it on GitHub
<#98 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A6ZVY2HIOYBGPFTEG6FP7ULZO2K4ZAVCNFSM6AAAAABLU2JMKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJWG42TKMZTGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Currently not, but you can add it as a git dependency. I suppose we can also push it to crates.io if you prefer |
I add it as a git dependency, however the crate stucture is different from the examples in your manual. Can you provide an example how to calculate the alignment score from your crate? Best, Hang |
This example usage should get you going: |
Here is my code below:
However, I got an error with Do you have any suggestions how's it going? Thanks |
I got WFAlignerGapAffine working. Thanks so much! |
Ah, you'll probably want to use the Memory::UltraLow variant which corresponds to BiWFA and is faster and uses much less memory. The rust crate is simply a wrapper around the code in this rep; not much development is needed I'd say. Possibly the submodule could be updated to the latest version, but Santiago would know better if there are relevant recent changes (bug fixes and/or breaking API changes) here. |
Thanks, @RagnarGrootKoerkamp, for the help. There are no major changes in the library (just a few bug fixes). However, the development continues, and it is our aim to keep improving the library in the near future with new features and optimizations. |
just noticing the comment about memory mode and BiWFA. Maybe the Readme could be updated to clarify?
The phrase |
Yes, indeed. You are right. I should rewrite this part. |
Hi,
I was trying to use libwfa for a rust code, but failed to compile. The error message suggests stderr value is not found in the scope of the file affine_wavefront.rs (affine_wavefront.rs at line 187. The compiler suggests importing stderr from std::io::stderr). Is this an easy fix or is this crate totally out of maintenance?
Best,
Hang
The text was updated successfully, but these errors were encountered: