next up previous contents index
Next: alignment.to_profile() convert Up: The alignment class: comparison Previous: alignment.salign() align   Contents   Index

alignment.get_suboptimals() -- parse suboptimal alignments file

get_suboptimals(f)
This command, given an open Python file, will read the alignments (from alignment.salign()) in that file into the alignment object, one by one. (The first such alignment is the optimal alignment for reference; the remainder are the suboptimal alignments.) The alignment object itself is returned. The alignment must contain only the two sequences which correspond to the alignment from which the suboptimal alignment file was originally generated.

Example: See alignment.salign() command.



Automatic builds 2011-09-28