sfs_core/input/site.rs
1//! Input sites.
2
3pub mod reader;
4pub use reader::Reader;
5
6use crate::spectrum::{project::Projected, Count};
7
8/// An input site.
9///
10/// This type results from reader genotypes from a [`Reader`] with its particular configuration.
11/// See there for details.
12pub enum Site<'a> {
13 /// A standard count with no projection.
14 Standard(&'a Count),
15 /// A projected count.
16 Projected(Projected<'a>),
17 /// A site with insufficient data.
18 InsufficientData,
19}