hw4_pquestion5 - 3 with S c S c → S ∗ c S 3 → S ∗ 3...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
[Answer] The order that strings are aligned to S c doesn’t matter, because introducing spaces in any aligned pair of strings will not change the score of the final alignment. In the center-star method, the multiple alignment is constructed by successively aligning each new string to the center string S c . Consider align- ing 3 strings S 1 , S 2 , and S 3 . Let S 1 be the center string S c . If we align S 2 and S c first, we have: step 1: align S c with S 2 S c → S c S 2 → S 2 . step 2: align S c with S 3 S c → S ′′ c S 3 → S ′′ 3 S 2 → S ′′ 2 If we align S 3 and S c first, we have: step 1: align S
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 3 with S c S c → S ∗ c S 3 → S ∗ 3 . step 2: align S 2 with S ∗ c S ∗ c → S ∗∗ c S 2 → S ∗∗ 2 S ∗ 3 → S ∗∗ 3 Each time we only align a string not yet included in the alignment, we need to add spaces into all aligned strings to pad them up to the same length as the new alignment. The padding rule is that two opposing spaces have zero scores as we consider them a match. That is, the space-padding step does not affect the multiple alignment score. Therefore, the order does not affect the final alignment....
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern