Function fasten_mutate::mutate
source · pub(crate) fn mutate(
seq: &str,
nts: &Vec<char>,
num_snps: u8,
mark: bool
) -> String
Expand description
Mutate a str of a sequence of nucleotides using the nucleotides
in a vector nts
.
This function does not use any kind of mutation model and will
choose random positions to replace with random nucleotides.