Help with model selection, protein mixture models #200
Replies: 4 comments 7 replies
|
@veronicamb here's one way to do what you want. I think the issue is that you have some competing demands in So, to fix that you can just put all the models you are interested in in
Another tip - if you know you have 40 threads available, then I suggest just specifying all 40 for ModelFinder. It will usually be faster than Just to note, I have to say that I too am wondering if we have a bug with |
|
Will do! Thanks again |
|
I have a similar question - and it looks like its not solved in protein.phy.log file posted above. I'd like to use ModelFinder (-m MF) to identify the best fit model for thousands of gene alignments to then use for a species tree - providing a partition file including the ModelFinder best fit models per partition of the concatenated alignment for IQTree generation of the species tree - and in parallel generate gene trees by IQTree after model selection ( so actually run -MFP) for use in Asteroid generation of the species tree. In doing this, I would like ModelFinder to consider the base models in IQTree (or even just the nuclear base models) - and 8 additional models I generated from a subset of the gene alignments using IQTree. I would also like ModelFinder to consider mixture models C10, C20, and C60 - so for example, testing both the base model LG and LG combined with C20, LG+C20. My command line is:
I'm unclear from the discussion above if -mset still overrides -madd but it seems to do so in various output where I have been testing parameters in IQTree (version 2.3.6). Currently, my solution in testing things is to add all combinations into -mset - so something like:
and not
I'm wondering if there is a more elegant way to do this - as its going to get ugly with so many base and mixture model combinations to consider. More generally, I am wondering if I might be do something wrong in the design of my approach or command line. Thank you very much :) Eric |
|
Thanks for all this feedback. We're in the process over the next couple of months of changing and clarifying how models are specified in IQ-TREE, precisely to clear this kind of confusion up. The issue is that the set of available models has changed quite dramatically since IQ-TREE was initially designed. As an example motivated by the confusion above - it's not always obvious what a user wants with the current setup. This is because models have 3 very different components: the rates (like +G, +R, etc), the frequencies, and the exchangeabilities. In some cases, the frequencies and exchangeabilities go together (e.g. the LG model comes with its own frequencies, CXX models were estimated with POISSON exchangeabilities), some don't (MEOW profile mixtures for example). Some are more complex than that (e.g. LG4X and LG4M). Then there are things that seem sensible but are inadvisable, like C60+F models. In case anyone on this thread wants to provide feedback, the plan is to separate these into three things: rates, exchangeabilities, and frequencies. Then users can determine in a fine-grained way exactly what they want. E.g. three parameters would define the full model set:
The intention is to then fully cross these three groups to arrive at the final model list, but crucially excluding models that should not be used, such as LG4X+F, C60+F etc. We can include an override for people that insist on using models that the experts don't like, because we appreciate that sometimes this is important for research! We will additionally add some fine-grained control for the different parts of model selection, since it's typically not necessary (or sensible, if you care about not using unnecessary compute) to compare ALL models at ALL stages. The three stages are:
Anyone who'd like to provide feedback on this is very much encouraged to do so! Rob |
Uh oh!
There was an error while loading. Please reload this page.
Hello all,
I'm trying to use iqtree to find the best-fitting model for a protein dataset and I'd like to include Protein Mixture Models in the models considered.
Here's the command I used:
iqtree -s ../04_alignments/03_trimmed/06_informed/01_coding_NUC/01_AA
-pre Subset1_test2
-nt AUTO
-ntmax 40
-m MF
-mset WAG,LG,JTT
-msub nuclear
-madd C10,C20,C30,C40,C50,C60,LG4M,LG4X,CF4
However, the protein mixture models were not considered during the search. Can you help with what's missing in the command to fix it?
thank you!
Veronica
All reactions