[−][src]Struct varlociraptor::model::evidence::observation::Observation
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]
pub fn bayes_factor_alt(&self) -> BayesFactor
[src]
pub fn bayes_factor_ref(&self) -> BayesFactor
[src]
pub fn prob_alt_forward(&self) -> LogProb
[src]
pub fn prob_alt_reverse(&self) -> LogProb
[src]
pub fn prob_ref_forward(&self) -> LogProb
[src]
pub fn prob_ref_reverse(&self) -> LogProb
[src]
Trait Implementations
impl Clone for Observation
[src]
fn clone(&self) -> Observation
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Observation
[src]
impl Default for Observation
[src]
fn default() -> Observation
[src]
impl Serialize for Observation
[src]
Auto Trait Implementations
impl RefUnwindSafe for Observation
impl Send for Observation
impl Sync for Observation
impl Unpin for Observation
impl UnwindSafe for Observation
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,