def get_allele_frequencies(minor_allele_frequency):
  """
  given a list of `minor_allele_frequency`
  add in the reference allele frequency and return a list of frequencies
  """
  ref_allele_frequency = 1 - sum(minor_allele_frequency)
  allele_frequencies = [ref_allele_frequency] +  minor_allele_frequency
  return allele_frequencies