slow5-rs
A library for interacting with SLOW5/BLOW5 files in rust. Not official.
For more information checkout the main slow5lib repository.
Note: Library design is in flux and care should be taken in upgrading this crate.
Installation
Add the following to your Cargo.toml
:
[]
= "0.11"
Git
If you'd like to download the git version, use the following command to download the repo
Getting started
Reading signal from SLOW5 file
use ;
Writing a compressed BLOW5 file with attributes
use Error;
use ;
More example code
For more example code, see the test code. Several examples from the original library have been ported to rust and can be found in the examples directory.
Feature flags
zstd
: Enable zstd-based compression (enabled by default)zlib-ng
: Enable usage of high performance zlib-ng, addscmake
dependencyserde
: Enableserde
dependency (mainly for serializingRecord
)
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
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.