add BAM, SAM and BED format support, in testing status