nwalign and swalign functions

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
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.

Sign in to comment.

Answers (0)

Asked:

on 29 Sep 2011

Edited:

on 16 Nov 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!