# Example for: alignment.malign() # This will read all sequences from a file, align them, and write # the alignment to a new file: from modeller import * env = environ() aln = alignment(env, file='toxin.ali', align_codes='all') aln.malign(gap_penalties_1d=(-600, -400)) aln.write(file='toxin-seq.pap', alignment_format='PAP')