docs: def _get_rs_id(variant, rs_map, variant_type):
          """
          Given a variant dict, return unambiguous RS ID
          TODO
          Some sequence alterations appear to have mappings to dbsnp's notation
          for example,
          reference allele: TTTTTTTTTTTTTT
          variant allele:   TTTTTTTTTTTTTTT
          Is theoretically the same as -/T, we should clarify with UDP and then add
          functionality to map this notation to the more common -/T
          :param variant:
          :param rs_map:
          :param type: snp or indel
          :return:
          """
          rs_id = None
          if variant_type == 'snp':
              variant_key = "{0}-{1}".format(variant['chromosome'], variant['position'])
              if variant_key in rs_map:
                  snp_candidates = [
                      rs_dict for rs_dict in rs_map[variant_key]
                      if rs_dict['type'] == 'snp']
                  if len(snp_candidates) == 1:
                      rs_id = snp_candidates[0]["rs_id"]
          elif variant_type == 'indel':
              rs_candidates = []
              variant_key = "{0}-{1}".format(variant['chromosome'], variant['position'])
  
              if variant_key in rs_map:
                  snp_candidates = [
                      rs_dict for rs_dict in rs_map[variant_key]
                      if rs_dict['type'] == 'in-del']
                  for candidate in snp_candidates:
                      alleles = candidate['alleles'].split('/')
                      if variant['reference_allele'] in alleles \
                              and variant['variant_allele'] in alleles:
                          rs_candidates.append(candidate['rs_id'])
  
                  if len(rs_candidates) == 1:
                      rs_id = rs_candidates[0]
                  elif len(rs_candidates) > 1:
                      LOG.info(
                          "ambiguous rs mapping for: %s\ncandidate ids: %s",
                          variant, rs_candidates)
                  else:
                      LOG.info(
                          "rs at coordinate but no match found"
                          " for variant %s\n candidate ids: %s",
                          variant, rs_map[variant_key])
          else:
              LOG.warning("type: %s unsupported", variant_type)
          return rs_id