<div dir="ltr">Hello,<br><div><br></div><div>I have the following code snippet: </div><div><br></div><div><br></div><div><div>from Bio import pairwise2</div><div><br></div><div>pacrg_fasta = 'DUDEWHEREISMYCAR'</div><div><br></div><div>model = 'MANWHEREISMYCAT'</div><div><br></div><div>alignments = pairwise2.align.globalxx(pacrg_fasta, model)</div><div>print(pairwise2.format_alignment(*alignments[0]))</div></div><div><br></div><div>The first matching letter is W. I want to be able to get the index of the matching residues in a tuple, for example (4,3) for W, how can I do that for all the matching residues? </div><div><br></div><div>Regards. </div></div>