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.
Methods
impl Observation
[src]
fn is_alignment_evidence(&self) -> bool
[src]
Trait Implementations
impl Clone for Observation
[src]
fn clone(&self) -> Observation
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Observation
[src]
impl Decodable for Observation
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Observation, __D::Error>
[src]
Deserialize a value using a Decoder
.