-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
decomposition problem on unresolved edges #13
Comments
that sounds fine to me. Mark On Apr 16, 2012, at 4:17 PM, Siavash Mirarab wrote:
|
Hi Siavash, This should be fixed after commit 73f1d96 on 26 Apr, 2012. Thanks |
HI Mark, Sure, I will test this. Regards On Thu, Apr 26, 2012 at 2:26 PM, Mark Holder <
|
Actually hold off for a minute I have a commit that I'm about to push ...
|
oops. bug fix. try with 81bb219 or later (I have to bundle dendropy's resolve_polytomies because the GUI bundle has an old dendropy) |
If the tree used to decompose the set of taxa has polytomies with degree larger than maximum subset size, sate divides the poltyomy into two subsets, one with size 1 and the other with side d-1 (where d is the degree of the ploytomy).
If the tree and the polytomy are both very large, this can result in maximum recursion error.
The easiest solution randomly resolving polytomies for any tree inside SATe. This can be achieved easily by adding the following line:
as the first line of the constructor of PhylogeneticTree (in tree.py line 24).
This is not a imaginary case. FastTree outputs polotyomies when input sequences are identical. And we have faced this problem on a bunch of real biological datasets we are testing.
If this solution is fine with everyone, I can go ahead and apply it to the code.
Thanks
Siavash
The text was updated successfully, but these errors were encountered: