How to use PhyloCloud to store, annotate, and visualise phylogenetic trees.
PhyloCloud accepts phylogenetic trees in three formats. All trees are validated and parsed using the ETE4 library before storage.
.nwk.nhx.eteAnnotations attach typed properties to tree leaves. Open any tree and click Annotate to start the annotation wizard.
The primary annotation input is a tab-separated values (TSV) file. The first column must be the leaf name (matching names in the Newick). Remaining columns become properties.
name taxonomy genome_size is_pathogen pfam_count
Ecoli_K12 Bacteria;Proteobacteria;Gammaproteobacteria 4641652 true 312
Bsubtilis Bacteria;Firmicutes;Bacilli 4215606 false 289
Scerevisiae Eukaryota;Fungi;Saccharomycetes 12157105 false 1024
| Type | Description | Example values | Layouts available |
|---|---|---|---|
| categorical | Discrete string categories | Bacteria, Fungi, Archaea | Text labels, Symbol, Categorical frequency |
| numeric | Integer or float scalar value | 4641652, 3.14 | Heatmap, Bar plot, Dot matrix, Gradient text, Branch colour |
| boolean | Bit-packed presence/absence matrix | true / false / 0 / 1 | PA matrix, Presence count |
| num_array | Comma-separated numeric vector per leaf | 0.1,0.4,0.9,0.2 | Heatmap, Dot matrix, Range bar |
| free_text | Arbitrary text string | Gene function description… | Text labels |
| taxonomy | Semicolon-delimited lineage string | Bacteria;Proteobacteria;… | Taxonomy (majority-vote colouring) |
| sequence | Aligned or unaligned amino-acid / nucleotide sequence | MKVLQALGD… | Sequence (SeqFace) |
| pfam | Pfam domain hit table (TSV with start, end, accession columns) | separate file upload | Domain track |
Additional input files can be attached per annotation run:
A categorical property can be expanded into a binary presence/absence (PA) matrix. Each unique category value becomes a boolean column: 1 if the leaf belongs to that category, 0 otherwise.
name phylum
Ecoli Proteobacteria
Bsubtilis Firmicutes
Hpylori Proteobacteria
name Proteo Firm
Ecoli 1 0
Bsubtilis 0 1
Hpylori 1 0
To expand a property:
Leaf annotations are propagated to internal nodes using a postorder traversal. Each internal node receives a summary value computed from its descendant leaves. This makes it possible to colour and visualise clades, not just leaves.
| Method | Applies to | Result on internal node |
|---|---|---|
mean | numeric | Average of all descendant leaf values |
min / max | numeric | Minimum or maximum among descendants |
freq | categorical | Frequency dict of category counts (used for pie/bar layouts) |
any | boolean | 1 if any descendant is true |
all | boolean | 1 only if every descendant is true |
stderr | numeric | Standard error across descendant values |
Propagation runs automatically after every annotation job. Propagated properties appear in the Annotations panel with a Propagated label and can be selected in any layout that supports internal node rendering.
Collections group related trees for a project, publication, or dataset. A tree can belong to multiple collections simultaneously.
Each tree has a visibility setting:
Toggle visibility from the tree list using the Public switch, or from the tree detail page via the Share button.
The viewer renders trees using ETE4 SmartView — a WebGL-accelerated phylogenetic viewer that handles trees with hundreds of thousands of leaves without performance degradation.
The layout editor lets you attach annotation panels to the tree — one panel per property. Open it by clicking Layout Editor below the viewer. Changes are applied live without reloading the page.
Drag panels to reorder them. Click the icon to remove one. Click Save config to store the current setup as a named preset you can reload later.
Propagated properties appear in the property selector with a Propagated tag. They can be used in any layout that renders internal nodes:
freq-propagated version of a categorical property to draw pie or bar charts on internal nodes, showing the distribution of categories within each clade.mean-propagated numeric properties to colour internal nodes by average descendant value.any-propagated boolean properties to fill cells on internal nodes when at least one descendant is positive.Every tree can be exported in multiple formats from the tree list () or the tree detail page.
| Format | Contents | Use case |
|---|---|---|
.nwk Newick |
Topology + branch lengths only | Input to external phylogenetic tools (RAxML, IQ-TREE, etc.) |
.ete ETE binary |
Full annotated tree including all properties | Re-upload to PhyloCloud; load locally with ETE4 |
.nhx NHX |
Topology + key/value properties in NHX format | Import into tools that support NHX annotations |
.tsv TSV |
Leaf property table (all annotated columns) | Analysis in R, Python, spreadsheet tools |