Trait bioutils::utils::replace::CopyRandomNucleotide [−][src]
Required methods
fn copy_random_replace_n(&self, xna: &str, rng: ThreadRng) -> Vec<u8>
[src]
fn copy_random_replace_gap(&self, xna: &str, rng: ThreadRng) -> Vec<u8>
[src]
Implementors
impl<T> CopyRandomNucleotide for T where
T: IntoIterator<Item = u8> + Copy,
[src]
T: IntoIterator<Item = u8> + Copy,
fn copy_random_replace_n(&self, xna: &str, rng: ThreadRng) -> Vec<u8>
[src]
Fill {N,n} with pseudorandom nucleotides ACUG if xna is “RNA” or ACTG for all other xna.
fn copy_random_replace_gap(&self, xna: &str, rng: ThreadRng) -> Vec<u8>
[src]
Fill gaps {.,-} with pseudorandom nucleotides ACUG if xna is “RNA” or ACTG for all other xna.