Struct bam::index::Index [−][src]
pub struct Index { /* fields omitted */ }Expand description
BAI Index. Allows to get chunks in a bgzip file, that contain records from a specific genomic region.
Implementations
Loads index from stream.
Fetches chunks of the BAM file that contain all records for a given region.
Returns the offset to the start of the data, if the index is not empty.
Returns the offset of the end of all mapped records, if the index is not empty. Takes at most 37448 bins lookups.
Returns all references present in the BAI index.
Returns the number of unmapped records, if present in the index.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Index
impl UnwindSafe for Index
Blanket Implementations
Mutably borrows from an owned value. Read more
