def _find_families_deprecated(clus_obj, min_seqs):
logger.info("<STR_LIT>")<EOL>seen = defaultdict()<EOL>metacluster = defaultdict(list)<EOL>c_index = clus_obj.keys()<EOL>meta_idx = <NUM_LIT:0><EOL>with ProgressBar(maxval=len(c_index), redirect_stdout=True) as p:<EOL><INDENT>for itern, c in enumerate(c_index):<EOL><INDENT>p.update(itern)<EOL>clus = clus_obj[c]<EOL>if len(clus.idmembers.keys()) < min_seqs:<EOL><INDENT>del clus_obj[c]<EOL>continue<EOL><DEDENT>logger.debug("<STR_LIT>" % c)<EOL>logger.debug("<STR_LIT>" % clus.loci2seq)<EOL>already_in, not_in = _get_seqs_from_cluster(clus.idmembers.keys(), seen)<EOL>logger.debug("<STR_LIT>" % (already_in, not_in))<EOL>meta_idx += <NUM_LIT:1><EOL>metacluster[meta_idx].append(c)<EOL>seen.update(dict(zip(not_in, [meta_idx] * len(not_in))))<EOL>if len(already_in) > <NUM_LIT:0>:<EOL><INDENT>logger.debug("<STR_LIT>" % already_in)<EOL>for eindex in already_in:<EOL><INDENT>for cluster in metacluster[eindex]:<EOL><INDENT>metacluster[meta_idx].append(cluster)<EOL>prev_clus = clus_obj[cluster]<EOL>logger.debug("<STR_LIT>" % (eindex, clus.id))<EOL>seqs_in = prev_clus.idmembers.keys()<EOL>seen.update(dict(zip(seqs_in, [meta_idx] * len(seqs_in))))<EOL><DEDENT>del metacluster[eindex]<EOL><DEDENT><DEDENT><DEDENT><DEDENT>logger.info("<STR_LIT>" % len(metacluster))<EOL>return metacluster, seen<EOL>
Mask under same id all clusters that share sequences
:param clus_obj: cluster object coming from detect_cluster
:param min_seqs: int cutoff to keep the cluster or not. 10 as default

:return: updated clus_obj and dict with seq_id: cluster_id