Skip to content

Can we estimate branch lengths of a consensus tree using different models? #124

@wdlingit

Description

@wdlingit

For my first few runs of iqtree2 (v2.3.5), I always see WARNING: Default model LG may be under-fitting. Use option '-m TEST' to determine the best-fit model. in the log when I applied -m LG. I made a run with -m TEST and iqtree2 tested number of models. From the test results, there are two lines:

 No. Model         -LnL         df  AIC          AICc         BIC
  1  LG            77264078.129 187 154528530.258 154528530.285 154530921.295

and

 No. Model         -LnL         df  AIC          AICc         BIC
 72  Q.yeast+F+I+G4 69530880.657 208 139062177.314 139062177.347 139064836.863

It seems that the yeast model is (biologically) reasonable to me and got a better -LnL value so I decided to apply -m Q.yeast+F+I+G4. However, when I applied a command (*) like iqtree3 -redo -T AUTO --threads-max 40 -te phylo3_3add.alltrees.contree -pre phylo3_3add.alltrees.contree -m Q.yeast -s MAFFT_3add/, I got the same warning message WARNING: Default model LG may be under-fitting. Use option '-m TEST' to determine the best-fit model..

The final log-likelihood of iqtree3 -redo -te phylo3_3add.alltrees.contree -pre phylo3_3add.alltrees.contree -m Q.yeast -s MAFFT_3add/ is

1. Initial log-likelihood: -78160094.859
Optimal log-likelihood: -77283987.706

The final log-likelihood with iqtree3 -redo -te phylo3_3add.alltrees.contree -pre phylo3_3add.alltrees.contree -m LG -s MAFFT_3add/ is

1. Initial log-likelihood: -78160094.859
Optimal log-likelihood: -77283987.706

They are the same so it seems that -m is not working in the combination of -te phylo3_3add.alltrees.contree -m Q.yeast. phylo3_3add.alltrees.contree is a rooted tree made by following iqtree FAQ for standard bootstrap, where individual trees are rooted gene trees made by OrthoFinder. I think it would be reasonable to apply an appropriate model for estimating branch lengths of a given consensus tree. Or, it is actually not necessary to switch models if we just want to estimate branch lengths?

*: switched to iqtree3 (downloaded v3.0.1 binary for intel linux) for making sure -te is a working option because I didn't see -te when apply iqtree2 -h.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions