def _incorporate_dup(self):
seq, cds_start, cds_stop, start, end = self._setup_incorporate()<EOL>dup_seq = seq[start:end]<EOL>seq[end:end] = dup_seq<EOL>is_frameshift = len(dup_seq) % <NUM_LIT:3> != <NUM_LIT:0><EOL>variant_start_aa = int(math.ceil((self._var_c.posedit.pos.end.base + <NUM_LIT:1>) / <NUM_LIT>))<EOL>alt_data = AltTranscriptData(<EOL>seq,<EOL>cds_start,<EOL>cds_stop,<EOL>is_frameshift,<EOL>variant_start_aa,<EOL>self._transcript_data.protein_accession,<EOL>is_ambiguous=self._ref_has_multiple_stops)<EOL>return alt_data<EOL>
Incorporate dup into sequence