def replace_bases(self, old, new):
        '''Replaces all occurrences of 'old' with 'new' '''
        self.seq = self.seq.replace(old, new)
def replace_bases(self, old, new):
        '''Replaces all occurrences of 'old' with 'new' '''
        self.seq = self.seq.replace(old, new)
def replace_bases ( self , old , new ) : self . seq = self . seq . replace ( old , new )
Replaces all occurrences of 'old' with 'new'
Replaces all occurrences of old with new