Hi Roni,
Glad to hear the first issue is resolved!
The exact CAT model isn't available. The CAT model is a mixture of an
unknown number of F81 models with different frequencies, and work on
amino acids. There are a few options to do something similar:
- I can add back the C10 and C20 models (with fixed frequencies and
fixed number of components) for bali-phy 4.1 if you want. These are
simplified versions of the CAT models with pre-estimated amino-acid
frequencies in each component. Estimating under these models just needs
to estimate the weights for each component.
- You can specify a fixed number of components and estimate the
frequencies. For example, to do 10 components, you would do:
bali-phy amino-acids.fasta --smodel
"mixture([f81,f81,f81,f81,f81,f81,f81,f81,f81,f81]) +> Rates.gamma(n=4)"
This will have 40 components, and so will be quite slow.
- You can also try something like --smodel
"mixture([lg08,lg08,lg08,lg08,lg08]) +> Rates.gamma(n=4)". This is a
mixture of 5 LG08 models with different frequencies. F81 is a fairly
simple model, so LG08 can lead to higher likelihoods.
- Each of these models works with alignments estimated or fixed.
- I think the phyloBayes software may have some tricks to speed up the
likelihood evaluation specifically for the CAT model. bali-phy doesn't
have those tricks, so its going to be slower even if the alignment is fixed.
- if you want a model that operates on CODONS (instead of amino acids),
then you want something different than the CAT model. For example,
bali-phy bglobin.fasta --smodel 'mixture([m +> mut_sel_aa, m +>
mut_sel_aa, m +> mut_sel_aa, m +> mut_sel_aa, m +> mut_sel_aa]) +>
Rates.gamma where {m=gtr +> x3 +> dNdS}'
Since this works on codons, it will be much slower.
-BenRI
> <
https://groups.google.com/d/msgid/bali-phy-users/e9da59ba-15f3-4bc5-948c-30c532b16b9fn%40googlegroups.com?utm_medium=email&utm_source=footer>>.
>
> --
> 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/e37855d1-7798-4727-a923-8917a9891e23n%40googlegroups.com
> <
https://groups.google.com/d/msgid/bali-phy-users/e37855d1-7798-4727-a923-8917a9891e23n%40googlegroups.com?utm_medium=email&utm_source=footer>.