| 2876 | |
| 2877 | |
| 2878 | void GenomeCopyNumber::printCopyNumber(std::string const& outFile) { |
| 2879 | const char * name = outFile.c_str(); |
| 2880 | std::ofstream file; |
| 2881 | file.open(name); |
| 2882 | map<string,int>::iterator it; |
| 2883 | for ( it=chromosomesInd_.begin() ; it != chromosomesInd_.end(); it++ ) { |
| 2884 | printCopyNumber((*it).first,file); |
| 2885 | } |
| 2886 | file.close(); |
| 2887 | cout << "printing counts into "<<outFile <<"\n"; |
| 2888 | } |
| 2889 | |
| 2890 | void GenomeCopyNumber::printCGprofile(std::string const& outFile) { |
| 2891 | const char * name = outFile.c_str(); |
no test coverage detected