transformation for bed bam and wig files