Struct bio::stats::pairhmm::PairHMM

source ·
pub struct PairHMM { /* private fields */ }
Expand description

A pair Hidden Markov Model for comparing sequences x and y as described by Durbin, R., Eddy, S., Krogh, A., & Mitchison, G. (1998). Biological Sequence Analysis. Current Topics in Genome Analysis 2008. http://doi.org/10.1017/CBO9780511790492.

Implementations

Calculate the probability of sequence x being related to y via any alignment.

Arguments
  • gap_params - parameters for opening or extending gaps
  • emission_params - parameters for emission
  • max_edit_dist - maximum edit distance to consider; if not None, perform banded alignment

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.