Darwin Help

Back to Index

CodonDynProgStrings

Function CodonDynProgStrings - compute score and aligned strings from a codon alignment

Calling Sequence  CodonDynProgStrings(al)
Parameters
NameTypeDescription

al AlignmentCodon alignment
Return Type  [numeric, string, string] ([score,seq1,seq2])
Synopsis Returns a list with the similarity score, first sequence and second sequence suitable for printing the aligned DNA sequences (with '___' inserted at gap positions).
Examples
> al := CodonAlign(AAACCCGGGTTT,AAACCTTTT,CMS,Global);
al := Alignment('AVq#','AX#',10.7382,DMS[368],102,47328.8945,{Global})
> CodonDynProgStrings(al);
[10.7382, AAACCCGGGTTT, AAACCT___TTT]
See also CodonAlign,   CreateCodonMatrices,   EstimateCodonPAM