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
GATB
gatb-core
Commits
6ca123d9
Commit
6ca123d9
authored
Jan 01, 2016
by
BENOIT Gaetan
Browse files
Repart multibank
parent
0a2cde91
Changes
1
Hide whitespace changes
Inline
Side-by-side
gatb-core/src/gatb/kmer/impl/RepartitionAlgorithm.cpp
View file @
6ca123d9
...
...
@@ -432,7 +432,8 @@ void RepartitorAlgorithm<span>::computeRepartition (Repartitor& repartitor)
);
for
(
size_t
i
=
0
;
i
<
_config
.
_nb_banks
;
i
++
){
TruncateIterator
<
Sequence
>*
it
=
new
TruncateIterator
<
Sequence
>
(
*
(
itBanks
[
i
]),
nbseq_sample
);
u_int64_t
nbseq_sample_
=
min
(
nbseq_sample
,
u_int64_t
(
100000
));
TruncateIterator
<
Sequence
>*
it
=
new
TruncateIterator
<
Sequence
>
(
*
(
itBanks
[
i
]),
nbseq_sample_
);
LOCAL
(
it
);
serialDispatcher
.
iterate
(
it
,
sampleRepart
);
}
...
...
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