Charging for gap openings and extensions

A researcher compares two candidate global alignments before using the sequences in an evolutionary analysis. A dash represents a gap, and each vertical column is one aligned position.


Two candidate global alignments show the same reference and query DNA sequences with different gap placements.


An identical nucleotide pair earns 2 points, and a nonidentical nucleotide pair earns −1 point. An affine gap penalty charges separately for opening a contiguous gap run and extending it. Here, a run of length LL incurs a penalty of 4+(L−1)4+(L-1) points. Terminal gaps incur the same penalties as internal gaps. A nucleotide opposite a gap receives only the gap penalty, with no additional mismatch penalty.


Thus, the total score is


S=2M−X−∑j=1r[4+(Lj−1)],S=2M-X-\sum_{j=1}^{r}\left[4+(L_j-1)\right],


where MM is the number of identical nucleotide pairs, XX is the number of nonidentical nucleotide pairs, rr is the number of gap runs across both rows, and LjL_j is the length of run jj.


Calculate the total score for each candidate alignment. Report both answers in score points, rounded to the nearest integer.

Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Bioinformatics and Molecular Evolution Questions: