pub fn encode_string(s: &str) -> Result<Vec<u8>, EncodingError>
Encode a DNA string to a bit-packed representation
Returns an error if the string contains invalid bases