convert SAM file to base by base coverage format.