-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Index for
bam::IndexedReader
(#387)
* Add an IndexView for accessing a sam/bam/cram's index * fix copy and paste error * remove unnecessary cast to u32 * index.stats: return Option<_> * clippy lints * fmt * add test for idxstats * add test for number_mapped_unmapped * add tests for cram index as well * set reference for indexed cram reader * add slow_idxstats from samtools bam_index.c * fix slow_idxstats, refactor as methods of IndexedReader * Add set_read_options 'convenience' method to bam::Read * cargo fmt * add missing test bam/cram indices * rename to set_cram_options, add doc * replace panic with BamUnsorted error * Add tid == -1 comment * remove todo comment * fix doctest path to file
- Loading branch information
Showing
8 changed files
with
281 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.