# Example for: alignment.align() # This will read two sequences, align them, and write the alignment # to a file: from modeller import * log.verbose() env = environ() aln = alignment(env) aln.append(file='toxin.ali', align_codes=('1fas', '2ctx')) # The as1.sim.mat similarity matrix is used by default: aln.align(gap_penalties_1d=(-600, -400)) aln.write(file='toxin-seq.ali')