Question: Consider this completely hypothetical alignment situation. You are given two strings and you need to align them based on the following penalty rules: Substituting a

Consider this completely hypothetical alignment situation. You are given two strings and you need to align them based on the following penalty rules:
Substituting a vowel with itself (no change, same vowel): Score of +1
Substituting a consonant with itself (no change, same consonant):
Score of +3
Substituting a vowel for another vowel: Score of zero (0).
Substituting a consonant for another consonant: Score of -2
Substituting a vowel for a consonant or vice versa: Score of -4
Gap penalty: -3
Apply these rules and the Needleman Wunsch algorithm to align the two strings.
Consider this completely hypothetical alignment

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 Programming Questions!