code: def _add_compounds(self, variant_obj, info_dict):
          compound_list = []
          compound_entry = info_dict.get('Compounds')
          if compound_entry:
              for family_annotation in compound_entry.split(','):
                  compounds = family_annotation.split(':')[-1].split('|')
                  for compound in compounds:
                      splitted_compound = compound.split('>')
                      compound_score = None
                      if len(splitted_compound) > 1:
                          compound_id = splitted_compound[0]
                          compound_score = int(splitted_compound[-1])
                      compound_list.append(Compound(
                          variant_id=compound_id,
                          combined_score=compound_score
                          )
                      )
          compound_list.sort(key = operator.attrgetter('combined_score'), reverse=True)
          for compound in compound_list:
              variant_obj.add_compound(compound)