How Do I Calculate The Overall Gap Penalty
1
0
Entering edit mode
12.9 years ago
User 5037 ▴ 290

Hi all. Iam trying to calculate the alignment score of these two sequences

A_TAAG_A

A_G____A

match = 1 mismatch = -1 gap opening = -5 gap continuation = -1

no of matches = 2 no of mismatches = 1

how do i calculate gap penalty ? Could someone please help me out

Cant you calculate the alignment score when there are gaps on the same column on both sequences ?

sequence • 11k views
ADD COMMENT
7
Entering edit mode

by the way, a gap is never aligned to a gap in a two-sequence alignment

ADD REPLY
1
Entering edit mode

Your example appears to be improperly aligned.

ADD REPLY
1
Entering edit mode

Technically gaps in the same column could be constituted as a match, but they are also a gap opening penalty. In real alignment scoring you would never place a gap character in the same column in both sequences of a pairwise sequence alignment, you just wouldn't. They are completely meaningless in this context. If I had to calculate the score here I would ignore them.

ADD REPLY
0
Entering edit mode

here the final two A's are matches.

ADD REPLY
0
Entering edit mode

homework example?

ADD REPLY
0
Entering edit mode

ok. Now i edited my question. Yeah its not properly aligned but is it possible to find the alignment score for it ?

ADD REPLY
0
Entering edit mode

@MichaelSchubert Cant you calculate the alignment score when there are gaps on the same column on both sequences ?

ADD REPLY
0
Entering edit mode

I know division by zero is not proper but is it possible?

ADD REPLY
0
Entering edit mode

hey i had this confusion after i played the game pylo. Pylo seemed to calculate the overall alignment score even if there were gaps on the same column.

ADD REPLY
0
Entering edit mode
12.9 years ago
Niklas ▴ 60

Hello there,

since I do not completey understand your example, (why are the A's matches, but not in the same column?) i will simply point you to a set of slides, which I find explain the matter well:

http://www.bioinf.uni-freiburg.de/Lehre/Courses/2010_SS/V_Bioinformatik_1/gap-penalty-gotoh.pdf

They are part of this lecture of Freiburg University in Germany (slides are all in english though)

I hope this helps you in helping yourself ;-)

ADD COMMENT
0
Entering edit mode

Yeah the A on the fist and last column match. I found it difficult to align it with the web browser editor. But somehow now i managed to do it.

ADD REPLY

Login before adding your answer.

Traffic: 3000 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6