GenomicRegionsBuilder peaks= new BedReader(f).getGenomicRegionsBuilder();
SplicedBedReader sr= new SplicedBedReader(anno);
File od= new File(d+"/locate/"+ FileName.getBaseName(anno));
File odt= new File(od+"/"+FileName.getBaseName(f));
SplicedRegionsLocator ll= new SplicedRegionsLocator(peaks, sr);
ll.writeToDir(odt, "locate");
ll.writeToFile(new File(od+"/locate_"+f.getName()));
}
}