PhyloSketch App User Manual

Daniel H. Huson
University of Tuebingen

Version 2.2.4, Jan 3, 2026

Contents

1 Introduction
2 Installation
3 Getting Started
4 Modes Overview
 4.1 Edit Mode (Sketch)
 4.2 Transform Mode (Move)
 4.3 Read-Only Mode (View)
 4.4 Capture Mode
5 Tool Bar Overview
 5.1 Mode Selection
 5.2 Selection Menu Button
 5.3 Run Capture Menu Button
  5.3.1 Advanced Capture Items
 5.4 Formatting Button
 5.5 Other Toolbar Buttons
6 Status Bar
7 Tools Pane
 7.1 Node Style Panel
 7.2 Node Labels Panel
 7.3 Node Labels Formatting Panel
 7.4 Edge Style Panel
 7.5 Edge Labels Panel
 7.6 Edge Label Style Panel
 7.7 Structure
 7.8 Layout
 7.9 Transform
8 Working with Nodes and Edges
 8.1 Creating Nodes and Edges
 8.2 Transforming Nodes and Edges
9 Menus (Desktop only)
 9.1 File Menu
 9.2 Edit Menu
 9.3 Layout Menu
 9.4 View Menu
 9.5 Window Menu
 9.6 Help Menu
10 Combining vs Transfer View
11 Example files
12 Advanced features
13 Support and Feedback
14 Third-Party Software

1 Introduction

PhyloSketch App (also known as PhyloSketch2) is an application for interactively creating and editing phylogenetic trees and networks by drawing them. Written in Java using JavaFX, this program runs on macOS, Linux, and Windows and is also designed for touch-screen devices running iOS or Android.

PIC

PhyloSketch App is a new program based on PhyloSketch (also known as PhyloSketch1), which was introduced in [Francis et al.2021]. The program reuses some code from our SplitsTree app [Huson and Bryant2024], but most of the code and algorithms are new [Huson2025].

2 Installation

3 Getting Started

When you first open PhyloSketch, you are presented with a canvas containing a simple example tree. You can modify this example or start creating your own phylogenetic tree or network. The toolbar at the top provides access to all major functions, including mode selection, import options, layout, and various editing tools.

4 Modes Overview

PhyloSketch operates in four primary modes. The mode can be selected using the first control on the toolbar. In the desktop version, tooltips and menu items may refer to these as Sketch, Move, View, and Capture modes, corresponding to the modes described below.

4.1 Edit Mode (Sketch)

PIC

4.2 Transform Mode (Move)

PIC

4.3 Read-Only Mode (View)

PIC

4.4 Capture Mode

Capture mode is currently not supported in the iOS release due to lack of a Tesseract Java library that is native iOS.

PIC

Usually, after initial capture, Edit Mode is used to interactively complete and refine the captured tree or network.

5 Tool Bar Overview

The toolbar provides access to the core functionalities of PhyloSketch:

PIC

5.1 Mode Selection

Select the desired mode (Edit/Sketch, Transform/Move, Read-Only/View, or Capture) using the first item on the toolbar.

5.2 Selection Menu Button

Select nodes or edges based on their properties:

5.3 Run Capture Menu Button

Capture mode is currently not supported in the iOS release due to lack of a Tesseract Java library that is native iOS.

When a background image has been loaded, these items support capturing a tree or network from that image.

Pressing the Run Capture menu button once attempts to locate the root in the background image. Pressing it again performs the capture using the current parameters. Alternatively, use the following menu items explicitly:

Load Image Import an image to use as a background for the network.

Place Root Locate the root in the background image as preparation for network capture.

Capture Phylogeny Extract phylogenetic structure from the image, converting it into a graph representation.

Remove Image Remove the currently loaded background image from the view.

5.3.1 Advanced Capture Items

Capture Labels Use OCR to capture the labels in the background image.

Capture Lines Detect and capture lines from the image, typically used for network reconstruction.

Parameters Open a dialog to configure various settings for network capture (line detection, OCR, thresholds, etc.).

Here is an example of a captured network [Koblmueller et al.2007]:

PIC PIC

5.4 Formatting Button

The formatting button toggles the visibility of the formatting pane described below.

5.5 Other Toolbar Buttons

6 Status Bar

The status bar reports the number of components, roots, nodes, edges, leaves, and the hybridization number h. It also indicates properties such as whether the current object is a network or a tree-based network.

PIC

7 Tools Pane

The tools pane has several panels for formatting nodes and their labels, and edges and their labels, and for changing the structure and layout of the phylogeny.

7.1 Node Style Panel

This panel provides options for customizing the appearance of nodes:

7.2 Node Labels Panel

This panel provides options for labeling nodes:

7.3 Node Labels Formatting Panel

This panel provides options for formatting node labels:

7.4 Edge Style Panel

This panel provides options for customizing the appearance and properties of edges:

7.5 Edge Labels Panel

This panel provides options for managing edge labels, including weights, support values, and probabilities:

7.6 Edge Label Style Panel

This panel provides options for customizing the style and appearance of edge labels:

7.7 Structure

This panel provides options for modifying the structure of the phylogeny:

7.8 Layout

This panel provides options for algorithmic layout of the phylogeny.

There are three choices for layout:

There are three choices for scaling:

The Run button re-runs the layout using the current settings.

7.9 Transform

This panel provides tools for geometric transformations of the displayed phylogenetic tree or network:

8 Working with Nodes and Edges

8.1 Creating Nodes and Edges

8.2 Transforming Nodes and Edges

9 Menus (Desktop only)

9.1 File Menu

The File menu contains the usual file-related items:

9.2 Edit Menu

The Edit menu items are:

9.3 Layout Menu

The Layout menu provides items for customizing the layout and appearance of phylogenetic trees and networks. The following items are available:

9.4 View Menu

The View menu provides items for adjusting the appearance, scaling, and layout of the canvas:

9.5 Window Menu

The Window menu items are:

9.6 Help Menu

The Help menu contains the following items:

10 Combining vs Transfer View

The reticulations in a rooted phylogenetic network can be drawn in two different ways.

By default, reticulations are drawn in a combining view. To obtain a transfer view, select one of the incoming edges and use the Declare Acceptor Edge menu item or button to declare it to be the transfer acceptor edge. If providing the network in extended Newick format, use ##Hi instead of #Hi to indicate which of the incoming edges of the i-th reticulation node is the acceptor edge.

This example shows the (complicated) published drawing of a network (Lescroart et al. [2023], Fig. S12E) and a (simpler) transfer view obtained using the rectangular cladogram algorithm:

PIC
PIC

Here we show a captured hybridization network (Barley et al. [2022], Fig. 2) and a combining view obtained using the rectangular cladogram algorithm:

PIC
PIC

11 Example files

There are several example of image files and PhyloSketch files available online here:

https://github.com/husonlab/phylosketch2/tree/main/examples

12 Advanced features

The layout algorithm for rooted phylogenetic networks and for tanglegrams uses simulated annealing for nodes of large outdegree. The default parameters are: start temperature = 1000, end temperature = 0.01, 1000 iterations per temperature step, cooling rate = 0.95.

We do not expose these parameters in the UI, however, if you really want to change these, then edit the properties file PhyloSketch2.def (its location is system specific, either ~/Library/Preferences/PhyloSketch2.def or ~/.PhyloSketch2.def) and write statements like this:

to change the values to 2000, 1, 100 and 0.8, say, respectively.

13 Support and Feedback

For issues, bug reports, or suggestions, please use the GitHub repository or the apps support page linked there.

14 Third-Party Software

This software uses the Tesseract OCR engine, which is licensed under the Apache License, Version 2.0.

References

   Anthony J. Barley, Adrin NietoMontes de Oca, Norma L. ManrquezMorn, and Robert C. Thomson. The evolutionary network of whiptail lizards reveals predictable outcomes of hybridization. Science, 377(6607):773–777, 2022.

   A. Francis, D.H. Huson, and M.A. Steel. Normalising phylogenetic networks. Molecular Phylogenetics and Evolution, 163, 2021.

   Daniel H. Huson and David Bryant. The SplitsTree App: interactive analysis and visualization using phylogenetic trees and networks. Nature Methods, 2024.

   D.H. Huson. Sketch, capture and layout phylogenies, 2025. Manuscript under review.

   S. Koblmueller, N. Duftner, K. M. Sefc, M. Aibara, M. Stipacek, M. Blanc, B. Egger, and C. Sturmbauer. Reticulate phylogeny of gastropod-shell-breeding cichlids from Lake Tanganyika–the result of repeated introgressive hybridization. BMC Evolutionary Biology, 7:7, 2007. doi: 10.1186/1471-2148-7-7. URL https://doi.org/10.1186/1471-2148-7-7.

   Jonas Lescroart, Alejandra BonillaSánchez, Constanza Napolitano, Diana L. BuitragoTorres, Hctor E. RamrezChaves, Paola PulidoSantacruz, William J. Murphy, Hannes Svardal, and Eduardo Eizirik. Extensive phylogenomic discordance and the complex evolutionary history of the neotropical cat genus leopardus. Molecular Biology and Evolution, 40(12): msad255, December 2023.