]> git.donarmstrong.com Git - bamtools.git/log
bamtools.git
13 years agoFixed regression bug in index formats. Wasn't properly handling empty references
derek [Wed, 27 Apr 2011 06:19:15 +0000 (02:19 -0400)]
Fixed regression bug in index formats. Wasn't properly handling empty references

13 years agoAdditional attempt to force -fPIC on CentOS
derek [Fri, 22 Apr 2011 18:40:36 +0000 (14:40 -0400)]
Additional attempt to force -fPIC on CentOS

13 years agoModified BamAlignment in attempt to resolve symbol issues on 64-bit systems.
derek [Fri, 22 Apr 2011 16:55:01 +0000 (12:55 -0400)]
Modified BamAlignment in attempt to resolve symbol issues on 64-bit systems.

13 years agoBrought API up to compliance with recent SAM Format Spec (v1.4-r962)
derek [Tue, 19 Apr 2011 23:01:01 +0000 (19:01 -0400)]
Brought API up to compliance with recent SAM Format Spec (v1.4-r962)

 * Added support for new "binary array" tag type
 * Added support for '=' and 'X' CIGAR ops
 * Added support for multiple PG entries in header
 * Added support for new RG fields

13 years agoRolled back the BGZF buffer size to the original 64K. 256K was causing
derek [Tue, 5 Apr 2011 17:37:01 +0000 (13:37 -0400)]
Rolled back the BGZF buffer size to the original 64K. 256K was causing
crashes on some systems.

13 years agoMajor performance boost to startup & random-access - especially for the
derek [Tue, 5 Apr 2011 16:43:31 +0000 (12:43 -0400)]
Major performance boost to startup & random-access - especially for the
use cases involving multiple (hundreds) of BAMs with BAI index files.

 * This did require some changes to the BamIndex interface. I doubt man
y people are writing custom index format classes, but if you are one of
them and have any problems, feel free to contact me with questions.

13 years agoUpdated Doxyfile, attempt to fix online file access
derek [Wed, 23 Mar 2011 06:57:31 +0000 (02:57 -0400)]
Updated Doxyfile, attempt to fix online file access

13 years agoMajor update to BamTools version 1.0
derek [Wed, 23 Mar 2011 06:37:39 +0000 (02:37 -0400)]
Major update to BamTools version 1.0

13 years agoAttempt to fix SamHeaderVersion compile bug
derek [Thu, 24 Feb 2011 16:36:12 +0000 (11:36 -0500)]
Attempt to fix SamHeaderVersion compile bug

13 years agoBug fix in SamHeaderVersion::SetVersion()
derek [Wed, 19 Jan 2011 17:57:13 +0000 (12:57 -0500)]
Bug fix in SamHeaderVersion::SetVersion()

13 years agoMissed bug fix in BamMultiMerger in early commit. Fixed now.
derek [Wed, 19 Jan 2011 17:08:52 +0000 (12:08 -0500)]
Missed bug fix in BamMultiMerger in early commit. Fixed now.

13 years agoAdded ExportHeader command for BamConstants.h
derek [Mon, 17 Jan 2011 19:49:32 +0000 (14:49 -0500)]
Added ExportHeader command for BamConstants.h

13 years agoRemoved SamHeaderValidatorPrivate pimpl. No real need for it since not exposed to...
derek [Mon, 17 Jan 2011 19:45:09 +0000 (14:45 -0500)]
Removed SamHeaderValidatorPrivate pimpl. No real need for it since not exposed to API, and harder to test

13 years agoAdded UNSORTED to BamMultiReader::SortOrder types. Unsorted BAMs are 'merged' through...
derek [Mon, 17 Jan 2011 19:42:42 +0000 (14:42 -0500)]
Added UNSORTED to BamMultiReader::SortOrder types. Unsorted BAMs are 'merged' through a simple reader queue.

13 years agoMinor formatting cleanup
derek [Thu, 13 Jan 2011 06:40:25 +0000 (01:40 -0500)]
Minor formatting cleanup

13 years agoMinor update to API version 0.9.3 - addition of SamHeader::SetHeaderText().
derek [Wed, 12 Jan 2011 22:47:04 +0000 (17:47 -0500)]
Minor update to API version 0.9.3 - addition of SamHeader::SetHeaderText().

13 years agoAdded BamConstants.h
derek [Wed, 12 Jan 2011 16:37:17 +0000 (11:37 -0500)]
Added BamConstants.h

13 years agoRemoved explicit keyword from SamHeader-related object copy ctors
derek [Wed, 12 Jan 2011 03:43:51 +0000 (22:43 -0500)]
Removed explicit keyword from SamHeader-related object copy ctors

13 years agoUpdate to BamTools API 0.9.2 with exposure of SamHeader object from BamReader and...
derek [Wed, 12 Jan 2011 03:37:31 +0000 (22:37 -0500)]
Update to BamTools API 0.9.2 with exposure of SamHeader object from BamReader and to BamWriter

13 years agoAdded explicit copy ctors to SamHeader data structures
derek [Wed, 12 Jan 2011 03:35:09 +0000 (22:35 -0500)]
Added explicit copy ctors to SamHeader data structures

13 years agoAdded SAM header-handling classes for read/write/validate.
derek [Fri, 24 Dec 2010 03:33:33 +0000 (22:33 -0500)]
Added SAM header-handling classes for read/write/validate.

  * Not fully connected to the BamReader/Writer API yet, but will be
phased in soon.
  * Will enable clients to query, modify & validate a BAM file's SAM
header data using the BamTools API, instead of having to use hand-rolled
string-parsing code on the result of BamReader::GetHeaderText().

13 years agoUpdated to 0.9.1
derek [Fri, 24 Dec 2010 02:26:02 +0000 (21:26 -0500)]
Updated to 0.9.1

 * With changes to BamMultiReader interface.

13 years agoImplemented proper -byname sorting (finally).
derek [Fri, 24 Dec 2010 02:14:49 +0000 (21:14 -0500)]
Implemented proper -byname sorting (finally).

  * BamMultiReader used to merge the "next" alignment based on (refID,
position). Extracted this and generalized to support merging on either
position OR alignment name.

13 years agoAdded static library to build step.
derek [Fri, 24 Dec 2010 01:56:01 +0000 (20:56 -0500)]
Added static library to build step.

 * Suggested & contributed by Rob Bradley.

13 years agoMoved BuildCharData() from BamReader to BamAlignment
derek [Wed, 22 Dec 2010 19:22:40 +0000 (14:22 -0500)]
Moved BuildCharData() from BamReader to BamAlignment

  * This will enable even "lazier" population of the alignment character
data later in analysis, outside the context of reading it from the BAM
file

13 years agoFixed: Improper sorting -byname
derek [Thu, 16 Dec 2010 17:33:32 +0000 (12:33 -0500)]
Fixed: Improper sorting -byname

13 years agoAdded creation of include/ folder in bamtools root directory at build time.
derek [Wed, 15 Dec 2010 20:39:54 +0000 (15:39 -0500)]
Added creation of include/ folder in bamtools root directory at build time.
 * API-related headers are copied here to provide an explicit target for client code.

13 years agoMinor formatting cleanup
derek [Mon, 13 Dec 2010 20:53:12 +0000 (15:53 -0500)]
Minor formatting cleanup

13 years agoMade BamAlignment flag queries symmetrical
derek [Mon, 13 Dec 2010 20:28:33 +0000 (15:28 -0500)]
Made BamAlignment flag queries symmetrical

 * For example: there is now a SetIsMapped() setter to match the
IsMapped() getter.  Before you had to reverse your logic on a few of the
flags (in this case, using SetIsUnmapped()).  Not impossible to use, but
not immediately obvious and intuitive, and hard to remember when to use
the opposite setter.  These older methods will remain available, but
should be considered deprecated.

13 years agoFixed: handling BamAlignments with limited char data
derek [Tue, 7 Dec 2010 18:02:24 +0000 (13:02 -0500)]
Fixed: handling BamAlignments with limited char data

13 years agoFixed : improper exit code from FilterTool
derek [Mon, 6 Dec 2010 21:30:13 +0000 (16:30 -0500)]
Fixed : improper exit code from FilterTool

13 years agoFixed: core mode setting for BamMultiReader::Open() in FilterTool
derek [Mon, 6 Dec 2010 17:02:18 +0000 (12:02 -0500)]
Fixed: core mode setting for BamMultiReader::Open() in FilterTool

  * Was opening with coreMode=true, which caused errors filtering the
first alignment's char data

13 years agoAdded new RevertTool to the toolkit
derek [Mon, 6 Dec 2010 04:11:03 +0000 (23:11 -0500)]
Added new RevertTool to the toolkit

  * "$ bamtools revert ... " will clear the IsDuplicate flag on
BamAlignments and replace the Qualities with the contents of the OQ tag.
  * Suggested by and draft implementation contributed by Al Ward.

13 years agoFixed: bug in the BamReader::Jump() codepath, specifically the
derek [Fri, 3 Dec 2010 20:45:20 +0000 (15:45 -0500)]
Fixed: bug in the BamReader::Jump() codepath, specifically the
BRP::AdjustRegion() logic

13 years agoMoved private implementation API files to internal directory for clearer separation...
derek [Mon, 22 Nov 2010 18:02:38 +0000 (13:02 -0500)]
Moved private implementation API files to internal directory for clearer separation. These should not be included by client code

13 years agoAdded proper import of bamtools version info from CMake
derek [Mon, 22 Nov 2010 17:48:00 +0000 (12:48 -0500)]
Added proper import of bamtools version info from CMake

13 years agoFixed BamRegion bug: previously only checked if refID was -1, needed to make sure...
derek [Mon, 22 Nov 2010 17:47:10 +0000 (12:47 -0500)]
Fixed BamRegion bug: previously only checked if refID was -1, needed to make sure all negative values were invalid

13 years agoContinued breaking up of monolithic classes: extracted BamStandardIndex & BamToolsInd...
derek [Fri, 19 Nov 2010 20:52:04 +0000 (15:52 -0500)]
Continued breaking up of monolithic classes: extracted BamStandardIndex & BamToolsIndex into their own source files.

13 years agoExtracted BamReaderPrivate & BamWriterPrivate from inner classes.
derek [Fri, 19 Nov 2010 17:41:54 +0000 (12:41 -0500)]
Extracted BamReaderPrivate & BamWriterPrivate from inner classes.
First step in breaking up the API's monolithic classes. Should allow easier maintenance, testing, and adding features as we go forward.

13 years agoAdded UTILS_EXPORT macro to classes in BamTools utility library
derek [Fri, 19 Nov 2010 16:14:54 +0000 (11:14 -0500)]
Added UTILS_EXPORT macro to classes in BamTools utility library

13 years agoAdded API_EXPORT macro to classes in BamTools API
derek [Fri, 19 Nov 2010 16:01:58 +0000 (11:01 -0500)]
Added API_EXPORT macro to classes in BamTools API

13 years agoRemoved commented (library export) definitions from utils & jsoncpp CMakeLists files
derek [Fri, 19 Nov 2010 15:42:40 +0000 (10:42 -0500)]
Removed commented (library export) definitions from utils & jsoncpp CMakeLists files

13 years agoMigrated to CMake build system.
derek [Fri, 19 Nov 2010 15:32:45 +0000 (10:32 -0500)]
Migrated to CMake build system.
* Please see README: Installation for help in building BamTools toolkit & API and integrating the new shared library into your application

13 years agoChanged GetNextAlignmentCore() calls to GetNextAlignment() in FilterTool
derek [Thu, 18 Nov 2010 00:41:29 +0000 (19:41 -0500)]
Changed GetNextAlignmentCore() calls to GetNextAlignment() in FilterTool

13 years agoMinor formatting cleanup
derek [Mon, 15 Nov 2010 19:54:27 +0000 (14:54 -0500)]
Minor formatting cleanup

13 years agoRemoved more non-standard STL calls from BamIndex.cpp
derek [Wed, 27 Oct 2010 16:54:38 +0000 (12:54 -0400)]
Removed more non-standard STL calls from BamIndex.cpp

13 years agoMerge branch 'master' of git://github.com/ekg/bamtools
derek [Wed, 27 Oct 2010 16:33:56 +0000 (12:33 -0400)]
Merge branch 'master' of git://github.com/ekg/bamtools

13 years agoRemoved non-standard stl::map method calls
derek [Wed, 27 Oct 2010 16:32:16 +0000 (12:32 -0400)]
Removed non-standard stl::map method calls

13 years agoMerge branch 'master' of http://github.com/pezmaster31/bamtools
Erik Garrison [Wed, 27 Oct 2010 16:08:22 +0000 (12:08 -0400)]
Merge branch 'master' of http://github.com/pezmaster31/bamtools

13 years agoclarified no-index behavior in bam multi reader
Erik Garrison [Wed, 27 Oct 2010 16:07:47 +0000 (12:07 -0400)]
clarified no-index behavior in bam multi reader

13 years agoUpdated BamTools version information.
derek [Mon, 25 Oct 2010 18:10:42 +0000 (14:10 -0400)]
Updated BamTools version information.

 * Also automated version information propagation forfuture updates.
   Only need to set version in top-level Makefile.

13 years agoUpdated README
derek [Sun, 24 Oct 2010 19:26:15 +0000 (15:26 -0400)]
Updated README

13 years agoMerge branch 'master' of git://github.com/ekg/bamtools
Derek [Thu, 21 Oct 2010 21:15:07 +0000 (17:15 -0400)]
Merge branch 'master' of git://github.com/ekg/bamtools

13 years agoUpdating README... still a work in progress
Derek [Thu, 21 Oct 2010 21:14:44 +0000 (17:14 -0400)]
Updating README... still a work in progress

13 years agoadd index caching mode setter to BamMultiReader
Erik Garrison [Thu, 21 Oct 2010 21:03:48 +0000 (17:03 -0400)]
add index caching mode setter to BamMultiReader

13 years agoFixed NoIndexCaching behavior
Derek [Thu, 21 Oct 2010 19:00:03 +0000 (15:00 -0400)]
Fixed NoIndexCaching behavior

 * Previous commit lacked the post-jump dump of index data when this
mode is selected.

13 years agoMerge branch 'master' of git://github.com/pezmaster31/bamtools
Derek [Thu, 21 Oct 2010 04:22:36 +0000 (00:22 -0400)]
Merge branch 'master' of git://github.com/pezmaster31/bamtools

13 years agoImplemented index cache mode for both BAI & BTI formats
Derek [Thu, 21 Oct 2010 04:19:40 +0000 (00:19 -0400)]
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

13 years agoImplemented index cache mode for both BAI & BTI formats
Derek [Thu, 21 Oct 2010 04:19:40 +0000 (00:19 -0400)]
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

13 years agomodified/clarified some help & usage messages
Derek [Sat, 16 Oct 2010 20:45:08 +0000 (16:45 -0400)]
modified/clarified some help & usage messages

 * (also a test run for different git commit system on my end)

13 years agoChanged BamAlignment::SupportData from private to public.
Derek [Sat, 9 Oct 2010 23:54:03 +0000 (19:54 -0400)]
Changed BamAlignment::SupportData from private to public.

This should remove the access-control errors that occur when building BamTools with older, less-conforming compilers

13 years agoFixed: bug(s) related to empty references and regions.
Derek [Sat, 9 Oct 2010 23:28:42 +0000 (19:28 -0400)]
Fixed: bug(s) related to empty references and regions.

* NOTE - This fix does introduce a slight modification to the *.bti index format.
  So any existing BTI index files will need to be rebuilt to support the bug fix (apologies).

13 years agoMinor formatting, commenting cleanup
Derek [Tue, 5 Oct 2010 15:15:50 +0000 (11:15 -0400)]
Minor formatting, commenting cleanup

13 years agoAdded tag support in filter tool.
derek [Mon, 4 Oct 2010 17:49:10 +0000 (13:49 -0400)]
Added tag support in filter tool.

13 years agoReviewed BAM to YAML conversion contribution (thank you Chase Miller). Reorganized...
derek [Mon, 4 Oct 2010 14:25:30 +0000 (10:25 -0400)]
Reviewed BAM to YAML conversion contribution (thank you Chase Miller).  Reorganized to fit BT code style & structure.

13 years agoconvert: cleanup of prior fix, report if no index file found
Erik Garrison [Wed, 29 Sep 2010 20:23:56 +0000 (16:23 -0400)]
convert: cleanup of prior fix, report if no index file found

13 years agoprior commit caused bug with convert
Erik Garrison [Wed, 29 Sep 2010 15:54:48 +0000 (11:54 -0400)]
prior commit caused bug with convert

Fix: attempt to open indexes when we are not reading from stdin.

13 years agoexposes cigar string data to bamtools filter
Erik Garrison [Tue, 28 Sep 2010 21:44:29 +0000 (17:44 -0400)]
exposes cigar string data to bamtools filter

13 years agoadded reader.Open checks to a number of tools
Erik Garrison [Tue, 28 Sep 2010 21:44:12 +0000 (17:44 -0400)]
added reader.Open checks to a number of tools

13 years agoAdded Yaml for outputing BamAlignments.
Chase Miller [Tue, 28 Sep 2010 15:16:13 +0000 (11:16 -0400)]
Added Yaml for outputing BamAlignments.

13 years agoMerge branch 'master' of http://github.com/pezmaster31/bamtools
Erik Garrison [Tue, 28 Sep 2010 02:23:27 +0000 (22:23 -0400)]
Merge branch 'master' of http://github.com/pezmaster31/bamtools

13 years agoFixed lack of reverse complemented output in BAM -> FASTA/Q conversion.
Derek [Thu, 23 Sep 2010 19:56:43 +0000 (15:56 -0400)]
Fixed lack of reverse complemented output in BAM -> FASTA/Q conversion.

 * Also appended '/1' or '/2' to paired-end FASTQ entries to indicate which mate it represents.

13 years agoMerge branch 'master' of http://github.com/pezmaster31/bamtools
Erik Garrison [Thu, 23 Sep 2010 14:30:09 +0000 (10:30 -0400)]
Merge branch 'master' of http://github.com/pezmaster31/bamtools

13 years agoImplemented 'compound rule' logic in the FilterTool's script support.
Derek [Wed, 22 Sep 2010 02:00:14 +0000 (22:00 -0400)]
Implemented 'compound rule' logic in the FilterTool's script support.

 * Previously the script was limited to doing 'OR' comparisons on various
property sets (what I call here filters). Now, by providing each filter
with an id, you can use these id's to define a compound rule.

 * Documentation is severely lacking on this end at the moment, but I hope
to have a good explanation up soon.  I think this interface could provide
a powerful flexibility in querying BAM files for very specific cases for
further analyses.

13 years agoCleaned up SplitTool internal implementation. Use of template methods should make...
Derek [Mon, 20 Sep 2010 15:35:16 +0000 (11:35 -0400)]
Cleaned up SplitTool internal implementation. Use of template methods should make maintenance a bit easier.

13 years agoMerge branch 'master' of http://github.com/pezmaster31/bamtools
Erik Garrison [Mon, 20 Sep 2010 12:33:39 +0000 (08:33 -0400)]
Merge branch 'master' of http://github.com/pezmaster31/bamtools

13 years agoRemoved a backup text file that snuck into an earlier commit
Derek [Sun, 19 Sep 2010 21:06:02 +0000 (17:06 -0400)]
Removed a backup text file that snuck into an earlier commit

13 years agoAdded implementation of new SplitTool. This tool splits a single BAM file into multi...
Derek [Sun, 19 Sep 2010 21:05:16 +0000 (17:05 -0400)]
Added implementation of new SplitTool.  This tool splits a single BAM file into multiple BAMs, based on a user-specified property.  For now, properties supported are mapped/unmapped, paired/unpaired, split by reference, and split based on a given tag.

13 years agoAdded GetTagType() to BamAlignment
Derek [Sun, 19 Sep 2010 21:02:17 +0000 (17:02 -0400)]
Added GetTagType() to BamAlignment

13 years agoUpdated to match new BamAlignment.h includes
Derek [Sat, 18 Sep 2010 20:47:34 +0000 (16:47 -0400)]
Updated to match new BamAlignment.h includes

13 years agoMissed api/Makefile in last commit.
Derek [Sat, 18 Sep 2010 20:45:29 +0000 (16:45 -0400)]
Missed api/Makefile in last commit.

13 years agoMoved BamAlignment data structure out to its own .h/.cpp. BamAux.h was getting over...
Derek [Sat, 18 Sep 2010 20:43:37 +0000 (16:43 -0400)]
Moved BamAlignment data structure out to its own .h/.cpp.  BamAux.h was getting over-crowded. *NOTE - This means that if you were using the BamAlignment data structure in code without a reader/writer, you need to include BamAlignment.h instead of BamAux.h.  If your code was using reader/writer, no changes should be necessary on your end.

13 years agoMerge branch 'master' of http://github.com/pezmaster31/bamtools
Erik Garrison [Sat, 18 Sep 2010 20:04:58 +0000 (16:04 -0400)]
Merge branch 'master' of http://github.com/pezmaster31/bamtools

13 years agoFixed: bug related to accessing data (or regions with no alignments) near the ends...
Derek [Sat, 18 Sep 2010 04:42:23 +0000 (00:42 -0400)]
Fixed: bug related to accessing data (or regions with no alignments) near the ends of references, when using .bti index files. Required modifying the BamToolsIndex build step.  *NOTE: This update invalidates any existing .bti files, please re-generate any that you have currently.* Versioning system in BTI will not allow users to use the older, buggy version... so no chance of accidental usage.

13 years agoMerge branch 'master' of http://github.com/pezmaster31/bamtools
Erik Garrison [Fri, 17 Sep 2010 15:30:59 +0000 (11:30 -0400)]
Merge branch 'master' of http://github.com/pezmaster31/bamtools

Conflicts:
src/api/BamIndex.cpp

13 years agoOn second thought, moved the (non-indexing) constants back to BamAux.h, since they...
Derek [Thu, 16 Sep 2010 05:52:26 +0000 (01:52 -0400)]
On second thought, moved the (non-indexing) constants back to BamAux.h, since they are not technically specific to BamWriter only and clients may be using them in their code

13 years agoDid some housekeeping in BamAux.h - moved some constants to the files where they...
Derek [Thu, 16 Sep 2010 05:47:58 +0000 (01:47 -0400)]
Did some housekeeping in BamAux.h - moved some constants to the files where they are actually used.

13 years agoMissed an update to BamToolsIndex code in a previous commit
Derek [Thu, 16 Sep 2010 05:41:03 +0000 (01:41 -0400)]
Missed an update to BamToolsIndex code in a previous commit

13 years agoAdded new PileupEngine to the toolkit. This is used by CoverageTool as well as Conver...
Derek [Thu, 16 Sep 2010 05:37:28 +0000 (01:37 -0400)]
Added new PileupEngine to the toolkit. This is used by CoverageTool as well as ConvertTool for pileup format. Pileup conversion output before was buggy and overall incorrect.  Now should match SAMtools output to the best of my knowledge

13 years agoAdded option for users to specifiy half-open (1-based) return value for BamAlignment...
Derek [Wed, 15 Sep 2010 15:48:33 +0000 (11:48 -0400)]
Added option for users to specifiy half-open (1-based) return value for BamAlignment::GetEndPosition().  By default, returns 0-based coordinate after recent modification.

13 years agoMerge branch 'master' of http://github.com/pezmaster31/bamtools
Erik Garrison [Mon, 13 Sep 2010 19:10:08 +0000 (15:10 -0400)]
Merge branch 'master' of http://github.com/pezmaster31/bamtools

13 years agoFixed off-by-one error in BamAlignment::GetEndPosition()
Derek [Mon, 13 Sep 2010 18:50:05 +0000 (14:50 -0400)]
Fixed off-by-one error in BamAlignment::GetEndPosition()

13 years agoupdated debugging output in BamIndex, seek vs. calculate distinction
Erik Garrison [Sat, 11 Sep 2010 17:27:30 +0000 (13:27 -0400)]
updated debugging output in BamIndex, seek vs. calculate distinction

13 years agoAdded more verbose debugging output to BamMultiReader::SetRegion
Erik Garrison [Sat, 11 Sep 2010 14:55:22 +0000 (10:55 -0400)]
Added more verbose debugging output to BamMultiReader::SetRegion

13 years agoReimplemented BamToolsIndex for bug fix and performance upgrade. *** NOTE *** This...
Derek [Fri, 10 Sep 2010 21:38:03 +0000 (17:38 -0400)]
Reimplemented BamToolsIndex for bug fix and performance upgrade. *** NOTE *** This commit invalidats any previous BamToolsIndex files (.bti). Please re-run 'bamtools index -bti -in <yourBam>' to generate the new index files.

13 years agoRemoved debug output statement that slipped into last commit.
Derek [Fri, 10 Sep 2010 03:45:21 +0000 (23:45 -0400)]
Removed debug output statement that slipped into last commit.

13 years agoReorganizing index/jumping calls. Now all BamReader cares about is sending a Jump...
Derek [Fri, 10 Sep 2010 03:42:04 +0000 (23:42 -0400)]
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.

13 years agoprefer bamtools index in BamMultiReader
Erik Garrison [Wed, 8 Sep 2010 20:17:20 +0000 (16:17 -0400)]
prefer bamtools index in BamMultiReader

13 years agoMerge branch 'master' of git://github.com/pezmaster31/bamtools
Erik Garrison [Wed, 8 Sep 2010 19:36:39 +0000 (15:36 -0400)]
Merge branch 'master' of git://github.com/pezmaster31/bamtools

Conflicts:
src/api/BamReader.cpp

13 years agoRelicensed the source code used in bamtools_options. Most of it derived from Mosaik...
Derek [Tue, 7 Sep 2010 18:42:03 +0000 (14:42 -0400)]
Relicensed the source code used in bamtools_options. Most of it derived from Mosaik source, which was originally released under GPL.  Now under MIT License with author's permission. This puts the entire BamTools codebase securely under one unrestrictive license.