You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When few barcodes are provided in barcode_file, the function is very slow since it populates barcode_dict_ref with all barcodes, even those not in barcode_file.
This can simply be improved by writing another function that also takes the barcode_list as input and only adds to dict if it is present in the barcode_list.
When few barcodes are provided in
barcode_file
, the function is very slow since it populatesbarcode_dict_ref
with all barcodes, even those not inbarcode_file
.SnapTools/snaptools/snap.py
Line 784 in eecfa56
This can simply be improved by writing another function that also takes the
barcode_list
as input and only adds to dict if it is present in thebarcode_list
.SnapTools/build/lib/snaptools/snap.py
Lines 116 to 118 in eecfa56
By doing this I receive almost 20x speedups for loading the
barcode_dict_ref
.The text was updated successfully, but these errors were encountered: