def compare_seqs(seqs):
A, B, ignore_gaps = seqs<EOL>a, b = A[<NUM_LIT:1>], B[<NUM_LIT:1>] <EOL>if len(a) != len(b):<EOL><INDENT>print('<STR_LIT>', file=sys.stderr)<EOL>exit()<EOL><DEDENT>if ignore_gaps is True:<EOL><INDENT>pident = calc_pident_ignore_gaps(a, b)<EOL><DEDENT>else:<EOL><INDENT>pident = calc_pident(a, b)<EOL><DEDENT>return A[<NUM_LIT:0>], B[<NUM_LIT:0>], pident<EOL>
compare pairs of sequences