]> git.donarmstrong.com Git - bamtools.git/commit
fixed bug with @RG handling
authorErik Garrison <erik.garrison@bc.edu>
Wed, 9 Jun 2010 13:31:01 +0000 (09:31 -0400)
committerErik Garrison <erik.garrison@bc.edu>
Wed, 9 Jun 2010 13:31:01 +0000 (09:31 -0400)
commit875f0cdc2eeaa1c1d35d1e8bee1e27f8150f1092
treef1926d8ad225544bdc17e186756ed45dfbddb669
parent5ca1303304066dbb42207d79c6d1703377908e0b
fixed bug with @RG handling

Prior to this commit files merged with bamtools merge would have one @RG
tag for each file.  This is undesirable behavior.  This commit fixes the
issue by tracking unique @RG tags in our unified header
(BamMultiReader::GetHeaderText) and prevents the MultiReader from
observing more than one @RG tag in the header.  Future merges will have
the correct header.
BamMultiReader.cpp
BamMultiReader.h