We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf63609 commit 8f2cc87Copy full SHA for 8f2cc87
src/readpipe/buffered_read_pipe.cpp
@@ -118,7 +118,8 @@ GenomicRegion BufferedReadPipe::get_max_fetch_region(const GenomicRegion& reques
118
if (hints_.empty() || hints_.count(request.contig_name()) == 0 || hints_.at(request.contig_name()).empty()) {
119
return default_max_region;
120
} else {
121
- const auto contained_hints = contained_range(hints_.at(request.contig_name()), default_max_region);
+ const auto hint_search_region = right_overhang_region(default_max_region, request);
122
+ const auto contained_hints = contained_range(hints_.at(request.contig_name()), hint_search_region);
123
if (empty(contained_hints)) {
124
return request;
125
0 commit comments