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
Looks like this is an upstream issue with the tqdist library this package wraps, as I am able to reproduce it directly with tqdist 1.0.2. I've contacted the author of tqdist, who wrote back and is looking into the bug. Just wanted to leave this note here for now in case anyone else runs into this issue. I'll provide an update when I hear further from Christian.
The text was updated successfully, but these errors were encountered:
In case it's useful, here are some more details about the bug I shared with Christian.
The bug can be reproduced from these two example files.
tree1.newick
(((3,8),((5,6))));
and
tree2.newick
((3,8),((5,6)));
tree1 and tree2 are identical, except tree1 has a tacked-on root unifurcation.
Comparing the trees gives
$ quartet_dist -v tree1.newick tree2.newick
Leaves doesn't agree! Aborting! ( didn't exist in second tree)
The two trees do not have the same set of leaves.
Aborting.
even though comparing each to itself works as it should
Interestingly, non-root unifurcations don't seem to cause any issues as far as I can tell. The issue isn't reproducible across all root unifurcations. For example, if tree2 is "(((3,(5)),6,8));" comparison with tree1 works fine. However, comparing "(((3,(5)),6,8));" to "((3,(5)),6,8);" has the bug. The same issue arises with triplet_dist, too.
Trees with unifurcating roots cause
QuartetDistance
andTripletDistance
to abort with an error. Here's a minimum working example of the issuenewick1.tree.txt
newick2.tree.txt
Looks like this is an upstream issue with the tqdist library this package wraps, as I am able to reproduce it directly with tqdist 1.0.2. I've contacted the author of tqdist, who wrote back and is looking into the bug. Just wanted to leave this note here for now in case anyone else runs into this issue. I'll provide an update when I hear further from Christian.
The text was updated successfully, but these errors were encountered: