pub const BIAS_WEIGHT_SCALE: f64 = (1u64 << 20) as f64;
#[inline]
pub fn bias_mass_to_fp(mass: f64) -> u64 {
(mass * BIAS_WEIGHT_SCALE) as u64
}
pub mod bias;
pub mod dumps;
pub mod fld;
pub mod gcbias;
pub mod libdetect;
pub mod posbias;
pub mod seqbias;
pub mod spline;
pub use bias::{
build_expected_pos, corrected_effective_length_full, positional_factor, BiasInputs,
};
pub use fld::FragLengthSource;
pub use fld::{
ambig_frag_log_prob, smoothed_effective_length, DiscreteFld, FragmentLengthDistribution,
};
pub use gcbias::{
build_expected_gc, gc_corrected_effective_length, gc_desc, gc_prefix, gc_ratio, GcFragModel,
GcRank, GcStore, GcView, GC_SAMP_STRIDE,
};
pub use libdetect::{infer_format_from_counts, LibraryTypeDetector};
pub use posbias::{
compute_length_quantiles, length_class_index, SimplePosBias, NUM_LENGTH_CLASSES, NUM_POS_BINS,
};
pub use seqbias::{build_expected, corrected_effective_length, LogBiasTable, SBModel};