Question: Exercise 3. Write a function that computes the entropy of a distribution, and apply it to the k-mer frequencies of the two sequences in the
Exercise 3. Write a function that computes the entropy of a distribution, and apply it to the k-mer frequencies of the two sequences in the data directory, along with the genomic sequence from Exercise 1, for =1,2,3,4,5 , and 6 . To compare between different word lengths, divide the -mer entropy by . For the titin sequence, you should get approximately 1.980,1.955,1.878,1.933,1.919 , and 1.814 respectively. How can you explain the patterns between these entropy drops in the three sequences?
**THIS QUESTION IS USING SAGEMATH 9.2 IN PYTHON**
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
