Click or drag to resize
DynamicProgrammingPairwiseAlignerAlignSimple Method (SimilarityMatrix, Int32, ISequence, ISequence)
Pairwise alignment of two sequences using a linear gap penalty. The various algorithms in derived classes (NeedlemanWunsch, SmithWaterman, and PairwiseOverlap) all use this general engine for alignment with a linear gap penalty.

Namespace: Bio.Algorithms.Alignment
Assembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax
public IList<IPairwiseSequenceAlignment> AlignSimple(
	SimilarityMatrix localSimilarityMatrix,
	int gapPenalty,
	ISequence inputA,
	ISequence inputB
)

Parameters

localSimilarityMatrix
Type: Bio.SimilarityMatricesSimilarityMatrix
Scoring matrix.
gapPenalty
Type: SystemInt32
Gap penalty (by convention, use a negative number for this.).
inputA
Type: BioISequence
First input sequence.
inputB
Type: BioISequence
Second input sequence.

Return Value

Type: IListIPairwiseSequenceAlignment
A list of sequence alignments.
See Also