GADMA icon indicating copy to clipboard operation
GADMA copied to clipboard

Interpreting GADMA migration rates for demes YAML

Open dmacguigan opened this issue 5 months ago • 4 comments

Hello,

I'm attempting to make a demes YAML by hand using using the results from a GADMA analysis. However, demes has a very specific definition of migration rate. From https://popsim-consortium.github.io/demes-spec-docs/main/specification.html#migration

Continuous asymmetric migration over the half-open time interval (start_time, end_time], from the deme with name source to the deme with name dest. Rates are defined as the probability that parents in the “destination” population are chosen from the “source” population. Migration rates are thus per generation and must be less than or equal to one. There must be at most one migration specified per source/destination pair for any given time interval. Furthermore, if more than one source population have continuous migration into the same destination population, the sum of those migration rates must also be less than or equal to one, as rates define probabilities. The probability that parents come from the same population is just one minus the sum of incoming migration rates.

I want to make sure I'm correctly specifying the migration rates for demes. For example, GADMA's estimated migration rate (in genetic units) between two populations is 0.05973, how would I transform that for demes? I apologize if there is an obvious answer; I'm still a bit new to interpreting demographic results.

Thank you, Dan

dmacguigan avatar Jul 29 '25 20:07 dmacguigan