Darwin Help

Back to Index

Alignment

Class Alignment - a protein or DNA pairwise sequence alignment

Calling Sequence  Alignment(Seq1,Seq2,Score,DayMatrix,PamDistance,PamVariance,modes)
Parameters
NameTypeDescription

Seq1 stringthe first protein or DNA sequence
Seq2 stringthe second protein or DNA sequence
Score numericscore of the alignment
DayMatrix DayMatrixDayhoff matrix used
PamDistance numericestimate of the PAM distance or 0
PamVariance numericvariance of the PAM distance or 0
modes set(string)optional modes of alignment
Selectors
NameTypeDescription

Identity numericfraction identical positions (0..1)
Length1 posintlength of Seq1
Length2 posintlength of Seq2
Offset1 integerdatabase offset of Seq1
Offset2 integerdatabase offset of Seq2
PamNumber numericsynonym of PamDistance
Sim numericsynonym of Score
Methods HTMLC, LaTeXC, lprint, Match, print, Rand, select, Sequence, string
Synopsis An Alignment stores the information of a pairwise alignment between two sequences (protein or DNA). It replaces the Match structure, which is now obsolete. If the mode for the alignment is just Local or unknown, it is omitted, otherwise it is a set with one of {Local,Global,CFE,Shake} and optionally NoSelf.
See also Align,   CalculateScore,   DynProgScore,   DynProgStrings,   EstimatePam,   MAlignment