Struct bio::stats::pairhmm::PairHMM [−][src]
pub struct PairHMM { /* fields omitted */ }
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
impl PairHMM
[src]
impl PairHMM
[src]pub fn new<G>(gap_params: &G) -> Self where
G: GapParameters,
[src]
G: GapParameters,
pub fn prob_related<E, A>(
&mut self,
emission_params: &E,
alignment_mode: &A,
max_edit_dist: Option<usize>
) -> LogProb where
E: EmissionParameters,
A: StartEndGapParameters,
[src]
&mut self,
emission_params: &E,
alignment_mode: &A,
max_edit_dist: Option<usize>
) -> LogProb where
E: EmissionParameters,
A: StartEndGapParameters,
Calculate the probability of sequence x being related to y via any alignment.
Arguments
gap_params
- parameters for opening or extending gapsemission_params
- parameters for emissionmax_edit_dist
- maximum edit distance to consider; if notNone
, perform banded alignment
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PairHMM
impl RefUnwindSafe for PairHMM
impl UnwindSafe for PairHMM
impl UnwindSafe for PairHMM
Blanket Implementations
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub unsafe fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,