Bam reader for scala