We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1408177 commit 13a200cCopy full SHA for 13a200c
1 file changed
ALLCools/_extract_allc.py
@@ -35,7 +35,7 @@ def _merge_cg_strand(in_path, out_path):
35
continue
36
else:
37
# 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]:
+ if int(prev_line[1]) + 1 == int(cur_line[1]) and prev_line[2] == "+":
39
new_line = prev_line[:4] + [
40
str(int(prev_line[4]) + int(cur_line[4])),
41
str(int(prev_line[5]) + int(cur_line[5])),
0 commit comments