]> git.donarmstrong.com Git - bamtools.git/commit
Implemented index cache mode for both BAI & BTI formats
authorDerek <derekwbarnett@gmail.com>
Thu, 21 Oct 2010 04:19:40 +0000 (00:19 -0400)
committerDerek <derekwbarnett@gmail.com>
Thu, 21 Oct 2010 04:19:40 +0000 (00:19 -0400)
commitfa8d485d67c1a88d44e596ae430b41797a70cb1a
tree7fa3504bba7a9f1bb3df09cd299e3e61a6fd065a
parent0c50d5abdc43df228147df3e3fb166b78b303fe9
Implemented index cache mode for both BAI & BTI formats

 * Client code can now decide between 3 index cache modes:
   Full : save entire index data in memory
   Limited (default) : save only index data for current reference
   None : save no index data - only load data  necessary for a single-

 * Required a major overhaul to BamIndex interface and derived classes.
   Lots of refactoring to move common code up to BamIndex.
   Derived classes now share much of the same method names &
organization.  Only implementation details differ, as needed.

 * Miscellaneous: moved BAMTOOLS_LFS definitions into BamAux.h & cleaned
up BGZF.h
src/api/BGZF.h
src/api/BamAux.h
src/api/BamIndex.cpp
src/api/BamIndex.h
src/api/BamReader.cpp
src/api/BamReader.h