#bioinformatics #genomic #compression #writer


Library for using N threads to write to M compressed files/writers

2 unstable releases

0.3.0 Dec 23, 2022
0.2.0 Mar 4, 2022

#146 in Compression

Download history 13/week @ 2023-01-31 35/week @ 2023-02-07 20/week @ 2023-02-14 156/week @ 2023-02-21 19/week @ 2023-02-28 9/week @ 2023-03-07 17/week @ 2023-03-14 8/week @ 2023-03-21 12/week @ 2023-03-28 5/week @ 2023-04-04 26/week @ 2023-04-11 4/week @ 2023-04-18 36/week @ 2023-04-25 14/week @ 2023-05-02 30/week @ 2023-05-09 17/week @ 2023-05-16

98 downloads per month
Used in fqtk

MIT license

470 lines


Build Status license Version info

A pooled writer and compressor.

This library is intended for scenarios where the number of writers you have is >= the number of threads you want to use for writing.

Note that this is an alpha release and the API could change drastically in future releases.

Documentation and Examples

Please see the generated Rust Docs.

How to use in your project

Add the following to your Cargo.toml dependencies section, updating the version number as needed.

pooled-writer = "*"

By default this will come with a BGZF compressor. If that is not needed then add the default-features = true specifier to the dependency declaration above (i.e. pooled-writer = {version = "*", default-features = false}).

How to build and test locally

Assuming you have cloned the repo and are in the top level:

cargo test
# The following test is more comprehensive and may take up to 10 minutes to run
cargo test -- --ignored

How to publish

This assumes that you have installed cargo-release via cargo install cargo-release and have set up credentials with crates.io.

cargo release <patch|minor|major>


~102K SLoC