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 Kommentar

Loris Podevyn
Loris Podevyn am 16 Nov. 2021
Bearbeitet: Loris Podevyn am 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Gefragt:

am 29 Sep. 2011

Bearbeitet:

am 16 Nov. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by