Struct libprosic::model::sample::Observation [] [src]

pub struct Observation {
    pub prob_mapping: LogProb,
    pub prob_alt: LogProb,
    pub prob_ref: LogProb,
    pub prob_mismapped: LogProb,
    pub evidence: Evidence,
}

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_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_mismapped: LogProb

Probability of the read/read-pair given that it has been mismapped.

evidence: Evidence

Type of evidence.

Trait Implementations

impl Encodable for Observation
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Decodable for Observation
[src]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Observation, __D::Error>

impl Debug for Observation
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Observation
[src]

fn clone(&self) -> Observation

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more