Find a longest common subsequence (LCS) of two DNA sequences and fill the following table using the method described in the course. S1= CGATAG S2=GCATA G A T A G C A A Remember: When you fill in a...


Find a longest common subsequence (LCS) of two DNA sequences and fill the<br>following table using the method described in the course.<br>S1= CGATAG S2=GCATA<br>G<br>A<br>T<br>A<br>G<br>C<br>A<br>A<br>Remember:<br>When<br>you<br>fill in a cell, you consider:<br>1.<br>The cell directly to the left of it<br>2.<br>The cell directly above it<br>The cell to the above-left of it. The three values below correspond, respectively, to<br>the values returned by the three recursive subproblems I listed earlier.<br>3.<br>4.<br>V1 = the value in the cell to the left<br>5.<br>V2 = the value in the cell above<br>6.<br>V3 = the value in the cell to the above-left<br>You fill in the empty cell with the maximum of these three numbers:<br>V1, V2, V3 + 1 if C1 equals C2, or V3 if C1 is not equal to C2, where C1 is the character<br>above the current cell and C2 is the character to the left of the current cell<br>Note that, add arrows that point back to which of those three cells that been used to<br>get the value for the current cell. In the case of equal numbers, where the new number<br>could have come from more than one cell, pick an arbitrary one: the one to the above-<br>left, say have more priority than the one comes from left than the one comes from<br>above.<br>

Extracted text: Find a longest common subsequence (LCS) of two DNA sequences and fill the following table using the method described in the course. S1= CGATAG S2=GCATA G A T A G C A A Remember: When you fill in a cell, you consider: 1. The cell directly to the left of it 2. The cell directly above it The cell to the above-left of it. The three values below correspond, respectively, to the values returned by the three recursive subproblems I listed earlier. 3. 4. V1 = the value in the cell to the left 5. V2 = the value in the cell above 6. V3 = the value in the cell to the above-left You fill in the empty cell with the maximum of these three numbers: V1, V2, V3 + 1 if C1 equals C2, or V3 if C1 is not equal to C2, where C1 is the character above the current cell and C2 is the character to the left of the current cell Note that, add arrows that point back to which of those three cells that been used to get the value for the current cell. In the case of equal numbers, where the new number could have come from more than one cell, pick an arbitrary one: the one to the above- left, say have more priority than the one comes from left than the one comes from above.

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here