Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N
Fix overlap precision for short intervals at large coordinates
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N
(useful for registering .gz files directly)
- raise error if .gz.gz file will be created - better handling of streamed files
Fix tabix/bgzip for presorted, gzipped, streamed, and BAM inputs
fix generator completion in randomstats
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N
accept pathlib paths in intersection database lists
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N
preserve mate position 1 when iterating over BAM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N
count BAM and CRAM records without converting intervals
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Maintenance
Bug fixes
Intervals with coordinates larger than 2^24 could report incorrect overlaps in some cases. The intervals most affected by this would be very short ones at the ends of long chromosomes, and cases where
overlap=1.0was used. See Fix overlap precision for short intervals at large coordinates #433 for details.Any code using these methods should be re-run with an updated version of pybedtools and double-checked:
BedTool.all_hits()BedTool.any_hits()BedTool.count_hits()IntervalFile.all_hits()IntervalFile.any_hits()IntervalFile.count_hits()BedTool.tabix()andBedTool.bgzip()behaved incorrectly on some input types and input arg combinations, including empty indexes or double-compression. Fixed in Fix tabix/bgzip for presorted, gzipped, streamed, and BAM inputs #434.BedTool.randomstatswould raise a RuntimeError when using multiple processes and would not properly shut down the multiprocessing pools it created. These are both fixed by fix generator completion in randomstats #435.When using methods like
BedTool.intersect()that optionally take a list of inputs, if those inputs werePathobjects they would not be treated as strings, causing an error and requiring them to be wrapped instr()first. Now they can be provided as-is. Fixed in accept pathlib paths in intersection database lists #436.When iterating through a BAM, and a mate started at the first bp of a chromosome, it would be instead detected as having no mate. Fixed in preserve mate position 1 when iterating over BAM #437.
Improvements
BedTool.liftoverno longer usesos.system, supportsPathobjects, and has testsInterval, which is not needed when just counting. See count BAM and CRAM records without converting intervals #438.