jeromekelleher · @jeromekelleher
122 followers · 123 posts · Server mstdn.science

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 (params arbitrary). This takes 2.5 seconds.

#msprime

Last updated 1 year ago

jeromekelleher · @jeromekelleher
119 followers · 117 posts · Server mstdn.science

Ultra-realistic simulations of 1.4 million human genomes generated by using a detailed pedigree of French Canadians as input to ! 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 . I hope they will become a standard benchmark across all sorts of methods.

science.org/doi/10.1126/scienc

#msprime #tskit

Last updated 1 year ago

James Kitchens · @kitchensjn
40 followers · 14 posts · Server ecoevo.social

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

github.com/kitchensjn/tskit_ar

You will need , , and 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!

#tskit #jupyter #msprime #numpy

Last updated 2 years ago

Kevin Thornton · @kevinrthornton
102 followers · 118 posts · Server ecoevo.social

I've collected all of my /#tskit/demes visualizations into one place: observablehq.com/collection/@m

#msprime

Last updated 2 years ago

Kevin Thornton · @kevinrthornton
102 followers · 117 posts · Server ecoevo.social

A work in progress visualizing trees under simple models of population splits and migration: observablehq.com/@molpopgen/si

Here, and do a lot of the work, but demes (popsim-consortium.github.io/de) handles the hard work of defining the demographic models.

#msprime #tskit

Last updated 2 years ago

Kevin Thornton · @kevinrthornton
102 followers · 115 posts · Server ecoevo.social

Barely keeping ahead of my class. Here's a visualization of how variable tree sequences can be due to recombination. This is and in a browser.

observablehq.com/@molpopgen/co

#msprime #tskit

Last updated 2 years ago

Kevin Thornton · @kevinrthornton
102 followers · 115 posts · Server ecoevo.social

@castedo @kitchensjn it had been a while, so I fired up one of the interactive visualizations from my site. It takes ages for the Binder stuff to spin up. I will recreate one of them with and this week.

#python #pyodide #msprime

Last updated 2 years ago

Kevin Thornton · @kevinrthornton
101 followers · 105 posts · Server ecoevo.social

Here's an example of running in a browser and manipulating types in . The code is all compiled to and run via pyodide.

observablehq.com/@molpopgen/co

Ready to demo this in class on Monday!

cc @kitchensjn

#msprime #tskit #javascript #python #wasm

Last updated 2 years ago