Closed petrelharp closed 2 years ago
I don't think this isn't necessary (or, don't know the use case) - if you're doing an msprime simulation, all indivdiuals are already assigned to populations. Then on reading in the tree sequence, you can remap them to whatever subpop you want.
When setting up certain situations, e.g., initial diversity for a multispecies simulation, it's necessary to assign individuals to not the default population. There should be an easy way to do this! Perhaps even just a
individual_subpopulation
argument toannotate_defaults
? See https://github.com/MesserLab/SLiM/issues/311.