na_seq

Function calc_gc

Source
pub fn calc_gc(seq: &[Nucleotide]) -> f32
Expand description

Calculate portion of a sequence that is either the G or C nucleotide, on a scale of 0 to 1.