File f= new File(dir+"/data/chip-seq/norm/norm_wig_chip_htz1-anti660_772-wt_sd_20131104-r1_pe1_sacCer1.wig");
File od= new File(dir+"/data/chip-seq/norm/peak3");
LandscapeBuilder lb= new BedGraphReader(f).getLandscapeBuilder();
PeakIdentifier pi= new PeakIdentifier(lb, null);
pi.getPeaks().writeToFileBed(new File(od+"/peak_"+FileName.getBaseName(f)+".bed"));
}