Skip to content

Commit

Permalink
fix pair expand with parse2 in --single-end mode
Browse files Browse the repository at this point in the history
  • Loading branch information
agalitsyna committed Oct 4, 2024
1 parent 3d93ea1 commit d3624a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pairtools/lib/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,8 @@ def parse2_read(
report_position,
report_orientation,
dedup_max_mismatch,
expand,
max_expansion_depth,
)
output = [x for x in output if x[-1][-1] != "R1-2"]
return (output, algns1, algns2)
Expand Down Expand Up @@ -1144,7 +1146,7 @@ def expand_pairs(pairs_list, max_expansion_depth=None):
list of expanded pairs
"""

for algn1, _algn1, pair_index1 in pairs_list:
for _algn2, algn2, pair_index2 in pairs_list:
if pair_index1 > pair_index2:
Expand Down

0 comments on commit d3624a4

Please sign in to comment.