Commit 0bfd51db authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

vidjil.cpp: min_cover_representative is now a ratio of min_reads_clone (-R)

This enables to have representatives even when setting -R to very small values.
As a side effect, option -A should return representatives for every clone (-R is 1).
parent 9c2b6a90
......@@ -102,7 +102,7 @@ enum { CMD_WINDOWS, CMD_ANALYSIS, CMD_SEGMENT } ;
#define DEFAULT_MAX_AUDITIONED 2000
#define DEFAULT_RATIO_REPRESENTATIVE 0.5
#define DEFAULT_MIN_COVER_REPRESENTATIVE 5
#define MIN_COVER_REPRESENTATIVE_RATIO_MIN_READS_CLONE 1.0
#define DEFAULT_EPSILON 0
#define DEFAULT_MINPTS 10
......@@ -248,7 +248,6 @@ int main (int argc, char **argv)
float ratio_reads_clone = RATIO_READS_CLONE;
// int average_deletion = 4; // Average number of deletion in V or J
size_t min_cover_representative = DEFAULT_MIN_COVER_REPRESENTATIVE;
float ratio_representative = DEFAULT_RATIO_REPRESENTATIVE;
unsigned int max_auditionned = DEFAULT_MAX_AUDITIONED;
......@@ -457,7 +456,7 @@ int main (int argc, char **argv)
//$$ options: post-processing+display
size_t min_cover_representative = (size_t) (MIN_COVER_REPRESENTATIVE_RATIO_MIN_READS_CLONE * min_reads_clone) ;
// Default seeds
......
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