String[] tms= new String[]{
"0","5","10","20","40","80","160","320","640","1280",
};
CombineRNA jj= new CombineRNA();
boolean ifinit= false;
for( int i=0; i<tms.length; i++ ){
File f= new File(cd+"/chip_norm_wig_mcf7_chip-h2az_time-"+tms[i]+"_hg19.bed");
if(FileName.getExt(f).equals("bed")){
if(!ifinit){
jj.initRows(f);
ifinit=true;
}
jj.addBedFile(f);
}
}
/**
for( int i=0; i<tms.length; i++ ){
File ff= new File(rd+"/side-right_200_5_locate_ensGene_hg19_exon_mcf7_rna3_time-"+tms[i]+"_hg19.bed");
jj.addBedFile(ff);
}
*/
jj.writeToFile(out);
}