Commit ffb5cab0 authored by Mikaël Salson's avatar Mikaël Salson
Browse files

Windows: Use the required sequence for computing the representative.

The lack of required sequence could lead us to output a representative
that didn't contain the window, which is a pity.
parent e74585c2
......@@ -33,6 +33,7 @@ Sequence WindowsStorage::getRepresentative(junction window,
repComp.setRevcomp(true);
repComp.setMinCover(min_cover);
repComp.setPercentCoverage(percent_cover);
repComp.setRequiredSequence(window);
repComp.compute();
if (repComp.hasRepresentative())
return repComp.getRepresentative();
......
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