Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
3ac7ab5e
Commit
3ac7ab5e
authored
Nov 05, 2014
by
Mathieu Giraud
Browse files
core/germline.cpp: uses Fasta::add() to initialize germlines with several files
096ab901
unleashes the power of
1a05fe6a
and
422964cc
.
parent
59a1bcf6
Changes
1
Hide whitespace changes
Inline
Side-by-side
algo/core/germline.cpp
View file @
3ac7ab5e
...
...
@@ -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
,
"|"
,
cou
t
);
rep_4
.
add
(
*
i
t
);
for
(
list
<
string
>::
const_iterator
it
=
f_reps_3
.
begin
();
it
!=
f_reps_3
.
end
();
++
it
)
rep_3
=
Fasta
(
*
it
,
2
,
"|"
,
cou
t
);
rep_3
.
add
(
*
i
t
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment