Sailfish — Manual

← Back to app

Sailfish simulates the evolution of a sequence down a phylogenetic tree. Starting from a root sequence, it applies substitutions and, optionally, insertions and deletions along each branch, producing a multiple sequence alignment (MSA) of the resulting leaf (and optionally internal) sequences.

1. Tree input

Paste a Newick-format tree string into the topbar field, or click the 📁 button to load one from a local file. Click Parse to validate and load it. Once parsed, taxon count and branch length stats appear at the top of the output panel, and the Run button becomes active.

2. Substitution model

Configured in the right-hand panel:

3. Indels

Enable to allow insertions and deletions along branches, in addition to substitutions. For each direction (insertion/deletion) you can set:

4. Output

For large alignments (over 1000 sites or 100 sequences), rows aren't printed inline — use the Download button and open the FASTA file in a text editor instead.

5. Continuing in Python

The Export Python button in the topbar generates a script that reproduces your current model, indel, and output settings using the msasim Python package, so you can continue iterating or run larger batches outside the browser. Fill in your tree (newick string, file path, or Tree object) at the top of the generated script.

6. How to cite

A manuscript describing Sailfish is in preparation:

Sailfish: A sequence evolution simulator Python package and web app. (manuscript in preparation — citation details to follow)

Source code and Python package documentation: github.com/elyawy/Sailfish