Function needletail::sequence::canonical[][src]

pub fn canonical(seq: &[u8]) -> Cow<'_, [u8]>

Taking in a sequence string, return the canonical form of the sequence (e.g. the lexigraphically lowest of either the original sequence or its reverse complement)