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 commentaire

Loris Podevyn
Loris Podevyn le 16 Nov 2021
Modifié(e) : Loris Podevyn le 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.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by