Skip to content

Commit cd3243a

Browse files
committedAug 27, 2024
fix IR
1 parent 2714bc1 commit cd3243a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎exps/2-dm-real/workflow/scripts/parse_res.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def parse_pantas(path):
8686
if abs(e.dpsi) < FILTER:
8787
continue
8888
if e.etype == "IR":
89-
e.dpsi = 1 - e.dpsi
89+
e.dpsi = -e.dpsi # Pantas alternative isoform = rMATS canonical isoform
9090
event_pantas[e.etype].append(e)
9191
return event_pantas
9292

‎scripts/remap.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def main(args):
187187
junction2_nodes = "."
188188
W1, W2 = W2, W1
189189
psi_c1, psi_c2 = psi_c2, psi_c1
190-
dpsi = 1.0-float(dpsi)
190+
dpsi = -float(dpsi)
191191

192192
htype = "reference"
193193
if annotation_type == "annotated":

0 commit comments

Comments
 (0)
Please sign in to comment.