Skip to content

Commit

Permalink
src/StreamReader.cpp: for the BamReader class, adding a reset to the …
Browse files Browse the repository at this point in the history
…bitvector that indicates for each adapter if it has been found already within the current read. This reset existed in the corresponding functions for other file formats, but was forgotten for the BAM format
  • Loading branch information
andrewdavidsmith committed Sep 24, 2024
1 parent 99ea94f commit a48cb66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/StreamReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,7 @@ BamReader::read_sequence_line(FastqStats &stats) {
still_in_buffer = true;
next_truncation = 100;
do_kmer_read = (stats.num_reads == next_kmer_read);
adapters_found.reset();

const size_t seq_len = b->core.l_qseq;
// MN: TODO: make sure everything works in this scope
Expand Down

0 comments on commit a48cb66

Please sign in to comment.