code: def _incorporate_inv(self):
          
          seq, cds_start, cds_stop, start, end = self._setup_incorporate()
  
          seq[start:end] = list(reverse_complement(''.join(seq[start:end])))
  
          is_frameshift = False
          variant_start_aa = max(int(math.ceil((self._var_c.posedit.pos.start.base) / 3.0)), 1)
  
          alt_data = AltTranscriptData(
              seq,
              cds_start,
              cds_stop,
              is_frameshift,
              variant_start_aa,
              self._transcript_data.protein_accession,
              is_ambiguous=self._ref_has_multiple_stops)
          return alt_data
docs: Incorporate inv into sequence