Struct libprosic::estimation::alignment_properties::InsertSize
source · Expand description
Expected insert size in terms of mean and standard deviation. This should be estimated from unsorted(!) bam files to avoid positional biases.
Fields
mean: f64
sd: f64
Implementations
sourceimpl InsertSize
impl InsertSize
sourcepub fn from_samtools_stats<R: Read>(
samtools_stats: &mut R
) -> Result<InsertSize, Box<dyn Error>>
pub fn from_samtools_stats<R: Read>(
samtools_stats: &mut R
) -> Result<InsertSize, Box<dyn Error>>
Obtain insert size from samtools stats output.
Trait Implementations
sourceimpl Clone for InsertSize
impl Clone for InsertSize
sourcefn clone(&self) -> InsertSize
fn clone(&self) -> InsertSize
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for InsertSize
impl Debug for InsertSize
sourceimpl Default for InsertSize
impl Default for InsertSize
sourcefn default() -> InsertSize
fn default() -> InsertSize
Returns the “default value” for a type. Read more
impl Copy for InsertSize
Auto Trait Implementations
impl RefUnwindSafe for InsertSize
impl Send for InsertSize
impl Sync for InsertSize
impl Unpin for InsertSize
impl UnwindSafe for InsertSize
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more