def list_from_gen(gen_expression):
    """
    Creates a list from the generator function for dimer alignment.
    Items in each_item are name, seq1, seq2, score.
    Args:
        gen_expression (generator object): the output from primer_dimer_local
    Returns:
        primer_compare_list (list): generaor converted to list
    """
    primer_compare_list = []
    for each_item in gen_expression:
        primer_compare_list.append(str(each_item))
    return primer_compare_list