def _get_chr_key(chr_str: str):
    """Get chrom as key."""
    chr_str = chr_str.strip('chr')
    try:
        chrom = int(chr_str)
        chrom = '{:03d}'.format(chrom)
    except ValueError:
        chrom = chr_str
    return chrom
