The first input of multialign is a collection of sequences to be aligned, this can be:
1) an array of structures with the "Sequence" and "Header" fields e.g.
>> seqs(1).Header = 'm157k10aa';
>> seqs(1).Sequence = 'TYNYMRQLVVDVVITNHYSV';
>> seqs(2).Header = 'm157g1faa';
>> seqs(2).Sequence = 'FATYFSPGFDPAQARTFEVAHG';
>> seqs(3).Header = 'm157g1baa';
>> seqs(3).Sequence = 'SSDIHMPSQFFDNIVEKCSQLFWVL';
2) just a cell array of strings (incase you do not care about the header names), e.g.
>> seqs2{1} = 'TYNYMRQLVVDVVITNHYSV';
>> seqs2{2} = 'FATYFSPGFDPAQARTFEVAHG';
>> seqs2{3} = 'SSDIHMPSQFFDNIVEKCSQLFWVL';
Usually you do not build these collections manually, for example the function FASTAREAD will return an array of structures if one file contains all your sequences.
Note that in my examples I made the aminoacid sequences up, your strings do not look like real aa, they look more like the header.
It may also be possible that you have one sequence per FASTA file and you have already done somethingh similar to this:
>> m157k10aa = fastaread('m157k10aa.fa')
Then you only need to build an structure array from the individual structures:
>> seqs3 = [m157k10aa,m157g1faa,m157g1baa]
HTH Lucio
Best Answer