Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix fully overlap reads #1220

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update countReadsPerBin.py
  • Loading branch information
y9c committed Jun 4, 2023
commit d8ebbb9efe1f9157e4dec6b65d87417c9e522881
2 changes: 1 addition & 1 deletion deeptools/countReadsPerBin.py
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ def get_fragment_from_read(self, read):
fragmentStart = int(fragmentCenter - read.infer_query_length(always=False) / 2)
fragmentEnd = fragmentStart + read.infer_query_length(always=False)

assert fragmentStart < fragmentEnd, "fragment start greater than fragment" \
assert fragmentStart <= fragmentEnd, "fragment start greater than fragment" \
"end for read {}".format(read.query_name)
return [(fragmentStart, fragmentEnd)]

Expand Down
Loading