Aaron's ArchiveDNA, RNA & protein toolkit

Aaron's Archive / Tools / Phylogenetic tree maker (UPGMA)

Phylogenetic tree maker (UPGMA)

Paste two or more sequences in FASTA format and the tree maker aligns them, calculates corrected distances, and builds a UPGMA tree. You get the tree, the distance matrix, the merge steps in order and the tree as a Newick string you can open in other software.

Build a tree

What you get

How to use it

  1. Open the Tree tab and paste your sequences as FASTA, one record per sequence.
  2. Build the tree.
  3. Read the clusters from the tips inward, and copy the Newick string if you need it elsewhere.

Worked example

Four short sequences, A to D, in FASTA:

>A
ATGGCTAAGCTTGAATTC
>B
ATGGCTAAGCTAGAATTC
>C
ATGGCCAAGCTAGAGTTC
>D
ATGACCAGGTTAGAGTTA

The tree comes out as the Newick string:

(D:0.20876,(C:0.07719,(A:0.02886,B:0.02886):0.04833):0.13157);

A and B are the closest pair and join first; C joins next and D is the outermost branch.

Limits to know about

Common questions

What is UPGMA?

A method that repeatedly joins the two closest groups and averages the distances. The phylogenetics guide walks through it step by step.

What is a Newick string?

A compact text format for a tree: nested brackets for groups and numbers for branch lengths. Most tree viewers can read it.

Do the sequences need to be aligned first?

No. The tool aligns them for you before it measures distances.

Are my sequences stored?

No. Sequences are processed in memory to produce your result and are not stored or logged. The privacy policy has the details, including what BLAST sends to NCBI and EMBL-EBI.

Learn the idea behind it

Build a tree

More tools