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

Refactor bigtools internals and API for writing #45

Merged
merged 31 commits into from
Jul 5, 2024

Conversation

jackh726
Copy link
Owner

The adjustment here is the change to where iteration driven internally: rather than it being driven generically over the ChromData, implementors of ChromData drive the processing themselves. This makes the internal logic much more clear and simple. It also makes the external API more clean too.

It may be that there are future cleanups or changes that can be made here - one being allowing full external iteration (e.g. for pybigtools).

Performance-wise, this is essentially on-par or marginally faster than the existing implementation.

jackh726 and others added 30 commits June 28, 2024 22:14
…r. Cleanup docs and rename chsi vars to data.
…n new error that doesn't include SourceError
…Write over W: Write+Seek. Take chrom_sizes in create_file instead of write*.
@jackh726
Copy link
Owner Author

jackh726 commented Jul 5, 2024

Going to go ahead and merge this. Aside from the couple bug fixes, there should be no semantic differences or additions here (unlike the pybigtools refactor).

@jackh726 jackh726 merged commit f49b0c9 into master Jul 5, 2024
5 checks passed
@jackh726 jackh726 deleted the bigtools_refactor_rebase2 branch August 14, 2024 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant