def strip_inserts(fasta):
for seq in parse_fasta(fasta):<EOL><INDENT>seq[<NUM_LIT:1>] = '<STR_LIT>'.join([b for b in seq[<NUM_LIT:1>] if b == '<STR_LIT:->' or b.isupper()])<EOL>yield seq<EOL><DEDENT>
remove insertion columns from aligned fasta file