code: def get_sequences_from_cluster(c1, c2, data):
      
      seqs1 = data[c1]['seqs']
      seqs2 = data[c2]['seqs']
      seqs = list(set(seqs1 + seqs2))
      names = []
      for s in seqs:
          if s in seqs1 and s in seqs2:
              names.append("both")
          elif s in seqs1:
              names.append(c1)
          else:
              names.append(c2)
      return seqs, names
docs: get all sequences from on cluster