Skip to main content

classify

Function classify 

Source
pub fn classify(sample: &[u8]) -> SeqType
Expand description

seqkit’s alphabet guess over one sequence (pass the first record’s prefix — see DEFAULT_ALPHABET_GUESS_LEN): any protein-only residue ⇒ Protein; else U-without-T ⇒ RNA; else DNA. An empty or non-bio sequence ⇒ Unlimit. Ambiguity codes and gaps do not decide the type.