Skip to content

Commit 13a200c

Browse files
author
zhoujt1994
authored
Update _extract_allc.py _merge_cg_strand
1 parent 1408177 commit 13a200c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ALLCools/_extract_allc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def _merge_cg_strand(in_path, out_path):
3535
continue
3636
else:
3737
# pos should be continuous, strand should be reverse
38-
if int(prev_line[1]) + 1 == int(cur_line[1]) and prev_line[2] != cur_line[2]:
38+
if int(prev_line[1]) + 1 == int(cur_line[1]) and prev_line[2] == "+":
3939
new_line = prev_line[:4] + [
4040
str(int(prev_line[4]) + int(cur_line[4])),
4141
str(int(prev_line[5]) + int(cur_line[5])),

0 commit comments

Comments
 (0)