def parse_hmm_hit_list(self, hmm_hit_list):
tuplist = []<EOL>for hit in hmm_hit_list:<EOL><INDENT>for hsp in hit.hsps:<EOL><INDENT>tup = tuplist.append((hit._query_id.split('<STR_LIT:_>')[<NUM_LIT:0>],<EOL>hit.bitscore,<EOL>hit.evalue,<EOL>hsp.bias,<EOL>hsp.env_start,<EOL>hsp.env_end))<EOL><DEDENT><DEDENT>cols = ['<STR_LIT:name>','<STR_LIT>','<STR_LIT>', '<STR_LIT>', '<STR_LIT>','<STR_LIT>']<EOL>df = DataFrame(tuplist, columns=cols)<EOL>df.set_index('<STR_LIT:name>', inplace=True)<EOL>return df<EOL>
take a list of hmm hit results, take needed info,