r526: fixed a bug when HPC is in use

It happened when the query HPC minimizer is longer than the reference HPC
minimizer close to the beginning of a contig. We may get a negative coordinate,
which causes an assertion failure.
This commit is contained in:
Heng Li
2017-10-21 19:54:04 -04:00
parent be7f3c4ffe
commit beeb806829
4 changed files with 68 additions and 66 deletions
+5 -5
View File
@@ -1,9 +1,9 @@
Q 60 32226 0 0.000000000 32226
Q 20 266 1 0.000030777 32492
Q 10 33 1 0.000061491 32525
Q 9 120 1 0.000091898 32645
Q 20 267 1 0.000030776 32493
Q 10 34 1 0.000061487 32527
Q 9 118 1 0.000091898 32645
Q 5 27 2 0.000153036 32672
Q 4 68 2 0.000213806 32740
Q 1 314 100 0.003237127 33054
Q 0 31 17 0.003747922 33085
Q 1 314 101 0.003267381 33054
Q 0 31 17 0.003778147 33085
U 3