1 unstable release
0.1.0 | Nov 1, 2022 |
---|
#57 in #associated
53 downloads per month
Used in 2 crates
79KB
1.5K
SLoC
angsd-io
angsd-io is a collection of Rust crates for reading and writing binary file formats associated with ANGSD.
Usage
To use one of the angsd-io in your own project, add the following to the [dependencies]
section of your Cargo.toml
:
angsd-saf = { git = "https://github.com/malthesr/angsd-io.git" }
Replace angsd-saf
with the name of the crate you wish to depend on.
For more information, see here. In particular, you may wish to depend on a specific commit to avoid breakage:
angsd-saf = { git = "https://github.com/malthesr/angsd-io.git", rev = "abc" }
Replace abc
with the hash of the commit you wish to depend on.
Documentation
The documentation can be built and viewed locally by running:
cargo doc --open
lib.rs
:
Reading and writing of the SAF format.
Examples
Read SAF v3 file:
Write SAF v3 file:
Read only intersecting sites in multiple SAF v3 files:
The above examples are also available as runnable binaries,
see the repository examples/
folder.
Dependencies
~2MB
~35K SLoC