prepare for programs that work with bam files