[−][src]Struct varlociraptor::model::evidence::observation::ObservationBuilder
Builder for Observation
.
Methods
impl ObservationBuilder
[src]
pub fn prob_mapping(&mut self, value: LogProb) -> &mut Self
[src]
Posterior probability that the read/read-pair has been mapped correctly (1 - MAPQ).
pub fn prob_mismapping(&mut self, value: LogProb) -> &mut Self
[src]
Posterior probability that the read/read-pair has been mapped incorrectly (MAPQ).
pub fn prob_alt(&mut self, value: LogProb) -> &mut Self
[src]
Probability that the read/read-pair comes from the alternative allele.
pub fn prob_ref(&mut self, value: LogProb) -> &mut Self
[src]
Probability that the read/read-pair comes from the reference allele.
pub fn prob_missed_allele(&mut self, value: LogProb) -> &mut Self
[src]
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.
pub fn prob_sample_alt(&mut self, value: LogProb) -> &mut Self
[src]
Probability to sample the alt allele
pub fn forward_strand(&mut self, value: bool) -> &mut Self
[src]
Observation relies on forward strand evidence
pub fn reverse_strand(&mut self, value: bool) -> &mut Self
[src]
Observation relies on reverse strand evidence
pub fn evidence(&mut self, value: Evidence) -> &mut Self
[src]
Type of evidence.
pub fn build(&self) -> Result<Observation, String>
[src]
Trait Implementations
impl Default for ObservationBuilder
[src]
fn default() -> ObservationBuilder
[src]
impl Clone for ObservationBuilder
[src]
fn clone(&self) -> ObservationBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for ObservationBuilder
impl Sync for ObservationBuilder
Blanket Implementations
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<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,