<< btd.nwalign BTD btd_CpG >>

BTD >> BTD > btd.swalign

btd.swalign

Smith Waterman Local alignment of two nucleotide sequences

Calling Sequence

y = btd.swalign(x1, x2)

Arguments

x1

String of single-letter codes specifying a query nucleotide sequence

x2

String of single-letter codes specifying a target nucleotide sequence

y

Alligned sequences

Description

y = btd.swalign(x1, x2) returns a 2-by-N character array showing the two sequences, Query and Target which are aligned using Smith Waterman Algorithm. The symbol _ indicates the gap introduced in the query or target..

Examples

jimport btd;
y = btd.swalign("ATGTCGAT","ATGCCAT")

See Also


Report an issue
<< btd.nwalign BTD btd_CpG >>