def parse_proteins(self,OrganismDB):
for org in OrganismDB.organisms:<EOL><INDENT>for prot in org.proteins:<EOL><INDENT>if len(prot.hmm_hit_list) > <NUM_LIT:0>:<EOL><INDENT>try:<EOL><INDENT>prot.hit_dataframe = prot.parse_hmm_hit_list(prot.hmm_hit_list)<EOL><DEDENT>except ValueError as e:<EOL><INDENT>print('<STR_LIT>', org.name, prot.accession, str(e))<EOL><DEDENT><DEDENT><DEDENT><DEDENT>
Iterate through all the proteins in the DB,
creates a hit_dataframe for each protein.