alignment.get_suboptimals() — parse suboptimal alignments file

get_suboptimals(f, align_block=0)
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, in the case of a simple pairwise alignment. If the alignment was originally generated as an alignment of two previously-aligned blocks, then the alignment must contain the same set of sequences, and align_block must be set to the same value as when the alignment was generated.

Example: See alignment.salign() command.



Automatic builds 2019-06-19