Trait bio_seq::seq::ReverseComplement

source ·
pub trait ReverseComplement {
    type Output;

    // Required method
    fn revcomp(&self) -> Self::Output;
}
Expand description

A reversible sequence of things that can be complemented can be reverse complemented

Required Associated Types§

Required Methods§

source

fn revcomp(&self) -> Self::Output

Reverse complement of a sequence

Implementors§

source§

impl<A: Codec + Complement> ReverseComplement for SeqSlice<A>

§

type Output = Seq<A>

source§

impl<A: Codec + Complement, const K: usize> ReverseComplement for Kmer<A, K>

§

type Output = Kmer<A, K>