File rf= new File(dir+"/anno/bed/sacCer1-xu/cds/xu_2009_orfs_cds_300_150.bed");
File datd= new File(dir+"/data/chip-seq/norm");
GenomicRegionsBuilder gb= new BedReader(rf).getGenomicRegionsBuilder();
LandscapeBuilder lb= new BedGraphReader(new File(datd+"/norm_wig_chip_htz1-anti660_772-wt_sd_20131104-r1_pe1_sacCer1.wig")).getLandscapeBuilder();
LandscapeScoring ls= new LandscapeScoring(lb, gb){
protected double[] score(ArrayList<Region> bufs, GenomicRegion gr) throws RegionException{
return new double[]{Landscape2DBuffer.getArea(bufs, gr) / ((gr.getRange()+1)/1000) / 100 };