def _convert_to_clusters(c):
new_dict = {}<EOL>n_cluster = <NUM_LIT:0><EOL>logger.debug("<STR_LIT>" % c.loci2seq.keys())<EOL>for idl in c.loci2seq:<EOL><INDENT>n_cluster += <NUM_LIT:1><EOL>new_c = cluster(n_cluster)<EOL>new_c.loci2seq[idl] = c.loci2seq[idl]<EOL>new_dict[n_cluster] = new_c<EOL><DEDENT>logger.debug("<STR_LIT>" % new_dict.keys())<EOL>return new_dict<EOL>
Return 1 cluster per loci