<< BTD BTD btd.swalign >>

BTD >> BTD > btd.nwalign

btd.nwalign

Needleman-Wunsch Global alignment of two nucleotide sequences

Calling Sequence

y = btd.nwalign(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

Needleman-Wunsch Global alignment of two nucleotide sequences

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

Examples

jimport btd
y = btd.nwalign("ATGTCGAT","ATGCCAT")

See Also


Report an issue
<< BTD BTD btd.swalign >>