experimental code for native reading of BAM files.