Skip to content

Commit 4b7b9e2

Browse files
committed
feat: print out PCR% by logger
1 parent 3e7987e commit 4b7b9e2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hicstuff/pipeline.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,9 @@ def filter_pcr_dup(pairs_idx_file, filtered_file):
312312
"%d%% PCR duplicates have been filtered out (%d / %d pairs) "
313313
% (100 * round(filter_count / reads_count, 3), filter_count, reads_count)
314314
)
315+
logger.info(
316+
"%d pairs remaining after removing PCR duplicates", reads_count - filter_count
317+
)
315318

316319

317320
def pairs2cool(pairs_file, cool_file, bins_file, exclude):

0 commit comments

Comments
 (0)