pub struct EdgeMult { /* private fields */ }Expand description
multiplicities or coverage for each of the 8 possible edges indices: 0: T right 1: G right 2: C right 3: A right 4: T left 5: G left 6: C left 7: A left
Implementations§
Source§impl EdgeMult
impl EdgeMult
Sourcepub fn edge_mults(&self) -> [u32; 8]
pub fn edge_mults(&self) -> [u32; 8]
get the edge multiplicities as an array
Sourcepub fn clean_edges(&mut self, exts: Exts)
pub fn clean_edges(&mut self, exts: Exts)
clean the edge mults by removing edge counts that led to filtered kmers
based on a correct Exts
pub fn rc(&mut self)
pub fn combine(left: &EdgeMult, right: &EdgeMult) -> EdgeMult
pub fn from_single_dirs( left: &Option<SingleDirEdgeMult>, right: &Option<SingleDirEdgeMult>, ) -> Option<EdgeMult>
pub fn single_dir(&self, dir: Dir) -> SingleDirEdgeMult
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EdgeMult
impl<'de> Deserialize<'de> for EdgeMult
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
Source§impl Ord for EdgeMult
impl Ord for EdgeMult
Source§impl PartialOrd for EdgeMult
impl PartialOrd for EdgeMult
impl Eq for EdgeMult
impl StructuralPartialEq for EdgeMult
Auto Trait Implementations§
impl Freeze for EdgeMult
impl RefUnwindSafe for EdgeMult
impl Send for EdgeMult
impl Sync for EdgeMult
impl Unpin for EdgeMult
impl UnsafeUnpin for EdgeMult
impl UnwindSafe for EdgeMult
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
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§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.