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