Commit 0d40d04c authored by Mikaël Salson's avatar Mikaël Salson
Browse files Change the criterion to decide information on which sample is chosen

Previously, the informations coming from the best top were kept.
However we could have a sequence in the top 1, with few reads, in a poorly segmented dataset that
was preferred over a top 2 sequence with lots of reads in a highly segmented dataset.

Now we just take into account the number of reads, by assuming with the higher number
of reads we should have the higher reliability. This should be a better criterion than the previous
one (wishful thinking).
parent a0d525a8
......@@ -106,7 +106,7 @@ class Window:
#keep other data who don't need to be concat
if other.d["top"] < self.d["top"] :
if other.d["reads"][0] > self.d["reads"][0] :
for key in other.d :
if key in myList :
obj.d[key] = other.d[key]
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