PhyloSketch App User Manual

Daniel H. Huson
University of Tuebingen

Version 2.1.2-beta, March 26, 2025

Contents

1 Introduction
2 Installation
3 Getting Started
4 Modes Overview
 4.1 Edit Mode
 4.2 Transform Mode
 4.3 Read-Only Mode
 4.4 Capture Mode
5 Tool Bar Overview
 5.1 Mode Selection
 5.2 Import Button
 5.3 Files Menu Button (Desktop version only)
 5.4 Selection Menu Button
 5.5 Topology and Layout Menu Button
 5.6 Formatting button
 5.7 Capture Menu Button
 5.8 Other Toolbar Buttons
6 Status Bar
7 Formatting 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 Edit Topology Panel
8 Working with Nodes and Edges
 8.1 Creating Nodes and Edges
 8.2 Transforming Nodes and Edges
9 Menus (Non-Mobile App 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 Tips and Best Practices
11 Support and Feedback
12 Known Issues

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 Mac OS, 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), a previous program which was introduced in [Francis et al.2021]. The program uses some of the same code as our SplitsTree app [Huson and Bryant2024].

2 Installation

3 Getting Started

When you first open PhyloSketch, youll be presented with a canvas containing a simple example tree. Modify the 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, and various editing tools.

4 Modes Overview

PhyloSketch operates in four primary modes:

4.1 Edit Mode

PIC

4.2 Transform Mode

PIC

4.3 Read-Only Mode

PIC

4.4 Capture Mode

PIC

5 Tool Bar Overview

The toolbar provides access to the core functionalities of PhyloSketch:

PIC

5.1 Mode Selection

Select the desired mode (Edit, Transform, or Read-Only) using the first item on the toolbar.

5.2 Import Button

5.3 Files Menu Button (Desktop version only)

Access file-related options, including creating, opening, and managing recent files. Not available in the mobile app.

5.4 Selection Menu Button

Select nodes or edges based on their properties:

5.5 Topology and Layout Menu Button

Outlines Toggle the display of outlines around network elements.

Rotate Left Rotate the entire phylogenetic network counterclockwise by 90 degrees.

Rotate Right Rotate the entire phylogenetic network clockwise by 90 degrees.

Flip Horizontal Reflect the phylogenetic network horizontally across its vertical axis.

Flip Vertical Reflect the phylogenetic network vertically across its horizontal axis.

Resize Mode Enable interactive resizing of the network while maintaining structure.

Layout Labels Adjust the positioning of node labels to improve readability and avoid overlaps.

Rectangular Layout Arrange the phylogenetic network in a rectangular layout for better visualization.

Circular Layout Rearrange the network into a circular configuration to emphasize relationships.

Merge Nodes Combine selected nodes into a single node, preserving connectivity.

Remove Thru Nodes Eliminate intermediate nodes that have in-degree one and out-degree one, simplifying the network.

Reverse Edges Reverse the direction of selected edges while maintaining network integrity.

Fix Crossing Edges For any selected node of degree for, replaces the node by two crossing edges.

Declare Root Designate a specific node as the root of the phylogenetic network, redirecting edges where necessary.

Declare Transfer Acceptor Declare a edge as the recipient of a horizontal gene transfer event. There can be at most one such edge per reticulation node.

Induce Generate the subnetwork induced by a selected subset of nodes.

5.6 Formatting button

This toggles the appearance of the formatting panels described below.

5.7 Capture Menu Button

When a background image has been loaded, use these items to capture a tree or network from the image.

Press the menu button once to locate the root in the background image. Press again to perform capture. Alternatively, use the following menu items.

Parameters... Open a dialog to configure various settings for network capture.

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

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

Place Root In preparation of network capture from the background image, locate the root.

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

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

Capture Phylogeny Extract phylogenetic structures from the image, converting them into a graph representation.

Here is an example of a captured network:

PIC

5.8 Other Toolbar Buttons

6 Status Bar

Reports the number of components, roots, nodes, edges, leaves, and the hybridization number h. Also indicates properties like ‘network‘ or ‘tree-based network‘.

PIC

7 Formatting Pane

The formatting pane has several panels for formatting nodes and their labels, and edges and their labels.

7.1 Node Style Panel

This panel provides options for customizing the appearance of nodes. The following items are available:

7.2 Node Labels Panel

This panel provides options for labeling nodes. The following items are available:

7.3 Node Labels Formatting Panel

This panel provides options for formatting node labels. The following items are available:

7.4 Edge Style Panel

This panel provides options for customizing the appearance and properties of edges. The following items are available:

7.5 Edge Labels Panel

This panel provides options for managing edge labels, including weights, support values, and probabilities. The following items are available:

7.6 Edge Label Style Panel

This panel provides options for customizing the style and appearance of edge labels. The following items are available:

7.7 Edit Topology Panel

This panel provides options mainly for modifying the topology of the tree or network:

8 Working with Nodes and Edges

8.1 Creating Nodes and Edges

8.2 Transforming Nodes and Edges

9 Menus (Non-Mobile App Only)

9.1 File Menu

The usual file-related menu item:

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. The following items are available:

9.5 Window menu

The Window menu items are:

9.6 Help Menu

The Help menu contains the following items:

10 Tips and Best Practices

11 Support and Feedback

For issues or suggestions, reach out via the GitHub repository or the apps support page.

12 Known Issues

References

   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.