Can you force two sequences to align with pairwise alignment?
1
0
Entering edit mode
2.4 years ago
msening • 0

Hi, so my question is actually about finding matches between two sequences, one is fixed, the other one is from a library of sequence database. I am trying to match a sequence (A) with sequences from the library (B) and find if sequence A can be found in library B. If I can, I will mark the sequence from B that matches with A. The reason I want to ask if you can force alignments with pairwise alignment is that I am thinking to use pairwise alignment between A and sequences from B. If you can force them to align, I think it might not be a wise choice to map them with pairwise alignment. Or if I can filter out how much mismatch rate I want, it could be a good way to find the matches.

Thank you so much!

R pairwise alignment • 1.2k views
ADD COMMENT
1
Entering edit mode

You will want to use an aligner that does global alignments (keep in mind blast does local alignments). What is the size of these sequences? That may influence recommendation of the program.

Not sure why this is tagged with R.

ADD REPLY
0
Entering edit mode

I was trying to do this in R, but if there is anything that can work well with it, it would be great!

I currently have 3000 sequences that I want to align against each other. The thing is that I would want to take a small chunk of one sequence and take that as A, and then align it to every sequence in library B. By doing this in R, it takes a long time to run, I am just wondering if there is any way to speed up the process.

ADD REPLY
0
Entering edit mode

blast?

ADD REPLY
0
Entering edit mode

I think blast might not be that useful for my purpose since it is more useful for multiple sequence alignment? Because I am looking to compare two sequences separately and move on to the next one in library B as I want to find out where the match starts in the sequence from library B (which I didn't say this in the original post). Could you elaborate more if I missed anything?

Edit: Actually you know what, I think I could do pairwise alignment multiple times and filter out those whose scores are not desirable (which I need to try out myself to see what kinds of score is not desirable). Thank you for suggesting BLAST tho!

ADD REPLY
0
Entering edit mode
ADD COMMENT

Login before adding your answer.

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