an object reading bams (for bioinformatics)