def parse_chrom_names(filename):
    """Parse file with chromosome names."""
    chrom_names = set()
    with open(filename) as handle:
        for line in handle:
            line = line.strip().split('\t')
            chrom_names.add(line[0])
    return chrom_names