-
Hi! I was wondering if folks had insight on any difference between the implementation of the ECMK07_GY and ECMK07_MGK combined codon models? As I understand it the MGK and GY models have the same parameters, an omega and a kappa, and so I expected them to converge to the same value when combined with ECMK07. I've been running both models using a small test dataset of 7 codon sequences, 15 codons each, and the example command below. So far, I've gotten different estimates for omega_E and kappa. Is there a difference in how omega_E and kappa are calculated in ECMK07_MGK vs ECMK07_GY? Thanks! iqtree2 -st CODON -s example.fasta -te example.treefile -blfix -m ECMK07_MGK+FQ -redo Here are some results I've generated running different models with the test dataset. ECMK07_MG+FU ECMK07_MGK+FU ECMK07_GY+FU ECMK07_MGK'{1.0,1.0}'+FU ECMK07_GY'{1.0,1.0}'+FU MGK+FQ GY+FQ ECMK07_MGK+FQ ECMK07_GY+FQEmpirical nonsynonymous/synonymous ratio (omega_E): 0.051 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi all, There are three main things to notice in this output.
Douglas |
Beta Was this translation helpful? Give feedback.
The answer is a bit involved. There is a fundamental difference between the "mechanistic" MGK and GY-type codon models in the way they treat the codon frequencies: the entries of the rate matrix Q in MG is the product of (omega or 1) and (kappa or 1) and the target nucleotide frequency, whereas the GY models replace target nucleotide by the target codon. For example, under MGK model:
However, the same entry for GY model is: