Skip to content

Commit

Permalink
Fixed a bug in the assignation of CAGE peaks of trasncripts in the ne…
Browse files Browse the repository at this point in the history
…gative strand
  • Loading branch information
alexpan00 committed Jun 13, 2024
1 parent a7c2680 commit 52def33
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sqanti3_qc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2204,7 +2204,10 @@ def find(self, chrom, strand, query, search_window=10000):
if strand=='-' and start0<int(query) and end1<int(query):
continue
##
within_out = (start0<=query<end1)
if strand == "+":
within_out = (start0<=query<end1)
if strand == "-":
within_out = (start0<query<=end1)
if within_out:
w = 'TRUE'
else:
Expand Down

0 comments on commit 52def33

Please sign in to comment.