def format_chromo(chromo):
    """Format chromosome name.

    Makes name upper case, e.g. 'mt' -> 'MT' and removes 'chr',
    e.g. 'chr1' -> '1'.
    """
    return chromo.str.upper().str.replace('^CHR', '')
