Struct bio::stats::pairhmm::HomopolyPairHMM [−][src]
pub struct HomopolyPairHMM { /* 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. The default model has been extended to consider homopolymer errors, at the cost of more states and transitions.
Implementations
impl HomopolyPairHMM
[src]
impl HomopolyPairHMM
[src]pub fn new<G, H>(gap_params: &G, hop_params: &H) -> Self where
G: GapParameters,
H: HopParameters,
[src]
G: GapParameters,
H: HopParameters,
Create a new instance of a HomopolyPairHMM.
Arguments
gap_params
- parameters for opening or extending gapshop_params
- parameters for opening or extending hops
pub fn prob_related<E, A>(
&self,
emission_params: &E,
alignment_mode: &A,
max_edit_dist: Option<usize>
) -> LogProb where
E: EmissionParameters + Emission,
A: StartEndGapParameters,
[src]
&self,
emission_params: &E,
alignment_mode: &A,
max_edit_dist: Option<usize>
) -> LogProb where
E: EmissionParameters + Emission,
A: StartEndGapParameters,
Calculate the probability of sequence x being related to y via any alignment.
Arguments
emission_params
- parameters for emissionalignment_mode
- parameters for free end/start gapsmax_edit_dist
- maximum edit distance to consider; if notNone
, perform banded alignment
Trait Implementations
impl Clone for HomopolyPairHMM
[src]
impl Clone for HomopolyPairHMM
[src]fn clone(&self) -> HomopolyPairHMM
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for HomopolyPairHMM
impl RefUnwindSafe for HomopolyPairHMM
impl Send for HomopolyPairHMM
impl Send for HomopolyPairHMM
impl Sync for HomopolyPairHMM
impl Sync for HomopolyPairHMM
impl Unpin for HomopolyPairHMM
impl Unpin for HomopolyPairHMM
impl UnwindSafe for HomopolyPairHMM
impl UnwindSafe for HomopolyPairHMM
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>,