Skip to main content

nuc_index

Function nuc_index 

Source
pub fn nuc_index(base: u8) -> Option<usize>
Expand description

Maps a nucleotide to its index in a NucMatrix, in either case.

Returns None for anything that is not A, C, G, or T.