Answered step by step
Verified Expert Solution
Question
1 Approved Answer
3. Write a method to calculate the Jukes-Cantor distance matrix, d, from a set of sequences, where dij is the distance between the ith and
3. Write a method to calculate the Jukes-Cantor distance matrix, d, from a set of sequences, where dij is the distance between the ith and the jth sequences. Recall that the Jukes-Cantor distance for sequences x and y is defined by dzy = -log (1 - 415) where fxy is the fraction of differing sites between x and y. Since we will be dealing with short sequences, use the following definition of fxy so that the distances are well-defined: = min (Pl",0.75 - ) where Dry is the number of differing sites between x and y and L is the length of X. Include a simulated set of sequences of length L = 50 from the tree leaves and corresponding distance matrix in your report for a tree with n= 10, Ne = 100 and mutation parameter ju = 0.0015. 3. Write a method to calculate the Jukes-Cantor distance matrix, d, from a set of sequences, where dij is the distance between the ith and the jth sequences. Recall that the Jukes-Cantor distance for sequences x and y is defined by dzy = -log (1 - 415) where fxy is the fraction of differing sites between x and y. Since we will be dealing with short sequences, use the following definition of fxy so that the distances are well-defined: = min (Pl",0.75 - ) where Dry is the number of differing sites between x and y and L is the length of X. Include a simulated set of sequences of length L = 50 from the tree leaves and corresponding distance matrix in your report for a tree with n= 10, Ne = 100 and mutation parameter ju = 0.0015
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started