]> git.donarmstrong.com Git - bamtools.git/commit
Reorganizing index/jumping calls. Now all BamReader cares about is sending a Jump...
authorDerek <derekwbarnett@gmail.com>
Fri, 10 Sep 2010 03:42:04 +0000 (23:42 -0400)
committerDerek <derekwbarnett@gmail.com>
Fri, 10 Sep 2010 03:42:04 +0000 (23:42 -0400)
commit62b1c71c1d824b6d37b029ce67133f42f2563d78
tree9a0d59fb8c64a6b2ce2e035cbb749cfc07577028
parent0043e2dd10151e457731e477b2efc8c3c24e27c8
Reorganizing index/jumping calls. Now all BamReader cares about is sending a Jump() request to a BamIndex with a desired region and receiving a success/fail flag. BamIndex-derived classes will now handle all index-format-specific offset calculation, overlap checking, etc and make sure its associated BGZF stream has seek-ed as close to the desired region as that index scheme allows.
src/api/BamAux.h
src/api/BamIndex.cpp
src/api/BamIndex.h
src/api/BamReader.cpp