[−][src]Struct varlociraptor::model::evidence::fragments::IndelEvidence
Calculate read evindence for an indel.
Methods
impl IndelEvidence
[src]
pub fn new() -> Self
[src]
Create a new instance.
pub fn is_discriminative(
&self,
variant: &Variant,
alignment_properties: &AlignmentProperties
) -> bool
[src]
&self,
variant: &Variant,
alignment_properties: &AlignmentProperties
) -> bool
Returns true if insert size is discriminative.
pub fn prob(
&self,
insert_size: u32,
variant: &Variant,
alignment_properties: &AlignmentProperties
) -> Result<(LogProb, LogProb)>
[src]
&self,
insert_size: u32,
variant: &Variant,
alignment_properties: &AlignmentProperties
) -> Result<(LogProb, LogProb)>
Calculate probability for reference and alternative allele.
pub fn prob_sample_alt(
&self,
left_read_len: u32,
right_read_len: u32,
variant: &Variant,
alignment_properties: &AlignmentProperties
) -> LogProb
[src]
&self,
left_read_len: u32,
right_read_len: u32,
variant: &Variant,
alignment_properties: &AlignmentProperties
) -> LogProb
Probability to sample read from alt allele for globally observed number of feasible positions.
The key idea is to take the insert size distribution and calculate the expected probability by considering the number of valid placements over all placements for each possible insert size.
pub fn prob_double_overlap(
&self,
left_read_len: u32,
right_read_len: u32,
variant: &Variant,
alignment_properties: &AlignmentProperties
) -> LogProb
[src]
&self,
left_read_len: u32,
right_read_len: u32,
variant: &Variant,
alignment_properties: &AlignmentProperties
) -> LogProb
Trait Implementations
impl Clone for IndelEvidence
[src]
fn clone(&self) -> IndelEvidence
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for IndelEvidence
[src]
Auto Trait Implementations
impl RefUnwindSafe for IndelEvidence
impl Send for IndelEvidence
impl Sync for IndelEvidence
impl Unpin for IndelEvidence
impl UnwindSafe for IndelEvidence
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>,