def get_chrom(panelfile):
    """
    input: a panel bedfile
    output: list of chromosomes in the bedfile
    """

    lines = [line.rstrip("\n") for line in open(panelfile, "r")]
    chrom = list(set([s.split("\t")[0] for s in lines]))
    return chrom