Claudia Solis-Lemus · @solislemuslab
439 followers · 452 posts · Server mstdn.social

@petrelharp I want a sticker 👋

#tskit

Last updated 1 year ago

Peter Ralph · @petrelharp
462 followers · 306 posts · Server ecoevo.social

Unfortunately, I've got to announce a bug in pyslim - if you've been using it, update and read on.

It's possibly a bad one: pyslim.recapitate( ) has been introducing a short bottleneck to size Ne=1 (!) in most cases.

#tskit

Last updated 1 year ago

Peter Ralph · @petrelharp
460 followers · 304 posts · Server ecoevo.social

Heading off to ! If you're looking for a postdoc, come talk to me! Or, if you want a sticker.

#evol2023 #tskit

Last updated 1 year ago

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

We can analyse these ARGs using the well-established and feature-rich library (and surrounding ecosystem). All of the analyses for the preprint were done using Jupyter notebooks, and most run in seconds on a standard laptop.

tskit.dev

#tskit

Last updated 1 year ago

James Kitchens · @kitchensjn
52 followers · 36 posts · Server ecoevo.social

It's been a little while since I last updated the ARG visualizer. Today, I added an optional scale bar to the left of the ARG that gives the timing of nodes. You can now also change the y-axis scaling from "rank" (default, equal spacing between nodes) to "time" (proportional to the true timing of the node). Scaling by time often leads to a jumbled mess, so it should probably only be useful with very simple ARGs in its current form. If you have ideas on how to improve that, let me know!

#tskit

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
50 followers · 30 posts · Server ecoevo.social

Added the ability to highlight trees within the ARG visualizer. If the optional parameter tree_highlighting is set to True (default), the visualizer now pairs the ARG with a "chromosome" along the bottom of the figure that is segmented according to the tree sequence breakpoints. You can highlight the individual trees by hovering over their respective segment of the chromosome.

#tskit

Last updated 1 year ago

James Kitchens · @kitchensjn
45 followers · 28 posts · Server ecoevo.social

Finished up with the different path types found in the ARG visualizer and added documentation about how I select an edge's path type. Here, the colors of the edges correspond with their path type (blue: stepAfter, red: stepBefore, green: step, black: mid). I also stylized the crossovers between edges with a small gap. The new path types do not solve crossover conflict (as seen on the left), but may help users better position the nodes.

#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 · 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
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

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

@castedo I see. For my use case, I want to share the home environment. My normal use case is working on a project with specific requirements. and its pre-commit requirements are a great example: I want my neovim, kitty, etc., all available, but I don't want the clang-format-6, etc., anywhere near my home environment.

#tskit

Last updated 2 years ago

Peter Ralph · @petrelharp
385 followers · 132 posts · Server ecoevo.social

(Technical note: these were big simulations! He wrote new tools in so that he could simulate each branch in parallel, and put them all back together again. Also, only possible with and .) 7/n

#tskit #slim

Last updated 2 years ago

Peter Ralph · @petrelharp
382 followers · 114 posts · Server ecoevo.social

@kitchensjn ooo, very nice! Can't wait to see it!

#tskit

Last updated 2 years ago

Kevin Thornton · @kevinrthornton
93 followers · 73 posts · Server ecoevo.social

0.5.4 was released on Friday: github.com/tskit-dev/tskit/rel.

Available via PyPi and Conda.

#tskit #python #PopGen

Last updated 2 years ago

Kevin Thornton · @kevinrthornton
84 followers · 57 posts · Server ecoevo.social

Neat, the site now links to the tutorial/"book" for the API.

tskit.dev/learn/

#tskit #rustlang

Last updated 2 years ago