a different ending sentence

This commit is contained in:
Heng Li 2021-08-07 10:38:48 -04:00
parent 8e81145817
commit a05edfa5ec
2 changed files with 3 additions and 4 deletions

View File

@ -1084,7 +1084,7 @@ function paf_stat(args)
} }
if (NM != null) { if (NM != null) {
var tmp = NM - n_gap_all - nn; var tmp = NM - n_gap_all - nn;
if (tmp < 0) warn("WARNING: NM is smaller than the number of gaps at line " + lineno); if (tmp < 0 && nn == 0) warn("WARNING: NM is smaller than the number of gaps at line " + lineno + ": NM=" + NM + ", nn=" + nn + ", G=" + n_gap_all);
if (tmp < 0) tmp = 0; if (tmp < 0) tmp = 0;
n_sub += tmp; n_sub += tmp;
} }

View File

@ -211,9 +211,8 @@ not report the numbers.
Minimap2 spends most computing time on base alignment. As recent improvements Minimap2 spends most computing time on base alignment. As recent improvements
in v2.22 incur little additional computing and do not change the base alignment in v2.22 incur little additional computing and do not change the base alignment
algorithm, the new version has similar performance to older verions. It is algorithm, the new version has similar performance to older verions. It is
consistently faster than Winnowmap2 by several times. Our simple heuristics can consistently faster than Winnowmap2 by several times. Sometimes simple
be as effective as more complex solutions on real data and may help the heuristics can be as effective as more sophisticated yet slower solutions.
development of future sequence aligners.
\section*{Acknowledgements} \section*{Acknowledgements}
We thank Arang Rhie and Chirag Jain for providing motivating examples where We thank Arang Rhie and Chirag Jain for providing motivating examples where