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, 21.06.2019 20:00
If you embed a word table into powerpoint, what happens when you make edits to the embedded data? a. edits made to embedded data change the data in the source file; however, edits made to the source file will not be reflected in the embedded data. b. edits made to embedded data don't change the data in the source file; however, edits made to the source file will be reflected in the embedded data. c. edits made to embedded data don't change the data in the source file, nor will edits made to the source file be reflected in the embedded data. d. edits made to embedded data will change the data in the source file, and edits made to the source file will be reflected in the embedded data.
Answers: 1
question
Computers and Technology, 22.06.2019 04:30
Ryan is working on the layout of her web page. she needs to figure out where her header, navigation bar, text, and images should go. what technique can her?
Answers: 1
question
Computers and Technology, 23.06.2019 02:00
Which demographic challenge is europe currently experiencing? a. an aging and decreasing population b. a baby boomc. an unequal distribution between males and females d. a large group of teenagers moving through the school system(i chose a but i'm unsure)
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
What would be the address of the cell, which is at the intersection of the second row and the third column in a worksheet?
Answers: 1
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
Mathematics, 04.01.2021 04:00
question
Geography, 04.01.2021 04:00
question
Mathematics, 04.01.2021 04:00
question
Mathematics, 04.01.2021 04:10
Questions on the website: 13722367