import re


def get_allele_lists(glstring):
    """
    Takes a GL String and returns a list of allele lists it contains
    """
    allele_lists = []
    for allele_list in re.split(r'[~+|^]', glstring):
        if "/" in allele_list:
            allele_lists.append(allele_list)
    return allele_lists