algorithm research project neighbor joining

17
Neighbor Joining Jay Mehta CSC 6520 Instructor :- Dr. Alex Zelikovsky

Upload: jay-mehta

Post on 23-Jan-2017

125 views

Category:

Education


0 download

TRANSCRIPT

Page 1: Algorithm research project neighbor joining

Neighbor Joining

Jay MehtaCSC 6520

Instructor :- Dr. Alex Zelikovsky

Page 2: Algorithm research project neighbor joining

Distance Matrix Methods ?• These are methods which are used for building phylogenetic trees.• These methods rely on genetic distances to form a tree.• Neighbor Joining method is one of the Distance Matrix methods.

Page 3: Algorithm research project neighbor joining

Some examples of Phylogenetic/

Evolutionary Trees

Page 4: Algorithm research project neighbor joining

Example:-

Page 5: Algorithm research project neighbor joining

One More Example:-

Page 6: Algorithm research project neighbor joining

Last Example:-

Page 7: Algorithm research project neighbor joining

Uses:-The neighbor-joining method allows scientists to calculate when different species, or variations within a species, diverged by analyzing differences on a molecular level.

Page 8: Algorithm research project neighbor joining

The Neighbor Joining Algorithm

Page 9: Algorithm research project neighbor joining

Input Output• Species represented as Points.

• Distance Matrix.

• Evolutionary Tree which can also be called a Resolved Tree.

Page 10: Algorithm research project neighbor joining

Additive MetricThe algorithm is based on the assumption that we are dealing with additive trees. An additive tree means a tree where

the distance between nodes 1 and 2 =

the distance between node 1 and node X +

the distance between node 2 and node X

Page 11: Algorithm research project neighbor joining

Least Square Objective (NP-complete)

• Real world observed distances between the species.• Calculated Distance over the phylogenetic tree.• Objective Minimizing

Our objective is to find a tree and branch lengths minimizing the least squares residual. This is definitely a NP-complete problem.

𝑆=∑𝑖𝑗

(𝐷𝑖𝑗−𝑇 𝑖𝑗 )2

Page 12: Algorithm research project neighbor joining

Step 1:-• Modify the input distance matrix using this equation.

Page 13: Algorithm research project neighbor joining

Next Steps:-• Find the pair of points (taxa) for which has lowest value.• Connect the two nodes using a new node. Give it a new label.• Calculate distances from the new node to existing taxa.• Distance of the new node from the pair nodes.

• Distance of outside taxa from the new node.

Page 14: Algorithm research project neighbor joining

Next Steps…

+ =

Using the formulas mentioned in the previous slide calculate the distances and the new matrix.

Repeat the steps.

Page 15: Algorithm research project neighbor joining

Algorithm Analysis:-

𝑂 (𝑛3)

Page 16: Algorithm research project neighbor joining

Implementations• RapidNJ• NINJA• BIONJ• Weighbor

Page 17: Algorithm research project neighbor joining

Thank You