You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank for writing this beautiful and powerful Rust library! I was curious if it would work well for what I want to do — bitpacking IUPAC nucleotide sequences, and then writing/reading them to a memory mapped file. But as far as I can tell, there isn't a way to take write/read the raw underlying u8 sequence to disk. Is there support for this? My apologies if I'm overlooking something.
Thanks,
Vince
The text was updated successfully, but these errors were encountered:
using serde. This needs to be enabled in Cargo.toml, bio-seq = { version="0.13", features=["serde"] }. You'll also need something like bincode to encode the serialised object into a Vec<u8>:
If you're using memory mapping to handle very large sequences please let me know if there are any issues, I haven't tried this. I'm wondering if you'll need to view the &[usize] as a &[u8] without any copying. It could be a very nice example to include!
Hi,
Thank for writing this beautiful and powerful Rust library! I was curious if it would work well for what I want to do — bitpacking IUPAC nucleotide sequences, and then writing/reading them to a memory mapped file. But as far as I can tell, there isn't a way to take write/read the raw underlying
u8
sequence to disk. Is there support for this? My apologies if I'm overlooking something.Thanks,
Vince
The text was updated successfully, but these errors were encountered: