support for sam,bam etc.