X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2Fapi%2Finternal%2FBamStandardIndex_p.h;h=7123ae72a0dda76234541a4e7f8671ef6fae812c;hb=971c4168ee75fd806dbc33b6adaf067b749fe14f;hp=7c61a6296b1dd95b6da0b29ae27a19d943df5cd8;hpb=12aca989c5389390ffe5c20a76c9be86ece393e2;p=bamtools.git diff --git a/src/api/internal/BamStandardIndex_p.h b/src/api/internal/BamStandardIndex_p.h index 7c61a62..7123ae7 100644 --- a/src/api/internal/BamStandardIndex_p.h +++ b/src/api/internal/BamStandardIndex_p.h @@ -3,7 +3,7 @@ // Marth Lab, Department of Biology, Boston College // All rights reserved. // --------------------------------------------------------------------------- -// Last modified: 5 April 2011 (DB) +// Last modified: 24 June 2011 (DB) // --------------------------------------------------------------------------- // Provides index operations for the standardized BAM index format (".bai") // *************************************************************************** @@ -161,7 +161,7 @@ class BamStandardIndex : public BamIndex { std::set& candidateBins, std::vector& offsets); uint64_t CalculateMinOffset(const BaiReferenceSummary& refSummary, const uint32_t& begin); - bool GetOffsets(const BamRegion& region, std::vector& offsets); + bool GetOffset(const BamRegion& region, int64_t& offset, bool* hasAlignmentsInRegion); uint64_t LookupLinearOffset(const BaiReferenceSummary& refSummary, const int& index); // internal BAI summary (create/load) methods