[−][src]Function needletail::sequence::canonical
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)