Skip to main content

base_to_bits

Function base_to_bits 

Source
pub fn base_to_bits(c: u8) -> u8
Expand description

Convert an ASCII-encoded DNA base to a 2-bit representation, transforming bytes outside of ACGTacgt to A