| 43 | |
| 44 | |
| 45 | void WindowMaker::MakeWindowsFromGenome(const string& genomeFileName) { |
| 46 | |
| 47 | NewGenomeFile *_genome = new NewGenomeFile(genomeFileName); |
| 48 | |
| 49 | // get a list of the chroms in the user's genome |
| 50 | vector<string> chromList = _genome->getChromList(); |
| 51 | |
| 52 | // process each chrom in the genome |
| 53 | for (size_t c = 0; c < chromList.size(); ++c) { |
| 54 | string chrom = chromList[c]; |
| 55 | |
| 56 | BED bed(chrom,0,_genome->getChromSize(chrom),chrom,"",""); |
| 57 | MakeBEDWindow(bed); |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | void WindowMaker::MakeWindowsFromBED(string& bedFileName) { |
| 62 | BedFile bf(bedFileName); |
nothing calls this directly
no test coverage detected