pub struct AlignmentProperties { /* private fields */ }
Implementations
sourceimpl AlignmentProperties
impl AlignmentProperties
sourcepub fn default(insert_size: InsertSize) -> Self
pub fn default(insert_size: InsertSize) -> Self
Constructs a dummy instance where all bases are feasible.
sourcepub fn estimate<R: Read>(bam: &mut R) -> Result<Self, Box<dyn Error>>
pub fn estimate<R: Read>(bam: &mut R) -> Result<Self, Box<dyn Error>>
Estimate AlignmentProperties
from first 10000 fragments of bam file.
Only reads that are mapped, not duplicates and where quality checks passed are taken.
pub fn feasible_bases(&self, read_len: u32, variant: &Variant) -> u32
pub fn insert_size(&self) -> &InsertSize
pub fn max_mapq(&self) -> PHREDProb
Trait Implementations
sourceimpl Clone for AlignmentProperties
impl Clone for AlignmentProperties
sourcefn clone(&self) -> AlignmentProperties
fn clone(&self) -> AlignmentProperties
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 AlignmentProperties
impl Debug for AlignmentProperties
impl Copy for AlignmentProperties
Auto Trait Implementations
impl RefUnwindSafe for AlignmentProperties
impl Send for AlignmentProperties
impl Sync for AlignmentProperties
impl Unpin for AlignmentProperties
impl UnwindSafe for AlignmentProperties
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