For subsampling a generic bed file.