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) };
}
};
ls.writeToBedFile(out);
}
public static void main(String[] args) throws Exception { //debug
File dir= Dirs.getFile("dir");
File od= new File(dir+"/data/human_magnus/h2az/norm/peak/novel/scoreChip");