File dir= new File("/home/forksapien/mystudy/phd/files");
//File dir= new File("G:/mystudy/phd/files");
File f= new File(dir+"/anno/sgdGene_sacCer1.bed");
GenomicRegionsBuilder gb= new BedReader(f).getGenomicRegionsBuilder();
File out = new File(dir+"/anno/clas/clas_chr.txt");
out.getParentFile().mkdirs();
BufferedWriter bw= new BufferedWriter(new FileWriter(out));
String[] chrs= gb.getChromosomeList();