In standard indexed BAM files with with sparce coverage (our test case was a roughly 1M read RNAseq BAM file), queries made to intervals may not have any of the candidate offesets present in the index as the BAM index only contains bins that have reads.
In standard indexed BAM files with with sparce coverage (our test case was a roughly 1M read RNAseq BAM file), queries made to intervals may not have any of the candidate offesets present in the index as the BAM index only contains bins that have reads.

Without this bail out, we would get a crash. Returning false silently is the preferred behavior in our view as it allows our read logic to go to the next query and does not add noise to stderr.
boratonAJ/bamtools,sksaskrobinsons/code,kdmurray91/bamtools,domibel/bamtools,SANBI-SA/bamtools,boratonAJ/bamtools,domibel/bamtools,pezmaster31/bamtools,SANBI-SA/bamtools,sksaskrobinsons/code,iontorrent/bamtools,iontorrent/bamtools,kdmurray91/bamtools,pezmaster31/bamtools,pezmaster31/bamtools,pezmaster31/bamtools