pub trait ComplementMut {
// Required method
fn comp(&mut self);
}Expand description
Nucleotide bases and sequences can be complemented
Required Methods§
Implementors§
impl ComplementMut for MK
impl ComplementMut for RY
impl ComplementMut for WS
impl ComplementMut for bio_seq::codec::dna::Dna
This 2-bit representation of nucleotides lends itself to a very fast complement implementation with bitwise xor
impl ComplementMut for bio_seq::codec::iupac::Iupac
The complement of an IUPAC base is the reverse of the bit-pattern