def get_descriptions(fastas):
id2desc = {}<EOL>for fasta in fastas:<EOL><INDENT>for seq in parse_fasta(fasta):<EOL><INDENT>header = seq[<NUM_LIT:0>].split('<STR_LIT:>>')[<NUM_LIT:1>].split('<STR_LIT:U+0020>')<EOL>id = header[<NUM_LIT:0>]<EOL>if len(header) > <NUM_LIT:1>:<EOL><INDENT>desc = '<STR_LIT:U+0020>'.join(header[<NUM_LIT:1>:])<EOL><DEDENT>else:<EOL><INDENT>desc = '<STR_LIT>'<EOL><DEDENT>length = float(len([i for i in seq[<NUM_LIT:1>].strip() if i != '<STR_LIT:*>']))<EOL>id2desc[id] = [fasta, desc, length]<EOL><DEDENT><DEDENT>return id2desc<EOL>
get the description for each ORF