Commit e6ffb915 authored by Mathieu Giraud's avatar Mathieu Giraud

vidjil.cpp: safer D e-value computation, multiply by number of clones or reads

parent 47a7c984
......@@ -1386,7 +1386,7 @@ int main (int argc, char **argv)
FineSegmenter seg(representative, segmented_germline, segment_cost);
if (segmented_germline->seg_method == SEG_METHOD_543)
seg.FineSegmentD(segmented_germline, several_D, expected_value_D);
seg.FineSegmentD(segmented_germline, several_D, expected_value_D, sort_clones.size());
if (detect_CDR3)
seg.findCDR3();
......@@ -1603,7 +1603,7 @@ int main (int argc, char **argv)
if (s.isSegmented())
{
if (germline->seg_method == SEG_METHOD_543)
s.FineSegmentD(germline, several_D, expected_value_D);
s.FineSegmentD(germline, several_D, expected_value_D, nb_reads_for_evalue);
if (detect_CDR3)
s.findCDR3();
......
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