Module block_aligner::simulate
source · Expand description
Utility functions for simulating random sequences.
Statics
All 20 amino acids.
All 4 nucleotides and the undetermined/placeholder nucleotide.
Functions
Given an input byte string, craete a randomly mutated copy.
Given an input byte string, create a randomly mutated copy with
a single long random insert.
Given an input byte string, create a randomly mutated copy and
add random suffixes to both strings.
Generate a random string of a certain length, with a certain
alphabet.