You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copying over ("merging") recent changes from iqtree2's dev branch:
1. Added the files hashrow.h and fancyrapidnj.h.
2. Supporting changes, in other files, for the FancyRapidNJ class:
(a) added ClusterTree::appendToLastCluster
(b) advertising of BROKEN and BROKEN-V (temporary names
for Fancy Rapid NJ)
3. Tweaked the omp parallel directives in BoundingMatrix,
to squeeze a bit more speed out of BoundingMatrix (which
implements NJ-R and BIONJ-R).
4. Added VectorizedBoundingMatrix
5. Supporting changes, in other files:
(a) advertising of NJ-R-V (VectorizedBoundingMatrix)
6. Moved calculation of RMS of T (the distance matrix implied
by the constructed tree) minus D (the input distance matrix)
out of upgma.h, and into hashrow.h (the hashing!), and
clustertree.h (calculateDistancesToLeaves and
calculateRMSOfTMinusD).
7. Added DoubleArgument to utils/argument.h and utils/argument.cpp.
8. Fixed up definition of the "-dist" StringArgument (so it
once again works), and added a "-max-dist" DoubleArgument
(it's no longer "hard-coded", only defaulted as 10.0).
Plus, supporting changes in:
(a) sequence.h and sequence.cpp (extra parameters to
correctedDistance and uncorrectedDistance,
to indicate max distance), likewise to
SequenceLoader'S constructor.
8. If compression is requested, via "-c" and "-gz",
distance output format has ".gz" appended to it (so it will
be compressed). Previously, newick tree files honoured "-c"
and "-gz", but distance matrix files did not.
9. FlatMatrix::writeToDistanceFile now reports how much of
the file it has written (via a progress_display instance).
10.Fix ups in pigzstream::open(). It now has a much better
failure path (previously it claimed it had succeeded,
in what it wrote to standard output!). In utils/gzstream.cpp.
This works via a new member function, markAsFailed(),
in progress_display (in utils/progress.h and .cpp).
If it's been called, "done" is replaced with "failed" in
what is written to standard output when done() is called.
11.MAJOR bug fix in utils/hammingdistance.h
(the vectorized version of countBitsSetInEitherTemplate()
didn't work properly at all) (W parameter is the size of
V in uint64_t instances, not its size in bytes, so the
j loop is (j=0; j<W; ++j)... not (j=0; j<W/8; ++j)...)
0 commit comments