Skip to main content

residue_count

Function residue_count 

Source
pub fn residue_count(sequence: &str) -> usize
Expand description

How many residues sequence encodes, ignoring whitespace.

PlmRunner::residue_count delegates here so embed_residues returns one row per residue whether the caller spaced the sequence out or not.