swalign
Locally align two sequences using Smith-Waterman algorithm
Syntax
Description
[___,
returns a 3-by-N character array showing the two sequences, Alignment] = swalign(Seq1,Seq2)Seq1,Seq2,
in the first and third rows, and symbols representing the optimal local alignment between
them in the second row. The symbol | indicates amino acids or nucleotides
that match exactly. The symbol : indicates amino acids or nucleotides
that are related as defined by the scoring matrix (nonmatches with a zero or positive
scoring matrix value).
swalign(___,calls
Name,Value)swalign with optional properties that use property name/property value
pairs. You can specify one or more properties in any order.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
References
[1] Durbin, R., Eddy, S., Krogh, A., and Mitchison, G. (1998). Biological Sequence Analysis (Cambridge University Press).
[2] Smith, T., and Waterman, M. (1981). Identification of common molecular subsequences. Journal of Molecular Biology 147, 195–197.
Version History
Introduced before R2006a
See Also
aa2int | aminolookup | baselookup | blosum | dayhoff | gonnet | int2aa | int2nt | localalign | multialign | nt2aa | nt2int | nuc44 | nwalign | pam | pdbsuperpose | seqdotplot
