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

Error with rebin function #81

Closed
piazza-lab opened this issue May 16, 2024 · 1 comment
Closed

Error with rebin function #81

piazza-lab opened this issue May 16, 2024 · 1 comment

Comments

@piazza-lab
Copy link
Collaborator

Hi,
I got the following error with the latest (3.2.3) version of hicstuff trying to run the rebin function (which worked with previous versions):
Traceback (most recent call last):
File "/home/apiazza/miniforge3/envs/hicstuff323/bin/hicstuff", line 8, in
sys.exit(main())
File "/home/apiazza/miniforge3/envs/hicstuff323/lib/python3.10/site-packages/hicstuff/main.py", line 57, in main
command.execute()
File "/home/apiazza/miniforge3/envs/hicstuff323/lib/python3.10/site-packages/hicstuff/commands.py", line 1108, in execute
hic_map, _ = hcs.bin_bp_sparse(hic_map, frags.start_pos, binning)
AttributeError: module 'hicstuff.stats' has no attribute 'bin_bp_sparse'

Not sure what this is due to, as the arguments do not seem to have changed.
Thanks a lot in advance for your help.

@js2264
Copy link

js2264 commented May 30, 2024

Thx for the issue, it comes from a minor mistake which is now fixed in 343d58e. I bumped the version to 3.2.4. This will take some time to propagate to bioconda. In the meantime, you can install 3.2.4 using:

pip3 install -e git+https://github.com/koszullab/hicstuff.git@master#egg=hicstuff

Of note, rebin still has an unfixed bug, see #79. The current best approach is to bin from a pairs file using cooler cload.

@js2264 js2264 closed this as completed May 30, 2024
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

No branches or pull requests

2 participants