Skip to content

Commit

Permalink
feat: starting the book
Browse files Browse the repository at this point in the history
  • Loading branch information
mrvollger committed Jun 5, 2024
1 parent 9120ab7 commit e7800cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pileup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ fn run_rgn(
let tid = bam.header().tid(chrom.as_bytes()).unwrap();
let chrom_len = bam.header().target_len(tid).unwrap() as usize;

log::info!("Fetching records for {}", chrom);
bam.fetch(rgn)?;
let mut records = bam.records().peekable();
// skip if there are no records and keep_zeros is not set
Expand Down

0 comments on commit e7800cf

Please sign in to comment.