def duplication(self,start,end,fold=1):
        start = int(start)
        end   = int(end)
        assert start < end
        dupseq = self.seq[start:end]
        for i in range(fold):
            dupseq = dupseq + self.seq[start:end]
        self.seq = self.seq[:start] + dupseq + self.seq[end:]
Return an expression that will reconstitute the grammar.
dataset/ETHPy150Open adamewing/bamsurgeon/bamsurgeon/mutableseq.py/MutableSeq.duplication--crossover with--dataset/ETHPy150Open erikrose/parsimonious/parsimonious/grammar.py/Grammar.__repr__