text_plain_output_1.png
from Bio import pairwise2

alignments = pairwise2.align.globalxx('ACCGT', 'ACG')

for a in pairwise2.align.globalms('ACCGT', 'ACG', 2, -1, -0.5, -0.1):
    print(pairwise2.format_alignment(*a))