add function to disable validation in bam reading