- outSummary << ">seq" << (binNumber + 1) << endl;
- outSummary << "A" << '\t';
- for (int j = 0; j < seqLength; j++) { outSummary << percentages[0][j] << '\t'; }
- outSummary << endl;
- outSummary << "T" << '\t';
- for (int j = 0; j < seqLength; j++) { outSummary << percentages[1][j] << '\t'; }
- outSummary << endl;
- outSummary << "G" << '\t';
- for (int j = 0; j < seqLength; j++) { outSummary << percentages[2][j] << '\t'; }
- outSummary << endl;
- outSummary << "C" << '\t';
- for (int j = 0; j < seqLength; j++) { outSummary << percentages[3][j] << '\t'; }
- outSummary << endl;
- outSummary << "Gap" << '\t';
- for (int j = 0; j < seqLength; j++) { outSummary << percentages[4][j] << '\t'; }
- outSummary << endl;
-
+ for (int j = 0; j < seqLength; j++) {
+ outSummary << (binNumber + 1) << '\t' << (j+1) << '\t' << percentages[0][j] << '\t'<< percentages[1][j] << '\t'<< percentages[2][j] << '\t' << percentages[3][j] << '\t' << percentages[4][j] << '\t' << seqs.size() << '\t' << consSeq[j] << endl;
+ }