52
52
/******************************************************************************/
59
59
output << "# STOCKHOLM 1.0" << endl;
60
60
// Loop for all general comments
63
63
output << "#=GF CC " << sc.getGeneralComments()[i] << endl;
66
66
// Main loop : for all sequences in vector container
67
67
vector<string> names = sc.getSequencesNames();
69
69
for(unsigned int i = 0; i < names.size(); ++i)
71
71
names[i] = TextTools::removeWhiteSpaces(names[i]);
72
72
if (names[i].size() > maxSize) maxSize = names[i].size();
74
74
if (maxSize > 255) maxSize = 255;
77
77
output << TextTools::resizeRight(names[i], maxSize) << " " << sc.getSequence(i).toString() << endl;