Struct debruijn::DnaBytes [−][src]
Expand description
A newtype wrapper around a Vec<u8>
with implementations
of the Mer
and Vmer
traits.
Tuple Fields
0: Vec<u8>
Trait Implementations
Set nbases
positions in the sequence, starting at pos
.
Values must be packed into the upper-most bits of value
.
Iterate over the bases in the sequence
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Create a Vmer from a sequence of bytes
Get the first Kmer from the sequence
Get the terminal kmer of the sequence, on the both side of the sequence
Get the terminal kmer of the sequence, on the side of the sequence given by dir
Iterate over the kmers in the sequence
fn iter_kmer_exts<K: Kmer>(&self, seq_exts: Exts) -> KmerExtsIter<'_, K, Self>ⓘNotable traits for KmerExtsIter<'a, K, D>impl<'a, K: Kmer, D: Mer> Iterator for KmerExtsIter<'a, K, D> type Item = (K, Exts);
fn iter_kmer_exts<K: Kmer>(&self, seq_exts: Exts) -> KmerExtsIter<'_, K, Self>ⓘNotable traits for KmerExtsIter<'a, K, D>impl<'a, K: Kmer, D: Mer> Iterator for KmerExtsIter<'a, K, D> type Item = (K, Exts);
impl<'a, K: Kmer, D: Mer> Iterator for KmerExtsIter<'a, K, D> type Item = (K, Exts);
Iterate over the kmers and their extensions, given the extensions of the whole sequence
Auto Trait Implementations
impl RefUnwindSafe for DnaBytes
impl UnwindSafe for DnaBytes
Blanket Implementations
Mutably borrows from an owned value. Read more