integer IDs of populations within the parent Demography

3 views
Skip to first unread message

Richard Kerr

unread,
Jul 17, 2024, 8:34:58 PM7/17/24
to msprime-users
Hi,
this may seem like a very simple question, but I wanted to be sure what I suspected to be the case is true.

If I create a demography object using for example from_species_tree what is the sequence of the integer IDS for the sub-populations?

In the Newick format I have terminal nodes labelled with names of populations at the present time.  Are they the first set in the sequence? E.g I have 5 terminal populations, so they get the sequence 0 ... 4. Populations corresponding to internal nodes then get an integer ID greater than the populations corresponding to the terminal nodes.

Thanks for any clarification

RIchard 
Reply all
Reply to author
Forward
0 new messages