[][src]Struct varlociraptor::model::evidence::observation::Observation

pub struct Observation {
    pub prob_mapping: LogProb,
    pub prob_mismapping: LogProb,
    pub prob_alt: LogProb,
    pub prob_ref: LogProb,
    pub prob_missed_allele: LogProb,
    pub prob_sample_alt: LogProb,
    pub prob_double_overlap: LogProb,
    pub prob_single_overlap: LogProb,
    pub prob_any_strand: LogProb,
    pub forward_strand: bool,
    pub reverse_strand: bool,
}

An observation for or against a variant.

Fields

prob_mapping: LogProb

Posterior probability that the read/read-pair has been mapped correctly (1 - MAPQ).

prob_mismapping: LogProb

Posterior probability that the read/read-pair has been mapped incorrectly (MAPQ).

prob_alt: LogProb

Probability that the read/read-pair comes from the alternative allele.

prob_ref: LogProb

Probability that the read/read-pair comes from the reference allele.

prob_missed_allele: LogProb

Probability that the read/read-pair comes from an unknown allele at an unknown true locus (in case it is mismapped). This should usually be set as the product of the maxima of prob_ref and prob_alt per read.

prob_sample_alt: LogProb

Probability to sample the alt allele

prob_double_overlap: LogProb

Probability to overlap with both strands

prob_single_overlap: LogProb

Probability to overlap with one strand only (1-prob_double_overlap)

prob_any_strand: LogProb

Probability to observe any overlapping strand combination (when not associated with alt allele)

forward_strand: bool

Observation relies on forward strand evidence

reverse_strand: bool

Observation relies on reverse strand evidence

Methods

impl Observation[src]

Trait Implementations

impl Clone for Observation[src]

impl Debug for Observation[src]

impl Default for Observation[src]

impl Serialize for Observation[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,