]> git.donarmstrong.com Git - bamtools.git/commit
Bug discovered. The chunkStop was not being read from the correct offset (rather...
authorgabeiscoding <gaberudy@gmail.com>
Thu, 8 Sep 2011 13:32:48 +0000 (07:32 -0600)
committergabeiscoding <gaberudy@gmail.com>
Thu, 8 Sep 2011 13:32:48 +0000 (07:32 -0600)
commitdd6648692c398c783958be7e02fc669b16b5014a
tree16a56d0d1a1dc29bf3867ba8c4bc4c07ffc1778f
parent86e92576cd16354f09f6cbda6e6784d2d71d9399
Bug discovered. The chunkStop was not being read from the correct offset (rather always being read as the first chunkStart value for the # alignment chunks in that bin of the index.

The result of this is that chunkStop will never be >= minOffset (or maybe rarely, since it always equals the first chunkStart for the first chunk) and thus the linear index doesn't really help in reducing the number of seeks performed.
src/api/internal/BamStandardIndex_p.cpp