def rename(self, old_name, new_name):
        if old_name not in self.mMali:
            raise KeyError("%s not in mali" % old_name)
        self.mIdentifiers[self.mIdentifiers.index(old_name)] = new_name
        self.mMali[new_name] = self.mMali[old_name]
        del self.mMali[old_name]
rename an entry.
dataset/ETHPy150Open CGATOxford/cgat/CGAT/Mali.py/Mali.rename