@staticmethod
def change_chrom_names(chrom):
    """
        Changes UCSC chromosome names to ensembl chromosome names
        and vice versa.
        """
    if chrom.startswith('chr'):
        chrom = chrom[3:]
    else:
        chrom = 'chr' + chrom
    return chrom
