def remove_gaps(A, B):
a_seq, b_seq = [], []<EOL>for a, b in zip(list(A), list(B)):<EOL><INDENT>if a == '<STR_LIT:->' or a == '<STR_LIT:.>' or b == '<STR_LIT:->' or b == '<STR_LIT:.>':<EOL><INDENT>continue<EOL><DEDENT>a_seq.append(a)<EOL>b_seq.append(b)<EOL><DEDENT>return '<STR_LIT>'.join(a_seq), '<STR_LIT>'.join(b_seq)<EOL>
skip column if either is a gap