Hi everyone,
I am running simulations with Msprime to test different chromosome painting methods.
I am simulating gene flow between two populations and at the end I have a VCF file and the Treeseq file.
Using the function get-migrating_tracts() that I found in an example on line I get the starting and ending position of each tract as long as their length. However I don't know to which individual the tract belongs. I am guessing that this might be possible to know to which node the tract is related but I am struggling to find a way to do so.
Does someone have a solution?
Best,
Maud Duranton