pub struct HcsRegion {
pub id: u64,
pub start_column: u64,
pub end_column: u64,
pub length: u64,
pub sequence: String,
pub min_incidence: f64,
pub min_support: u64,
pub conservation_lower_bound_95: f64,
pub low_support_positions: Vec<u64>,
pub flagged: bool,
pub split_from_previous: bool,
pub members: Vec<HcsMember>,
}Expand description
One historically conserved sequence.
Fields§
§id: u641-based region number.
start_column: u64First alignment column.
end_column: u64Last alignment column.
length: u64Columns spanned.
sequence: StringThe conserved sequence.
min_incidence: f64Lowest Index incidence among members, per cent.
min_support: u64Lowest support among members.
conservation_lower_bound_95: f64Lowest Clopper–Pearson lower bound among members (0–1).
low_support_positions: Vec<u64>Positions from the first to the last member with support ≤ T (members or not).
flagged: booltrue when low_support_positions is not empty.
split_from_previous: booltrue when the previous region ended because its overlap disagreed with this one.
members: Vec<HcsMember>Contributing positions.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HcsRegion
impl<'de> Deserialize<'de> for HcsRegion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for HcsRegion
Auto Trait Implementations§
impl Freeze for HcsRegion
impl RefUnwindSafe for HcsRegion
impl Send for HcsRegion
impl Sync for HcsRegion
impl Unpin for HcsRegion
impl UnsafeUnpin for HcsRegion
impl UnwindSafe for HcsRegion
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more