kr-colab / greatapes_sims

1 stars 0 forks source link

stats are being calculated from all individuals in tree sequence #2

Closed mufernando closed 4 years ago

mufernando commented 4 years ago

As of right now, the genotype matrix is being computed from the full tree sequence, not a subsample of it. To be fair, we should be sampling a random set of samples from the tree to calculate the stats on.

mufernando commented 4 years ago

resolved. see commit c418bd7c58c1dc04ace9e5dde9cae06ab3fd2ced

mufernando commented 4 years ago

the previously proposed solution wouldn't work for treeseqs with remembered individuals. now it works! see commit 38ebfeda68663bcc2363e8e54f108b1ed6ef6a2e