Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Administrator Limited Edition

Authors: Martif Way

1st Edition

B0CGG89N8Z

More Books

Students also viewed these Databases questions

Question

Calculate the lifetime value (LTV) of a loyal customer.

Answered: 1 week ago