samtools/samtools — pull request #44 by peterjc (2013-04-24 13:25:36+00:00)
Title: Update 'samtools index' BIN verification code

This is an update to my recently merged enhancement to 'samtools index' to verify the BIN value in each read:
https://github.com/samtools/samtools/commit/8e3b3f229a04cb81b680987ce06ae1507c9d8b69

This did not match the BIN behaviour of 'samtools view' for (unmapped) reads with no CIGAR string, addressed in this branch, which also includes the reference name in any error message.