Struct libprosic::model::sample::RecordBuffer
[−]
[src]
pub struct RecordBuffer {
// some fields omitted
}Ringbuffer of BAM records. This data structure ensures that no bam record is read twice while extracting observations for given variants.
Methods
impl RecordBuffer[src]
fn new(bam: IndexedReader, window: u32, use_secondary: bool) -> Self
Create a new RecordBuffer.
fn fill(&mut self, chrom: &[u8], start: u32, end: u32) -> Result<(), Box<Error>>
Fill buffer around the given interval.