4 void OutWeights(const char *FileName, const MSA &msa)
\r
6 FILE *f = fopen(FileName, "w");
\r
8 Quit("Cannot open '%s'", FileName);
\r
9 const unsigned uSeqCount = msa.GetSeqCount();
\r
10 for (unsigned uSeqIndex = 0; uSeqIndex < uSeqCount; ++uSeqIndex)
\r
12 const char *Id = msa.GetSeqName(uSeqIndex);
\r
13 const WEIGHT w = msa.GetSeqWeight(uSeqIndex);
\r
14 fprintf(f, "%s\t%.3g\n", Id, w);
\r