A library for interacting with SLOW5 files in rust.
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.3.1"
Note: version does not directly translate to version of slow5lib.
rust
fn get_by_read_id() {
let file_path = "examples/example.slow5";
let mut slow5_file = slow5::Builder::default().open(file_path).unwrap();
let record = slow5_file.get_read(b"r3").unwrap();
assert_eq!(b"r3", record.read_id());
}
```rust use std::error::Error;
fn iteratingexample() -> Result<(), Box
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.