Skip to main content

Crate cyanea_core

Crate cyanea_core 

Source
Expand description

Shared primitives, traits, and utilities for the Cyanea bioinformatics ecosystem.

cyanea-core provides the foundation that all other Cyanea crates build on:

  • Error typesCyaneaError and Result for structured error handling
  • Traits — Core abstractions like Sequence, ContentAddressable, Compressible
  • Hashing — SHA-256 content addressing for data integrity
  • Compression — zstd and gzip with algorithm auto-detection
  • Memory mapping — Zero-copy file access (std feature only)

Re-exports§

pub use error::CyaneaError;
pub use error::Result;
pub use prob::LogProb;
pub use prob::PhredProb;
pub use bitvec::RankSelectBitVec;
pub use bitvec::WaveletMatrix;
pub use fenwick::FenwickTree;
pub use traits::*;

Modules§

bitvec
Rank/select bitvectors and wavelet matrix.
compress
Compression utilities with algorithm auto-detection.
error
Structured error types for the Cyanea ecosystem.
fenwick
Generic Fenwick tree (Binary Indexed Tree) for prefix sums.
hash
SHA-256 hashing for content addressing and data integrity.
mmap
Memory-mapped file access for zero-copy I/O.
prob
Log-space probability types for numerically stable computation.
traits
Core trait definitions for the Cyanea ecosystem.