SlideShare a Scribd company logo
9
Most read
12
Most read
13
Most read
Neighbor Joining
Jay Mehta
CSC 6520
Instructor :- Dr. Alex Zelikovsky
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.
Some examples of
Phylogenetic/ Evolutionary Trees
Example:-
One More Example:-
Last Example:-
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.
The Neighbor Joining
Algorithm
Input Output
• Species represented as Points.
• Distance Matrix.
• Evolutionary Tree which can also
be called a Resolved Tree.
Additive Metric
The 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
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
Step 1:-
• Modify the input distance matrix using this equation.
𝑄 𝑖, 𝑗 = 𝑛 − 2 ∗ 𝑑 𝑖, 𝑗 −
𝑘=1
𝑛
𝑑 𝑖, 𝑘 −
𝑘=1
𝑛
𝑑 𝑗, 𝑘 )
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.
Next Steps…
+ =
Using the
formulas
mentioned in the
previous slide
calculate the
distances and the
new matrix.
Repeat the steps.
Algorithm Analysis:-
• 𝑂(𝑛3)
Implementations
• RapidNJ
• NINJA
• BIONJ
• Weighbor
Thank You

More Related Content

PPTX
Distance based method
PPT
Phylogenetic trees
PPTX
PHYLOGENETIC ANALYSIS_CSS2.pptx
PPTX
Phylogenetic Tree evolution
PPTX
clustal omega.pptx
PPTX
PPTX
Multiple sequence alignment
PPTX
Tree building
Distance based method
Phylogenetic trees
PHYLOGENETIC ANALYSIS_CSS2.pptx
Phylogenetic Tree evolution
clustal omega.pptx
Multiple sequence alignment
Tree building

What's hot (20)

DOCX
Open Reading Frames
PPTX
Sequence alignment
PPT
RNA secondary structure prediction
PPTX
Uni prot presentation
PPTX
YEAST TWO HYBRID SYSTEM
PDF
Nucleic Acid Sequence databases
PDF
Phylogenetic analysis
PPT
RNA structure analysis
PPTX
Whole genome shotgun sequencing
PPTX
PPT
Phylogenetic analysis
PPTX
Scoring matrices
PPTX
blast bioinformatics
PPTX
Sequenced taged sites (sts)
PPTX
BLAST (Basic local alignment search Tool)
PPTX
Introduction to sequence alignment partii
PPTX
Illumina Sequencing
PPTX
protein data bank
Open Reading Frames
Sequence alignment
RNA secondary structure prediction
Uni prot presentation
YEAST TWO HYBRID SYSTEM
Nucleic Acid Sequence databases
Phylogenetic analysis
RNA structure analysis
Whole genome shotgun sequencing
Phylogenetic analysis
Scoring matrices
blast bioinformatics
Sequenced taged sites (sts)
BLAST (Basic local alignment search Tool)
Introduction to sequence alignment partii
Illumina Sequencing
protein data bank
Ad

Similar to Algorithm research project neighbor joining (20)

PDF
EVE161: Microbial Phylogenomics - Class 4 - Phylogeny
PPT
Plant Molecular Systematics Phylogenetics.ppt
PPT
phylogenetics (1)...............................ppt
PPT
distance based phylogenetics-methodology
PDF
A COMPARATIVE ANALYSIS OF PROGRESSIVE MULTIPLE SEQUENCE ALIGNMENT APPROACHES
PDF
A COMPARATIVE ANALYSIS OF PROGRESSIVE MULTIPLE SEQUENCE ALIGNMENT APPROACHES ...
PDF
A COMPARATIVE ANALYSIS OF PROGRESSIVE MULTIPLE SEQUENCE ALIGNMENT APPROACHES ...
PDF
International Journal of Computer Science and Security Volume (2) Issue (5)
PDF
FINE GRAIN PARALLEL CONSTRUCTION OF NEIGHBOUR-JOINING PHYLOGENETIC TREES WITH...
PPT
Phylogenetics1
PPTX
PPTX
human phylogetic contrution of evolution tree.pptx
PPTX
Phylogenetic tree construction
PPTX
Tools in phylogeny
PPTX
BTC 506 Phylogenetic Analysis.pptx
PPTX
Presentation about phylogenetic tree and its construction methods.
PPTX
Bioinformatics presentation shabir .pptx
PPTX
Msa & rooted/unrooted tree
PPT
6238578.ppt
PPTX
Upgma
EVE161: Microbial Phylogenomics - Class 4 - Phylogeny
Plant Molecular Systematics Phylogenetics.ppt
phylogenetics (1)...............................ppt
distance based phylogenetics-methodology
A COMPARATIVE ANALYSIS OF PROGRESSIVE MULTIPLE SEQUENCE ALIGNMENT APPROACHES
A COMPARATIVE ANALYSIS OF PROGRESSIVE MULTIPLE SEQUENCE ALIGNMENT APPROACHES ...
A COMPARATIVE ANALYSIS OF PROGRESSIVE MULTIPLE SEQUENCE ALIGNMENT APPROACHES ...
International Journal of Computer Science and Security Volume (2) Issue (5)
FINE GRAIN PARALLEL CONSTRUCTION OF NEIGHBOUR-JOINING PHYLOGENETIC TREES WITH...
Phylogenetics1
human phylogetic contrution of evolution tree.pptx
Phylogenetic tree construction
Tools in phylogeny
BTC 506 Phylogenetic Analysis.pptx
Presentation about phylogenetic tree and its construction methods.
Bioinformatics presentation shabir .pptx
Msa & rooted/unrooted tree
6238578.ppt
Upgma
Ad

Recently uploaded (20)

PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
01-Introduction-to-Information-Management.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Lesson notes of climatology university.
PPTX
GDM (1) (1).pptx small presentation for students
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
RMMM.pdf make it easy to upload and study
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Classroom Observation Tools for Teachers
PDF
Basic Mud Logging Guide for educational purpose
Microbial diseases, their pathogenesis and prophylaxis
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
01-Introduction-to-Information-Management.pdf
human mycosis Human fungal infections are called human mycosis..pptx
Final Presentation General Medicine 03-08-2024.pptx
Lesson notes of climatology university.
GDM (1) (1).pptx small presentation for students
FourierSeries-QuestionsWithAnswers(Part-A).pdf
102 student loan defaulters named and shamed – Is someone you know on the list?
VCE English Exam - Section C Student Revision Booklet
O5-L3 Freight Transport Ops (International) V1.pdf
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
RMMM.pdf make it easy to upload and study
STATICS OF THE RIGID BODIES Hibbelers.pdf
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Microbial disease of the cardiovascular and lymphatic systems
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Classroom Observation Tools for Teachers
Basic Mud Logging Guide for educational purpose

Algorithm research project neighbor joining

  • 1. Neighbor Joining Jay Mehta CSC 6520 Instructor :- Dr. Alex Zelikovsky
  • 2. 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.
  • 3. Some examples of Phylogenetic/ Evolutionary Trees
  • 7. 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.
  • 9. Input Output • Species represented as Points. • Distance Matrix. • Evolutionary Tree which can also be called a Resolved Tree.
  • 10. Additive Metric The 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
  • 11. 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
  • 12. Step 1:- • Modify the input distance matrix using this equation. 𝑄 𝑖, 𝑗 = 𝑛 − 2 ∗ 𝑑 𝑖, 𝑗 − 𝑘=1 𝑛 𝑑 𝑖, 𝑘 − 𝑘=1 𝑛 𝑑 𝑗, 𝑘 )
  • 13. 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.
  • 14. Next Steps… + = Using the formulas mentioned in the previous slide calculate the distances and the new matrix. Repeat the steps.