A library for interacting with SLOW5 files in rust. Not official.
Note: Library design is in flux and care should be taken in upgrading this crate.
Add the following to your Cargo.toml
:
toml
[dependencies]
slow5 = "0.10"
Note: version does not directly translate to version of slow5lib.
If you'd like to download the git version, use the following command to download the repo
bash
git clone --recursive https://github.com/bsaintjo/slow5-rs.git
```rust use slow5::{FileReader, RecordExt};
fn main() -> Result<(), Box
```rust use std::error::Error; use slow5::{FileWriter, SignalCompression, Record};
fn main() -> Result<(), Box
zstd
: Enable zstd-based compression (enabled by default)zlib-ng
: Enable usage of high performance zlib-ng, adds cmake
dependencyserde
: Enable serde
dependency (mainly for serializing Record
)Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.