| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Bioinformatics Toolbox |
| Contents | Index |
| Learn more about Bioinformatics Toolbox |
multialignwrite(File, Alignment)
multialignwrite(..., 'Format', FormatValue,
...)
multialignwrite(..., 'Header', HeaderValue,
...)
multialignwrite(..., 'WriteCount', WriteCountValue,
...)
multialignwrite(File, Alignment) writes the contents of an alignment to a ClustalW ALN-formatted (default) or MSF-formatted file.
multialignwrite(..., 'PropertyName', PropertyValue, ...) calls multialignwrite with optional properties that use property name/property value pairs. You can specify one or more properties in any order. Enclose each PropertyName in single quotation marks. Each PropertyName is case insensitive. These property name/property value pairs are as follows:
multialignwrite(..., 'Format', FormatValue,
...) specifies the format of the file. FormatValue can
be 'ALN' (default) or 'MSF'.
multialignwrite(..., 'Header', HeaderValue, ...) specifies the first line of the file. The default for HeaderValue is 'MATLAB multiple sequence alignment'.
multialignwrite(..., 'WriteCount', WriteCountValue, ...) specifies whether to add the residue counts to the end of each line. WriteCountValue can be true (default) or false.
Alignment |
An alignment, such as returned by the multialign function, represented by either a:
| |
File |
String specifying either a file name or a path and file name for saving the data. If you specify only a file name, the file is saved to the MATLAB Current Folder browser.
Below the columns of the ClustalW ALN-formatted file, symbols can appear that denote:
For more information on these symbols, see http://www.ebi.ac.uk/help/formats.html#aln. For more information on the groups of residues considered conserved and semiconserved, see section 12 in "Changes since version 1.6" at http://web.mit.edu/clustalw_v1.83/README. | |
FormatValue |
String that specifies the format of File. Choices are 'ALN' (default) or 'MSF'. | |
HeaderValue |
String that specifies the first line of the file.
Default: 'MATLAB multiple sequence alignment' | |
WriteCountValue |
Specifies whether to add the residue counts to the end of each line. Choices are true (default) or false. |
Use the fastaread function to read p53samples.txt, a FASTA-formatted file included with the Bioinformatics Toolbox software, which contains seven cellular tumor antigen p53 sequences.
p53 = fastaread('p53samples.txt')
p53 =
7x1 struct array with fields:
Header
SequenceUse the multialign function to align the seven cellular tumor antigen p53 sequences.
ma = multialign(p53,'verbose',true);
Write the alignment to a file named p53.aln.
multialignwrite('p53.aln',ma)
fastaread | fastawrite | gethmmalignment | multialign | multialignread | multialignviewer | phytreewrite | seqconsensus | seqdisp | seqprofile
![]() | multialignviewer | mzcdf2peaks | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |