Returns bin number for [beg, end) interval (zero-based). Taken from SAM/BAM specification.
Distinct bin
See Source File