Trait bioutils::utils::replace::CopyRandomNucleotide[][src]

pub trait CopyRandomNucleotide {
    fn copy_random_replace_n(&self, xna: &str, rng: ThreadRng) -> Vec<u8>;
fn copy_random_replace_gap(&self, xna: &str, rng: ThreadRng) -> Vec<u8>; }

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]

Loading content...

Implementors

impl<T> CopyRandomNucleotide for T where
    T: IntoIterator<Item = u8> + Copy
[src]

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.

Loading content...