Hi Josh,
I'm sorry for the slow reply. The short answer is that the syntax looks like this:
bali-phy file.fasta -S nonrev --tree `~uniform_rooted_tree(taxa)`
Right now you have to specify the tree distribution manually because the default tree distribution is unrooted. The root is going to be on an internal degree-3 node, not on a degree-2 node in the middle of a branch.
You can use nonrev with rate heterogeneity models and write something like `-S 'nonrev +Rates.gamma'`, for example. However, it seems that using it with covarion/markov-modulated models is not working quite right, so for the moment please don't do that.
I will try and fix the combination with covarion/markov-modulated models and then put this into the users guide.
Note that model parameters for `nonrev` are the rates in the Q(i,j) not the exchangeabilities S(i,j) and the equilibrium frequencies pi(j). I'm also computing and reporting pi(j) from Q -- if you have thoughts on what else should be logged, let me know. Note that Q(i,j) is not expected to be symmetric even for reversible models -- instead it is Q(i,j)/pi(j) = S(i,j) that is symmetric for reversible models. So possibly I should compute and log that in order to look at deviation from reversibility... thoughts?
-BenRI
--
You received this message because you are subscribed to the Google Groups "bali-phy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bali-phy-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bali-phy-users/f91736ad-8cbf-4186-b103-8dd77807d765n%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "bali-phy-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bali-phy-users/cxBfN0NJELc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bali-phy-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bali-phy-users/643e6a7b-5445-487e-843d-f877f73b9afa%40gmail.com.
Hi Josh,
Great, glad to hear that it compiles and is working!As you probably realize, inferring a non-reversible rate matrix for amino acids requires a LOT of data, even if all branches behave the same. In the Bayesian context, too little data will manifest as wide credible intervals, where (for example) the credible interval for the flux always overlaps with 0.
-BenRI
To view this discussion visit https://groups.google.com/d/msgid/bali-phy-users/CANyBzLXeTrO_LNgm3DS5-u7_yVSjgRAr_Y%2BHKMCf8zSvjVa8vg%40mail.gmail.com.