Compare Two Sequence To Find The Maximum Similarity
2
0
Entering edit mode
13.8 years ago
Love ▴ 100

We know BLAST can compare two sequences, however it compares sequences by lining up them. My question is can we shift one sequence then compare the other. Let me give you a simple example:the length is 15

GTTCCTAGTCTAGAC
TCCTAGTCTAGACTT

If we shift it and compare

GTTCCTAGTCTAGAC
  |||||||||||||
  TCCTAGTCTAGACTT

Then there are 11 letters hit, we define the score by 11/15=73%. Of course, we can shift to whatever we want. How to find the max score? Is there such a software to do it? Thanks.

sequence blast • 5.3k views
ADD COMMENT
1
Entering edit mode

I think you need to read up on the concepts of global and local alignments, also BLAST does not do what you claim, it does not compare sequences, look up what the acronym stands for, http://en.wikipedia.org/wiki/Sequence_alignment#Global_and_local_alignments

ADD REPLY
0
Entering edit mode

With the above example, you are talking about sequence identity not similarity.

ADD REPLY
0
Entering edit mode

Istvan is correct - strictly speaking BLAST does not compare two sequences. It is possible to align two sequences with BLAST - see Bl2Seq at http://blast.ncbi.nlm.nih.gov/Blast.cgi. Nonetheless, BLOAST is not a reliable tool for the goal you have in mind.

ADD REPLY
4
Entering edit mode
13.8 years ago

what about using a simple Smith & Waterman algorithm ? e.g: emboss water

ADD COMMENT
0
Entering edit mode

This is exactly how I would approach this.

ADD REPLY
0
Entering edit mode

I think that the goal is to propose a method, not to use an available one.

ADD REPLY
0
Entering edit mode

OK, so run SW iteratively shifting the query or alignment to the n+1 position with each successive comparison. There, method and tool are now together.

ADD REPLY
3
Entering edit mode
13.8 years ago
Woa ★ 2.9k

Matching by shifting can't handle internal gaps(Indels), they can put gaps only at the extremities of the sequences

ADD COMMENT
0
Entering edit mode

neither substitution, sequencing errors, homology...

ADD REPLY

Login before adding your answer.

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