veg / hyphy

HyPhy: Hypothesis testing using Phylogenies
http://www.hyphy.org
Other
205 stars 69 forks source link

what is difference between local and global in FitMG94? #1550

Closed jzhan6 closed 1 year ago

jzhan6 commented 1 year ago

Maybe a stupid question, but what is difference between local and global option in FitMG94? global means no site heterozygosity and the same rate is assumed for all sites? local means different rates are assumed for all sites?

spond commented 1 year ago

Dear @jzhan6,

Great question.

  1. global = a single dN/dS ratio shared by all sites and tree branches
  2. local = each branch has its own dN/dS ratio (or rather a pair of syn. and non-syn. substitution rates).

Both models (in FitMG94) assume that there's no site-to-site rate heterogeneity.

Best, Sergei

jzhan6 commented 1 year ago

Thanks for the reply even in the Christmas! An amazing Christmas gift! One more question, we find some species with slow evolutionary rate (short branch from root to the tip), we would like to know which proteins slowly evolve in the species/lineages compared with others. Definitely it is possible that all proteins get slower evolved in this lineage. We would like to calculate the evolutionary rate for each protein in all lineages and identify proteins that are significantly slower/faster evolved in the specific lineage. Could you please tell me if hyphy has some modules to help calculate these values and help identify fast-evolving/slow-evolving proteins? If no, any suggestion for tools or methods? Thanks a lot. Merry Christmas!

spond commented 1 year ago

Dear @jzhan6,

HyPhy does not usually calculate temporal rates (you want something like BEAST for that), but rather branch lengths (rate x time) and relative evolutionary rates (dN/dS).

There are a lot of tests for evolutionary "slowdowns/speed ups" and such going back to relative rate and relative ratio tests, however. HyPhy supports both.

Best, Sergei

github-actions[bot] commented 1 year ago

Stale issue message