Commit 3ac7ab5e authored by Mathieu Giraud's avatar Mathieu Giraud

core/germline.cpp: uses Fasta::add() to initialize germlines with several files

096ab901 unleashes the power of 1a05fe6a and 422964cc.
parent 59a1bcf6
......@@ -44,14 +44,18 @@ Germline::Germline(string _code, char _shortcut,
f_reps_4 = _f_reps_4 ;
f_reps_3 = _f_reps_3 ;
rep_5 = Fasta(2, "|") ;
rep_4 = Fasta(2, "|") ;
rep_3 = Fasta(2, "|") ;
for (list<string>::const_iterator it = f_reps_5.begin(); it != f_reps_5.end(); ++it)
rep_5 = Fasta(*it, 2, "|", cout); // TODO: something like 'rep_5 += ...'
rep_5.add(*it);
for (list<string>::const_iterator it = f_reps_4.begin(); it != f_reps_4.end(); ++it)
rep_4 = Fasta(*it, 2, "|", cout);
rep_4.add(*it);
for (list<string>::const_iterator it = f_reps_3.begin(); it != f_reps_3.end(); ++it)
rep_3 = Fasta(*it, 2, "|", cout);
rep_3.add(*it);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment