Skip to content

Commit

Permalink
correct 'open' start/end pos
Browse files Browse the repository at this point in the history
  • Loading branch information
philippadoherty committed May 2, 2024
1 parent e8f80c1 commit 1bac081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MACS3/Commands/hmmratac_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ def add_regions(i, regions):
block_num = sum('open' in tup for tup in region)
block_sizes = ','.join(str(region[j][2] - region[j][1]) for j in range(1, len(region) - 1, 2))
block_starts = ','.join(str(region[j][1] - region[0][1]) for j in range(1, len(region) - 1, 2))
broadpeak.add(chromosome=region[1][0], start=region[0][1], end=region[-1][2],
broadpeak.add(chromosome=region[1][0], start=region[0][2], end=region[-1][1],
#bytes(region[1][0], encoding="raw_unicode_escape"), region[0][1], region[-1][2],
# thickStart=bytes(str(region[1][1]), encoding="raw_unicode_escape"),
# thickEnd=bytes(str(region[-2][2]), encoding="raw_unicode_escape"),
Expand Down

0 comments on commit 1bac081

Please sign in to comment.