docs: def clean_up_omim_genes(self):
          '''
              Attempt to limit omim links to diseases and not genes/locus
          '''
          # get all the omim ids
          allomim_curie = set()
          for omia in self.omia_omim_map:
              allomim_curie.update(self.omia_omim_map[omia])
          # strip the curie prefix
          allomimids = set([o.split(':')[-1] for o in allomim_curie])
  
          LOG.info("Have %i omim_ids before filtering", len(allomimids))
          LOG.info("Exists %i omim_ids replaceable", len(self.omim_replaced))
          if len(self.omim_replaced) > 0:
              LOG.info(
                  "Sample of each (all & replace) look like: %s , %s",
                  list(allomimids)[0],
                  list(self.omim_replaced.keys())[0])
  
          # deal with replaced identifiers
          replaced = allomimids & self.omim_replaced.keys()
  
          if replaced is not None and len(replaced) > 0:
              LOG.warning("These OMIM ID's are past their pull date: %s", str(replaced))
              for oid in replaced:
                  allomimids.remove(oid)
                  replacements = self.omim_replaced[oid]
                  for rep in replacements:
                      allomimids.update(rep)
  
          # guard against omim identifiers which have been removed
          obsolete = [
              o for o in self.omim_type
              if self.omim_type[o] == self.globaltt['obsolete']]
          removed = allomimids & set(obsolete)
          if removed is not None and len(removed) > 0:
              LOG.warning("These OMIM ID's are gone: %s", str(removed))
              for oid in removed:
                  allomimids.remove(oid)
  
          # get a list of omim ids which we consider to be for disease / phenotype
          omim_phenotypes = set([
              omim for omim in self.omim_type if self.omim_type[omim] in (
                  self.globaltt['Phenotype'],
                  self.globaltt['has_affected_feature'],
                  self.globaltt['heritable_phenotypic_marker'])])
          LOG.info(
              "Have %i omim_ids globally typed as phenotypes from OMIM",
              len(omim_phenotypes))
  
          entries_that_are_phenotypes = allomimids & omim_phenotypes
  
          LOG.info(
              "Filtered out %d/%d entries that are genes or features",
              len(allomimids - entries_that_are_phenotypes), len(allomimids))
  
          # now iterate again and remove those non-phenotype ids
          # this could be redone with set operations
          removed_count = 0
          for omia in self.omia_omim_map:
              cleanids = set()
              for dirty_curie in self.omia_omim_map[omia]:
                  dirty_num = dirty_curie.split(':')[-1]
                  if dirty_num in entries_that_are_phenotypes:
                      cleanids.add(dirty_curie)
                  else:
                      removed_count += 1  # keep track of how many we've removed
              self.omia_omim_map[omia] = cleanids
  
          LOG.info("Removed %d omim ids from the omia-to-omim map", removed_count)
  
          return