ZOMBI2

Simulating genome and phylogenetic evolution.

Evolve life end to end — species trees, then genomes, molecular sequences and traits along them. A ground-up redesign of ZOMBI, with a fast, composable Python library and a command-line interface.

v0.2.0 Python ≥ 3.10 · Linux · macOS · Windows
$ pip install zombi2

What it simulates

Levels of evolution

Each level is a first-class model you can run on its own or stack on the one above — from the species tree down to the nucleotide.

01Species trees

Forward birth–death and Yule, with fossils, incomplete sampling, mass extinctions and ghost lineages — plus rates that shift over time, drift as lineages split, or track standing diversity.

Species-tree guide →

02Genomes

Duplication, transfer, loss and origination along the tree — from gene copy-number profiles to nucleotide-resolution genomes, with ordered chromosomes, inversions and replacement transfers.

Genome guide →

03Sequences

A gene × lineage relaxed clock that rescales gene trees from time into substitutions per site, with JC / K80 / HKY / GTR nucleotide and LG / WAG / JTT / Dayhoff protein models.

Sequence guide →

04Traits

Brownian motion, Ornstein–Uhlenbeck and early burst for continuous traits; Mk and threshold for discrete, evolved along the phylogeny.

Trait guide →

Command line

Running ZOMBI from the terminal

Python API

Running ZOMBI in Python

How to cite

Citing ZOMBI2

A dedicated ZOMBI2 paper is in preparation.

Until then, please also cite the original ZOMBI:

Davín AA, Tricou T, Tannier E, de Vienne DM, Szöllősi GJ. Zombi: a phylogenetic simulator of trees, genomes and sequences that accounts for dead lineages. Bioinformatics (2020) 36:1286–1288.