def fix_fasta(fasta):
for seq in parse_fasta(fasta):<EOL><INDENT>seq[<NUM_LIT:0>] = remove_char(seq[<NUM_LIT:0>])<EOL>if len(seq[<NUM_LIT:1>]) > <NUM_LIT:0>:<EOL><INDENT>yield seq<EOL><DEDENT><DEDENT>
remove pesky characters from fasta file header