Trait noodles_csi::binning_index::index::reference_sequence::index::Index
source · pub trait Index {
// Required methods
fn min_offset(
&self,
min_shift: u8,
depth: u8,
start: Position
) -> VirtualPosition;
fn last_first_start_position(&self) -> Option<VirtualPosition>;
fn update(
&mut self,
min_shift: u8,
depth: u8,
start: Position,
end: Position,
chunk: Chunk
);
}
Expand description
A binning index reference sequence index.
Required Methods§
sourcefn min_offset(
&self,
min_shift: u8,
depth: u8,
start: Position
) -> VirtualPosition
fn min_offset( &self, min_shift: u8, depth: u8, start: Position ) -> VirtualPosition
Returns the start virtual position of the first record in the bin that contains the given start position.
sourcefn last_first_start_position(&self) -> Option<VirtualPosition>
fn last_first_start_position(&self) -> Option<VirtualPosition>
Returns the start virtual position of the last first record.