obi uniq: quick fix for bug where some sequences are not correctly
dereplicated
This commit is contained in:
@ -307,7 +307,8 @@ cdef uniq_sequences(View_NUC_SEQS view, View_NUC_SEQS o_view, ProgressBar pb, di
|
||||
for x in categories :
|
||||
catl.append(i_seq[x])
|
||||
|
||||
unique_id = tuple(catl) + (i_seq_col.get_line_idx(i),)
|
||||
unique_id = tuple(catl) + (i_seq_col[i],)
|
||||
#unique_id = tuple(catl) + (i_seq_col.get_line_idx(i),)
|
||||
#unique_id = tuple(i_seq[x] for x in categories) + (seq_col.get_line_idx(i),) # The line that cython can't read properly
|
||||
|
||||
if unique_id in uniques:
|
||||
@ -453,6 +454,7 @@ cdef uniq_sequences(View_NUC_SEQS view, View_NUC_SEQS o_view, ProgressBar pb, di
|
||||
merged_dict[mkey] = {}
|
||||
|
||||
for i_idx in merged_sequences:
|
||||
PyErr_CheckSignals()
|
||||
pb(total_treated)
|
||||
|
||||
i_id = i_id_col[i_idx]
|
||||
|
@ -1,5 +1,5 @@
|
||||
major = 3
|
||||
minor = 0
|
||||
serial= '0b26a'
|
||||
serial= '0b26b'
|
||||
|
||||
version ="%d.%d.%s" % (major,minor,serial)
|
||||
|
Reference in New Issue
Block a user