This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Recovering Positions Of Identical Matches From Multiple/ Pairwise Sequence Alignment

I would like to do a pairwise/multiple sequence alignment for a gene from two/three species and then record in a separate file the exact positions of perfect identity between the sequences. Is there a tool that does this already? Or is there any option in blast/clustal that could help in recovering this information ?

Will be very thankful for your time and responses.

sequence analysis msa blast

1 answer

BLAT can return exact matches, by filtering for results where the query and target sizes (sequence lengths) match. Perhaps you could do an EMBOSS Needle alignment with a very high gap penalty (to help push down gapped alignment results) and then use BLAT to do the sequence position lookup on aligned results.

Thanks for the answer! Any particular reason you recommend EMBOSS Needle over blast with similarly high gap penalty?

I think a local alignment (e.g., BLAST) won't always give you the edges of the query sequence in a search match, but global (e.g., Needleman-Wunsch) will. Because you want an exact match, you probably want those edges to match, too.

Log in to answer this question.