subject

In class we wrote the program to find all alignments between a pair of sequences when we add gaps to the shorter sequence. you can find that code on the sample code page. modify this code so that it computes the score for each alignment using the following scoring: match = +1 mismatch = -1 gap = 0 the program should find the optimal alignment(s) and print them with their score. now add two counters and some print statements to your code to count how much work is done by this algorithm to find the optimal alignment. the main units of work in this program are adding a gap to a sequence, and comparisons to compute the score. you may use global variables to store the amount of work that is done. test your result on the following sequences:how much work does the algorithm do on these sequences? note: to use a global variable to represent the amount of work required to insert gaps into the sequences, include the following line of code in each function where you reference the variable:

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:30
My mom and i are moving and we don’t have wifi for the next week, i want to know if using a using a hotspot with unlimited data is better than using regular wifi. i’m considering cost, speed, and data sacrifices.
Answers: 1
question
Computers and Technology, 22.06.2019 16:30
Which of the following statements best describes it careers?
Answers: 2
question
Computers and Technology, 22.06.2019 19:00
Stacy works as blank. the most important soft skill she needs for this role is blank.
Answers: 3
question
Computers and Technology, 23.06.2019 10:50
Your friend kayla is starting her own business and asks you whether she should set it up as a p2p network or as a client-server network. list three questions you might ask to kayla decide which network to use and how her answers to those questions would affect your recommendation.
Answers: 2
You know the right answer?
In class we wrote the program to find all alignments between a pair of sequences when we add gaps to...
Questions
question
History, 16.06.2021 22:00
question
Mathematics, 16.06.2021 22:10
Questions on the website: 13722362