Repository navigation
Phylogenetic Tree
The Phylogenetic Tree view draws a tree of your sequences, so you can see which sequences are most closely related. Use it to look at clusters of close relatives and at the length of each branch.
To open it, choose View, then Phylogenetic Tree (under Phylogenetics). It needs one of these:
- sequences (a FASTA file)
- a distance matrix
- a Newick tree file, which the view draws as it is
With sequences or a distance matrix, MicrobeTrace builds the tree with the neighbor-joining method. The building runs in the background, with progress and a Cancel button. If some pairs of sequences have no distance, or an infinite one, MicrobeTrace says how many, and places those pairs far apart. Read the branches near them with care.
Each tip is a node, colored by the node color variable. A tip you have selected is outlined. Click a tip to select its node alone. Ctrl-click adds or removes it.
Choose the tree's shape in the settings:
- Type: Tree, Weighted Dendrogram (the default) or Unweighted Dendrogram.
- Layout: Vertical, Horizontal or Circular.
Right-click a branch to open the menu. It has three items:
- Rotate reverses the order of the branches that come straight off that branch.
- Flip reverses the order of all the branches below it.
- Set As Root makes that branch the root.
Tab to the tree. The arrow keys move between tips. Press Enter, the menu key or Shift+F10 on a tip to open the menu, use the arrow keys to choose an item, and press Escape to close it. The Tree menu button (three dots) opens the same menu for the selected tip, or for the root if no tip is selected.
- Tree tab: Layout (Type, Layout, Height and Width), Actions (Simplify, which collapses branches with one descendant, and Consolidate, which collapses branches of zero distance), and Meta (Ruler and Animate).
- Branches tab: the branch shape (Square, Smooth or Straight), branch nodes, Length Labels and their size.
- Leaves tab: the Label and Tooltip variables, leaf shapes, Size By, Node Size, and Colors….
The download button opens Export Phylogenetic Tree. Choose PNG, JPEG, WebP, SVG or Newick (a .nwk file). The Newick file has the tree as it is now, so a rerooted or rotated tree exports rerooted or rotated. The fit button (Center and Scale Phylogenetic Tree) recenters the tree.