C++ based programs for analyzing BAM files and preparing read counts -- used with bioconductor-hmmcopy