2 * Reads in a tab delimited file of the format:
3 * <chromosome> <filename>
11 #include "chrom_list.h"
16 ChromList::ChromList(char* filename) {
17 char buffer[1024]; string delim("\t");
18 ifstream chrom_file(filename);
19 while(chrom_file.getline(buffer, 1024)) {
22 split(temp, delim,words);
23 if(words.size() != 2) { cerr << "Error in chrom list." << endl; exit(1); }
24 (*this)[ words[0] ] = words[1];