Trait bio::stats::pairhmm::Emission[][src]

pub trait Emission {
    fn emission_x(&self, i: usize) -> u8;
fn emission_y(&self, j: usize) -> u8; }

Trait needed for the HomopolyPairHMM, because its implementation details depend on the actual bases to distinguish between Match states.

Required methods

fn emission_x(&self, i: usize) -> u8[src]

Base emitted at i in sequence x. Should be one of b’A’, b’C’, b’G’ or b’T’.

fn emission_y(&self, j: usize) -> u8[src]

Base emitted at i in sequence y. Should be one of b’A’, b’C’, b’G’ or b’T’.

Loading content...

Implementors

Loading content...