code: def _summarize_translations(cls, translations):
          
          read_name_to_reads = {}
          gene_names = set([])
          transcript_ids = set([])
          for translation in translations:
              for read in translation.reads:
                  read_name_to_reads[read.name] = read
              for transcript in translation.reference_context.transcripts:
                  transcript_ids.add(transcript.id)
                  gene_names.add(transcript.gene.name)
          unique_reads = list(read_name_to_reads.values())
          return unique_reads, transcript_ids, gene_names
docs: Summarize a collection of Translation objects into three values:
              1) List of unique reads supporting underlying variant sequences
              2) Set of unique transcript names for establishing reading frames of the
                 translations.
              3) Set of unique gene names for all transcripts used by translations.