For example: if 4 sequences are there, pairwise comparisons done between
these groups (1,1), (1,2), (1,3), (1,4), (2,2), (2,3), (2,4) and (3,3), (3,4) and (4,4)
(1,1), (2,2), (3,3) and (4,4) – distance is zero
(1,2), (1,3), (1,4), (2,3), (2,4), (3,4) – the distance (less number of changes)
can be measured.
Find the closest clusters
If (1,3) are having the less number of changes means then that two will be
clustered.
The branch length distance will be calculated by taking the average distance.
Ex: If the number of changes between the two sequences is 7 means, the
branch length for the two taxa is 3.5 and 3.5.
With the (1,3) clusters, the comparison will be proceed with 2 and 4.
With 2, the comparison [(2,1) and (2,3)] and with 4, the comparison [(4,1) and
(4,3)] . Find the average for the joint pair.
This process is repeated until all the sequences are clustered.