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

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

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

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

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

Type of evidence.

Methods

impl Observation
[src]

Trait Implementations

impl Clone for Observation
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Observation
[src]

[src]

Formats the value using the given formatter.

impl Decodable for Observation
[src]

[src]

Deserialize a value using a Decoder.

impl Encodable for Observation
[src]

[src]

Serialize a value using an Encoder.