Commit 479391d8 authored by Mikael Salson's avatar Mikael Salson Committed by Mathieu Giraud

windows: remove unused parameter following previous commit

parent 3dacebba
......@@ -62,11 +62,10 @@ list<Sequence> WindowsStorage::getReads(junction window) {
KmerRepresentativeComputer WindowsStorage::getRepresentativeComputer(junction window,
string seed, size_t min_cover,
float percent_cover,
size_t nb_sampled,
size_t nb_buckets) {
size_t nb_sampled) {
assert(! hasLimitForReadsPerWindow() || nb_sampled <= getMaximalNbReadsPerWindow());
list<Sequence> auditioned_sequences
= getSample(window,nb_sampled, nb_buckets);
= getSample(window,nb_sampled);
KmerRepresentativeComputer repComp(auditioned_sequences, seed);
repComp.setRevcomp(true);
repComp.setMinCover((! isInterestingJunction(window)) ? min_cover : 1);
......@@ -85,8 +84,7 @@ KmerRepresentativeComputer WindowsStorage::getRepresentativeComputer(junction wi
return repComp;
}
list<Sequence> WindowsStorage::getSample(junction window, size_t nb_sampled,
size_t nb_buckets) {
list<Sequence> WindowsStorage::getSample(junction window, size_t nb_sampled) {
return seqs_by_window[window].getBestReads(nb_sampled);
}
......
#ifndef WINDOWS_H
#define WINDOWS_H
#define HISTOGRAM_SIZE_AUDITIONED 500
/**
* A window is associated to a list of sequences. We deal with a list of
* windows. We'd like to sort it, to output it, to remove windows not appearing
......@@ -99,15 +97,13 @@ class WindowsStorage {
*/
KmerRepresentativeComputer getRepresentativeComputer(junction window, string seed, size_t min_cover,
float percent_cover, size_t nb_sampled,
size_t nb_buckets=HISTOGRAM_SIZE_AUDITIONED);
float percent_cover, size_t nb_sampled);
/**
* @return a sample of nb_sampled sequences sharing the same window. The
* returned sequences are among the longest ones but are not sorted.
*/
list<Sequence> getSample(junction window, size_t nb_sampled,
size_t nb_buckets=HISTOGRAM_SIZE_AUDITIONED);
list<Sequence> getSample(junction window, size_t nb_sampled);
/**
......
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