Question: 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,

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!