These software packages all produce or consume tree sequences in the .trees file format.

Simulate

Create tree sequences from models of biological processes

Simulate genealogical trees and genomic sequence data using population genetic models

ts = msprime.sim_ancestry(
    samples=10, 
    recombination_rate=1e-4, 
    sequence_length=1e6
)
ts = msprime.sim_mutations(ts, rate=1e-6)
Latest release: 1.0.1 1 month and 1 week ago
30 contributors

SLiM is a genetically explicit forward simulation software package for population genetics and evolutionary biology. It is highly flexible, with a built-in scripting language, and has a cross-platform graphical modeling environment called SLiMgui.

##TODO##
Latest release: v3.6 3 months and 2 weeks ago
11 contributors

Forward-time simulation in Python using fwdpp

##TODO##
Latest release: 0.15.1 1 week and 4 days ago
4 contributors

Infer

Create tree sequences from variation data

Infer a tree sequence from genetic variation data.

sample_data = tsinfer.load("phased_sequence_data.samples")
ts = tsinfer.infer(sample_data)
Latest release: 0.2.1 3 weeks and 3 days ago
9 contributors

Infer the age of ancestral nodes in a tree sequence.

dated_ts = tsdate.date(inferred_ts)
Latest release: 0.1.3 4 months and 3 days ago
3 contributors

Analyse

Measure key statistics, manipulate tree sequences and their underlying tables

Analyse, create and manipulate tree sequences.

ts = tskit.load("example.ts")
afs = ts.allele_frequency_spectrum()
Latest release: 0.3.6 1 month and 6 days ago
27 contributors

Tools for dealing with tree sequences coming to and from SLiM.

  rts = pyslim.recapitate(ts, ancestral_Ne=10000)
Latest release: v0.314 1 year and 6 months ago
7 contributors

rust bindings for tskit!

##TODO##
Latest release: 0.3.0 1 month and 1 day ago
3 contributors