Question: C++ 1. Implement a Ce+ function to compute the score of a multiple sequence alignment using Entropy methocd (incorporate gaps) and also output the profile

C++  C++ 1. Implement a Ce+ function to compute the score of

1. Implement a Ce+ function to compute the score of a multiple sequence alignment using Entropy methocd (incorporate gaps) and also output the profile of the alignment. Note that your function should be able detect the number of sequences and the alignment length in the multiple alignment. The alignment should be read from a text file. Note that pxlog:px is O if py is O. [100 points] ACC ACT Output should be Alignment profile: A 4 1 1 TOO GO0 C03 Entropy score is 2.811 Test Case 2 ACC ACG Output should be Alignment profile A 41 TOO GO0 C031 - 002 Entropy score is 2.311 Test Case 3 GGTAA Output should be A1ignment profile: A 0 0 0 2 2 T001O0 G 33 200 C00010 -00001 Entropy score is 2.755

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!