pub struct Segment {
pub data: Contig,
pub front_kmer: u64,
pub back_kmer: u64,
pub front_kmer_is_dir: bool,
pub back_kmer_is_dir: bool,
}Expand description
A segment of a contig bounded by splitter k-mers
Fields§
§data: ContigThe sequence data of this segment
front_kmer: u64K-mer value at the start of the segment (or MISSING_KMER if at contig start)
back_kmer: u64K-mer value at the end of the segment (or MISSING_KMER if at contig end)
front_kmer_is_dir: boolWhether front k-mer is in direct orientation (for C++ AGC’s is_dir_oriented())
back_kmer_is_dir: boolWhether back k-mer is in direct orientation (for C++ AGC’s is_dir_oriented())
Implementations§
Trait Implementations§
impl Eq for Segment
impl StructuralPartialEq for Segment
Auto Trait Implementations§
impl Freeze for Segment
impl RefUnwindSafe for Segment
impl Send for Segment
impl Sync for Segment
impl Unpin for Segment
impl UnwindSafe for Segment
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,
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