Commit ae6de4b5 authored by Mikaël Salson's avatar Mikaël Salson

compare-all: remove unused and undocumented parameter min_size

parent aab138db
......@@ -25,7 +25,7 @@
#include "tools.h"
#include "json.h"
SimilarityMatrix compare_all(list <Sequence> sequences, bool min_size,
SimilarityMatrix compare_all(list <Sequence> sequences,
list <string> sequence_names)
{
SimilarityMatrix matrix(sequences.size());
......@@ -71,12 +71,6 @@ SimilarityMatrix compare_all(list <Sequence> sequences, bool min_size,
int score = dp.compute() ;
float identity = identity_percent(score);
/*
int size = min_size
? min(seq1.size(), seq2.size())
: max(seq1.size(), seq2.size()) ;
*/
matrix.setScore(num, num_num, identity);
}
......
......@@ -8,7 +8,7 @@
#include "similarityMatrix.h"
#include "windows.h"
SimilarityMatrix compare_all(list <Sequence> sequences, bool min_size,
SimilarityMatrix compare_all(list <Sequence> sequences,
list <string> sequence_names=list<string>());
/*Object to compare windows to build a distances matrix between windows
......
......@@ -1288,7 +1288,7 @@ int main (int argc, char **argv)
cout << "Comparing clone representatives 2 by 2" << endl ;
list<Sequence> first_representatives = keep_n_first<Sequence>(representatives,
LIMIT_DISPLAY);
SimilarityMatrix matrix = compare_all(first_representatives, true,
SimilarityMatrix matrix = compare_all(first_representatives,
representatives_labels);
cout << RawOutputSimilarityMatrix(matrix, 90);
/*
......
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