-
Notifications
You must be signed in to change notification settings - Fork 69
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
When does RELAX collapse rate classes? #1708
Comments
Dear @NatJWalker-Hale, RELAX checks the proportion of sites in ω categories 1 or 2 but just for the Best, |
Dear @spond, Thanks very much for the reply! I think that I'm understanding the output a little bit better now. I also ought to have mentioned that this is v2.5.60. For my example, the stdout contains:
and then
followed by
(so no significant evidence) But just to be clear, even though the proportion is 0, the alternative and null are still fitting that site class, correct? The On the other hand, I have just noticed that some of the sites in the alignment were empty (due to a pruning error), and now that I've removed those sites and re-run, the output JSON does have p2 and omega2 for each model (with p2 still 0). So I'm not sure what is going on there, but sanitising the input seems to have fixed it anyway. Thanks again! Nat |
Dear @NatJWalker-Hale, The intended behavior for One exception is that if you fit
This will be indicated by the following echo to
My guess is that's what happened when you had no corresponding rates in the Best, |
Dear @spond, Okay, that's good to know! Thanks very much for clarifying. Cheers! Nat |
Hi guys,
As always, thanks so much for developing and supporting such useful methods. I just wanted to ask when and how RELAX chooses to collapse rate classes? From RELAX.bf I can see
if (relax.inferred_ge_distribution[0][1] < 1e-5 || relax.inferred_ge_distribution[1][1] < 1e-5)
- is this checking the inferred dN/dS of a rate class, or the inferred proportion of sites?Thanks very much for the help!
Nat
The text was updated successfully, but these errors were encountered: