nwalign and swalign functions
Show older comments
hi, are nwalign and swalign functions requiring the two sequences with same length?
when I run it with two sequences with different length,and although the both sequences are amino acids, I got:
??? Error using ==> nwalign Both sequences must be either amino acids or nucleotides.
1 Comment
Loris Podevyn
on 16 Nov 2021
Edited: Loris Podevyn
on 16 Nov 2021
No, you can use it on sequences of different length.
The problem here is that you are comparing a sequence of nucleotides with a sequence of amino acids. These are not comparable on a seqdotplot.
Answers (0)
Categories
Find more on Sequence Alignment in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!