}
public void writeToFiles(File f, File r) throws Exception{
BedGraphExporterParam par = new BedGraphExporterParam();
par.tit= FileName.getBaseName(f);
par.df= new DecimalFormat("#.##");
new BedGraphExporter(lbf, par).writeToFile(f);
par.tit= FileName.getBaseName(r);