Skip to main content

dima_core/
lib.rs

1//! DiMA core library: the sequence diversity dynamics analyser for viruses.
2//!
3//! Implements the method of Tharanga S, Ünlü ES, Hu Y, Sjaugi MF, Çelik MA, Hekimoğlu H,
4//! Miotto O, Öncel MM, Khan AM. "DiMA: sequence diversity dynamics analyser for viruses".
5//! *Brief Bioinform* 2025;26(1):bbae607, doi:10.1093/bib/bbae607.
6#![forbid(unsafe_code)]
7
8#[cfg(not(target_pointer_width = "64"))]
9compile_error!("DiMA supports 64-bit targets only (counts and offsets are 64-bit; see docs).");
10
11pub mod alphabet;
12pub mod analysis;
13pub mod citations;
14pub mod config;
15pub mod control;
16pub mod diagnostics;
17pub mod engine;
18pub mod entropy;
19pub mod error;
20pub mod hcs;
21pub mod header;
22pub mod human;
23pub mod input;
24pub mod methods;
25pub mod model;
26pub mod normalise;
27mod numeric;
28pub mod output;
29mod pool;
30pub mod position;
31pub mod provenance;
32pub mod run_report;
33pub mod stats;
34pub mod summary;
35pub mod validation;
36
37pub use analysis::{Analysis, analyze};
38pub use error::{DimaError, Result};