| Calling Sequence | DynProgStrings(m,dm)
DynProgStrings(m,dm,NoSelf) DynProgStrings(al) | ||||||||||||||||||
| Parameters |
| ||||||||||||||||||
| 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 given match with the given similarity matrix. The sequences are the original sequences from the match with inserted '_' as needed to produce the desired alignment. If a third argument is provided, it must be the keyword 'NoSelf'. This is an indication that no position will be aligned with itself, a situation useful for the detection of repetitious patterns. If an Alignment is provided, all the information is contained in the object, and no additional arguments are needed. | ||||||||||||||||||
| Examples | > al := Align('ADEFGHIKLMNNW','ADEFGKLMNNW');
al := Alignment('ADEFGHIKLMNNW','ADEFGKLMNNW',36.4025,DM,0,0,{Local})
> DynProgStrings(Match(al),DM); [36.4025, ADEFGHIKLMNNW, ADEFG__KLMNNW] > seq1 := 'ADEFGHIKSDEFGHLK'; seq1 := ADEFGHIKSDEFGHLK > al := Align(seq1,seq1,NoSelf); al := Alignment('ADEFGHIK','SDEFGHLK',35.0800,DM,0,0,{Local,NoSelf})
> DynProgStrings(Match(al),DM,NoSelf); [35.0800, ADEFGHIK, SDEFGHLK] > DynProgStrings(al); [35.0800, ADEFGHIK, SDEFGHLK] | ||||||||||||||||||
| See also | Align, CodonDynProgStrings, Match, print | ||||||||||||||||||