Proud and sad in equal measures to see I didn't contribute any code to the latest #msprime release. It's all grown up now 😢

https://github.com/tskit-dev/msprime/releases/tag/1.3.0

Release 1.3.0 · tskit-dev/msprime

[1.3.0] - 2022-12-13 New features Add a MicrosatMutationModel mutation model class, that represents a generalized interface for constructing mutational models appropriate to STRs. In addition 3 s...

GitHub

🌲 New #msprime release: 1.3.0 🌲

This release introduces:

1/ additional nodes API: a new flexible way to store information on the ancestors associated with a custom subset of all possible events that might happen in the history of a sample.

2/ the simulation of microsatellite repeats.

Check out the details here: https://tskit.dev/news/20231225-msprime-1.3.0.html

tskit-dev - Msprime 1.3.0!

Msprime 1.3.0 introduces the ability to record specific node types as well as edges for coalescing nodes along non-coalescing segments.

Building on top of this existing library and package infrastructure has huge advantages. For example, here's some code where we load the Wide ARG, and simulate 1.4 million mutations under the Felsenstein 84 model using #msprime (params arbitrary). This takes 2.5 seconds.

Ultra-realistic simulations of 1.4 million human genomes generated by using a detailed pedigree of French Canadians as input to #msprime! These simulations are hugely useful for large-scale genomics methods development, because they are freely available, easy to download (2.8G for chr1), and efficient to process using #tskit. I hope they will become a standard benchmark across all sorts of methods.

https://www.science.org/doi/10.1126/science.add5300

Here's the repo on GitHub for the ARG visualizer which plots a #tskit tree sequence using D3.js:

https://github.com/kitchensjn/tskit_arg_visualizer

You will need #jupyter, #msprime, and #numpy installed in Python to run the notebook. Let me know if you have any issues getting it running.

There are so many rules around node positions and paths between nodes. I'm slowly picking through a document of scenarios that break the current implementation. More updates to come!

GitHub - kitchensjn/tskit_arg_visualizer: Interactive visualization method for ancestral recombination graphs stored as tskit tree sequences

Interactive visualization method for ancestral recombination graphs stored as tskit tree sequences - GitHub - kitchensjn/tskit_arg_visualizer: Interactive visualization method for ancestral recomb...

GitHub