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

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 dxy = ? 3 4 log 1 ? 4fxy 3 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: fxy = min Dxy L , 0.75 ? 1 L where Dxy 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 = 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!