core/sequence
Functions
pub fn validate_base(base: String) -> Result(String, String)
pub fn validate_sequence(sequence: String) -> String
Returns a string which accumulates invalid bases present in the sequence. If the sequence is valid, it will return an empty string. You can use this to validate a DNA sequence by matching on the empty string.