def verify_hgnc(all_hgncs, cand_hgncs):
  """Verify that the HGNCSs in <cand_hgncs> are found in <all_hgncs>. Partition
  <cand_hgncs> into two sets: those that are found in all_hgncs and those that are not.

  Parameters
  ----------
  all_hgncs : list
    universe of HGNCs we are considering

  cand_hgncs : list
    list of HGNCs (from another source) that should be verified

  Returns
  -------
  (found, missing) : (list, list)
  """
  all_hgncs = set(all_hgncs)
  found = filter(lambda x: x in all_hgncs, cand_hgncs)
  missing = filter(lambda x: x not in all_hgncs, cand_hgncs)
  return (found, missing)