]> git.donarmstrong.com Git - bamtools.git/commit
Added re-calculation of BamAlignment's BinID during
authorderek <derekwbarnett@gmail.com>
Fri, 17 Jun 2011 02:13:26 +0000 (22:13 -0400)
committerderek <derekwbarnett@gmail.com>
Fri, 17 Jun 2011 02:13:26 +0000 (22:13 -0400)
commit3f1af3408a4b7cce7851c32be6f83a1ec366ec50
tree82b7adfcd16031d6279604c238fb7db4e3947989
parent4dd0470141b23c771607cceb1e0b3e0e7cd51ca1
Added re-calculation of BamAlignment's BinID during
BamWriter::SaveAlignment() in all cases

 * Previously, the bin IDs of purely "core-only" alignments were simply
written directly out to output BAM. However, in cases where alignment
Position is changed (re-alignment), the original bin ID may no longer be
correct.
src/api/internal/BamWriter_p.cpp