def _clean_cluster(list_c):
global REMOVED<EOL>init = len(list_c)<EOL>list_c = {k: v for k, v in list_c.iteritems() if len(_get_seqs(v)) > parameters.min_seqs}<EOL>logger.debug("<STR_LIT>" % len(list_c.keys()))<EOL>list_c = {k: _select_loci(v) for k, v in list_c.iteritems()}<EOL>end = len(list_c)<EOL>REMOVED += init - end<EOL>return list_c<EOL>
Remove cluster with less than 10 sequences and
loci with size smaller than 60%