def get_strand(record_strand, a_to_g_cnt, t_to_c_cnt):
    """ Determine the reference character for editing should be given a strand or character counts.

    :param record_strand:
    :param a_to_g_cnt:
    :param t_to_c_cnt:
    :return:
    """
    pos_strand_char = 'A'
    neg_strand_char = 'T'
    if record_strand == '+':
        count_char = pos_strand_char
    elif record_strand == '-':
        count_char = neg_strand_char
    else:
        try:
            pos_strand_alt_cnt = a_to_g_cnt
        except KeyError:
            pos_strand_alt_cnt = 0
        try:
            neg_strand_alt_cnt = t_to_c_cnt
        except KeyError:
            neg_strand_alt_cnt = 0
        if pos_strand_alt_cnt > neg_strand_alt_cnt:
            count_char = pos_strand_char
        else:
            count_char = neg_strand_char
    return count_char
