1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! biolic: A modular bioinformatics toolkit in Rust.
//!
//! biolic is designed for fast, memory-efficient processing of DNA sequencing data,
//! with particular focus on long-read sequencing from PacBio HiFi and Oxford Nanopore.
//!
//! # Modules
//!
//! - [`cli`]: Command-line interface definition and dispatch.
//! - [`io`]: File reading, writing, and format detection.
//! - [`record`]: The unified `Record` type abstracting FASTQ, FASTA, and BAM.
//! - [`modules`]: The actual processing modules (stats, filter, count, etc.).
//! - [`output`]: Output formatting (human, JSON, TSV).
//! - [`utils`]: Shared utility functions (quality, statistics).
//! - [`error`]: Error types.
//!
//! # Example
//!
//! ```no_run
//! use biolic::io::reader::open_reader;
//! use biolic::record::Record;
//!
//! let mut reader = open_reader("reads.fastq.gz").unwrap();
//! let mut total = 0;
//! while let Some(record) = reader.next_record().unwrap() {
//! total += record.seq.len();
//! }
//! println!("Total bases: {}", total);
//! ```
pub use BiolicError;
pub use Record;