Skip to content

Commit

Permalink
Update write its sites to logger
Browse files Browse the repository at this point in the history
  • Loading branch information
seina001 committed Mar 20, 2024
1 parent dcacb66 commit 7b4e839
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions itsxpress/Dedup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import logging
logger = logging.getLogger(__name__)
import gzip
import pyzstd as zstd
import os
Expand Down Expand Up @@ -98,6 +99,8 @@ def _map_func(ziprecord):
start, stop, tlen = itspos.get_position(repseq)
r2start = tlen - stop
r2end = tlen - start #calculate end of R2
#Log start, stop, and tlen, r2start, r2end with names and sequence ids
logging.info("Start: {} Stop: {} Tlen: {} R2start: {} R2end: {} for sequence ID: {}".format(start, stop, tlen, r2start, r2end, record1.id))
try:
if stop > tlen:
record1_return = record1[start:]
Expand Down

0 comments on commit 7b4e839

Please sign in to comment.