double fold= 2; double diff= 30;
File fa= new File(d+"/score_norm_"+a+"_len_150.bed");
File fb= new File(d+"/score_norm_"+b+"_len_150.bed");
ReadTable rt= new ReadTable(fa);
String[][] a1= rt.getTableAsArray();
rt= new ReadTable(fb);
String[][] a2= rt.getTableAsArray();
DecimalFormat df= new DecimalFormat("#.##");
String tag= a+"_"+b+"_"+fold+"_"+diff;
BufferedWriter bwup= new BufferedWriter(new FileWriter(new File(sd+"/select_"+tag+"_up.bed")));
BufferedWriter bwdown= new BufferedWriter(new FileWriter(new File(sd+"/select_"+tag+"_down.bed")));