public void writeToFile(File out)throws Exception{
out.getParentFile().mkdirs();
LandscapeBuffer lb= new BedGraphBuffer(f);
LandscapeComparatorBuffer lc = new LandscapeComparatorBuffer(lb, lbref) {
@Override
public double newValue(double v, double refv) {
if(refv<0.01){
refv=0.01;