-
Notifications
You must be signed in to change notification settings - Fork 36
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
"Calculated posterior probability for family" after size filtering #46
Comments
I was able to get Cafe to run by rounding everything to the nearest integers and then manually making it ultrametric. The tree is a lot less accurate now, but it works. That indicates that Cafe has trouble running with branch lengths close to zero. Perhaps they are rounded internally?
|
You're correct, CAFE rounds to the closest integer and if that integer is 0, it won't be able to do the calculations. We'll address this in a future release. |
I'm considering a pull request for this issue then. It seems like a |
A pull request would be fine. Depending on the lengths of the other branches, CAFE still may not be able to calculate the probabilities, but certainly crashing is not a great solution :) |
Hi Ben, I wonder if CAFE 4.2.1 can handle branch lengths close to zero now? |
No. We will handle fractional branch lengths in the next major version. |
I have a tree with a lot of very short branch lengths below 1, some even <0.01. I'm wondering if there's anything that I can do. I'm assuming that simply multiplying the branch lengths to artificially inflate them is not an acceptable solution. |
Hi @rdriver, please direct questions about CAFE to the Google group here: https://groups.google.com/forum/#!forum/hahnlabcafe . I asked your question there and multiplying the branch lengths should be fine. You just have to re-scale lambda to account for this at the end. |
I've previously followed the tutorial and used Cafe with my own data. Now, with this new batch of data I'm getting ".WARNING: Calculated posterior probability for family 14866 = 0" until a
Bus Error
crashes it. I've rerun Cafe 4.2 on my old data and it still works.14866 Seems exceedingly normal. Removing this line just moves the error to a new family.
Things I have checked
I suspect there's something wrong with my tree, I just don't know what that would be.
Any advice you can offer is much appreciated. Thanks.
The text was updated successfully, but these errors were encountered: