-
Notifications
You must be signed in to change notification settings - Fork 10
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
help info for use as a library #12
Comments
Hi jianshu, If there is enough interest in using skani as a library, I'm not opposed to setting a more detailed Readme to use skani as a rust library with actual docs. I'll leave this up for now to see if there is other interest. Maybe also, see https://github.com/althonos/pyskani by @althonos for how python bindings were generated for skani. His code is cleaner than mine and gives an idea for how to use skani's rust internals. I can probably set up a small Readme for how to compare two genomes. Would that be sufficient for you? |
Hello Jim, Thanks, Jianshu |
Hi Jianshu, I've written up a quick minimal example on how to use skani here: https://github.com/bluenote-1577/skani-lib-example. Let me know how it goes. For now, you'll have to go through skani's code to understand the function specifications (or https://docs.rs/skani/0.1.0/skani/), but maybe I'll support skani as a true library with docs one day :), depending on requests. Jim |
Oh Many thanks! This is very helpful! I am going to try to use it a another tool. Jianshu. |
Are you planning on updating the crate (https://docs.rs/skani/latest/skani/)? I can only find up to v0.1.1. |
Hi @AroneyS, I currently am not planning on updating crate for two reasons.
If you have any questions about usage, let me know. I'm still keeping this open to gauge interest in skani's usage as a library |
Hello Jim,
Is that possible that a detailed function of comparing 2 genomes using skani can be added to readme so that when users want to rely on skani as library in other tools et.al. (or in other words make it modular). I can see that it is somewhere in the dist.rs
Thanks,
Jianshu
The text was updated successfully, but these errors were encountered: