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

make pairsio.py to read (and, in the future, write) .pairs files #195

Merged
merged 10 commits into from
Mar 9, 2024

Conversation

golobor
Copy link
Member

@golobor golobor commented Dec 18, 2023

Also, change the API of a couple of functions in scalings.py:
calculate_scalings(n_dist_bins -> n_dist_bins_decade)
norm_scaling(norm_window)

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Additional dataframe with chromosome sizes, if different from regions.
dist_range : tuple of int, optional
The range of distances to calculate the scaling curve. Default is (10, 1000000000).
n_dist_bins : int, optional
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs to be updated to n_dist_bins_decade?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, sure! can i update it after merging? :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done!

@golobor
Copy link
Member Author

golobor commented Mar 9, 2024

the indended changes in parseio are complete. In parallel, I've discovered pretty nasty (but yet minor) inconsistencies in the scaling API.

@golobor golobor closed this Mar 9, 2024
@golobor golobor reopened this Mar 9, 2024
@golobor golobor merged commit 7cd8c9a into open2c:master Mar 9, 2024
8 of 9 checks passed
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.

2 participants