| 2888 | } |
| 2889 | |
| 2890 | void GenomeCopyNumber::printCGprofile(std::string const& outFile) { |
| 2891 | const char * name = outFile.c_str(); |
| 2892 | std::ofstream file; |
| 2893 | file.open(name); |
| 2894 | map<string,int>::iterator it; |
| 2895 | for ( it=chromosomesInd_.begin() ; it != chromosomesInd_.end(); it++ ) { |
| 2896 | printCGprofile((*it).first,file); |
| 2897 | } |
| 2898 | file.close(); |
| 2899 | cout << "CG-content printed into "<<outFile <<"\n"; |
| 2900 | } |
| 2901 | |
| 2902 | void GenomeCopyNumber::printRatio(std::string const& chr, std::string const& outFile, bool printNA) { |
| 2903 | cout << "printing ratio for "<<chr<<" into "<<outFile <<"\n"; |
no test coverage detected