Add BAM and BED support