def _rename_to_ucsc(line):
    chrom, rest = line.split("\t", 1)
    if chrom == "MT":
        new_chrom = "chrM"
    else:
        new_chrom = "chr%s" % chrom
    return "%s\t%s" % (new_chrom, rest)
dataset/ETHPy150Open chapmanb/cloudbiolinux/utils/prepare_cosmic.py/_rename_to_ucsc/original