Question on alignment
1
0
Entering edit mode
8.2 years ago
freezedry ▴ 30

Hello all. Suppose we have 2 sequences. Sequence A and a longer sequence B.

How does one go about finding a segment of B such that the score of aligning the entire A and that segment is maximized?

I was thinking along the lines of the longest common subsequence. But i think it is incorrect. Since finding the subsequence might lead to the addition of gaps which lowers the score.

Thank you all for your time.

alignment • 1.7k views
ADD COMMENT
0
Entering edit mode

Using local alignment as your title suggests.

ADD REPLY
0
Entering edit mode

Thanks for your suggestion. Hmm.. I think using local alignment might not work as the entire sequence A might not be aligned though.

ADD REPLY
0
Entering edit mode

It doesn't need to be, local alignment doesn't require that the entirety of either of the sequences are used.

ADD REPLY
0
Entering edit mode

Not sure what you are asking honestly. You are asking how to do an alignment? Isn't the answer obviously 'using an alignment algorithm'. Which one exactly to be further specified, just one of

global, global-local, local-global or local?

ADD REPLY
0
Entering edit mode

Have you looked at dot plots?

ADD REPLY
4
Entering edit mode
8.2 years ago
matted 7.8k

It sounds like you want semi-global alignment (also known as "glocal"). You have to align all of A against a portion of B, so global isn't right (all of A against all of B) and local isn't right (some of A against some of B).

The algorithm is a hybrid of global and local alignment, as you might expect. See these lecture notes for more (somewhat randomly selected, but they look pretty good):

ADD COMMENT

Login before adding your answer.

Traffic: 2618 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