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 in running hicDetectLoops #899

Open
pangulu opened this issue Apr 5, 2024 · 0 comments
Open

error in running hicDetectLoops #899

pangulu opened this issue Apr 5, 2024 · 0 comments

Comments

@pangulu
Copy link

pangulu commented Apr 5, 2024

Hi ,

I'm experiencing an issue with hicDetectLoops, where it gives a ValueError. I'm using python version 3.10.14 and hicexplorer version 3.7.2. Here is the command I run:
hicDetectLoops -m E145_combine_10k.cool -o E145_combine_10k.loops.bedgraph --maxLoopDistance 2000000 --windowSize 10 --peakWidth 6 --pValuePreselection 0.05 --pValue 0.05

ERROR:hicexplorer.hicDetectLoops:The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()Traceback (most recent call last):
File "/home/panzhiyuan/miniconda3/envs/hicexplorer/lib/python3.10/site-packages/hicexplorer/hicDetectLoops.py", line 900, in compute_loops
candidates, pValueList = compute_long_range_contacts(pHiCMatrix,
File "/home/panzhiyuan/miniconda3/envs/hicexplorer/lib/python3.10/site-packages/hicexplorer/hicDetectLoops.py", line 368, in compute_long_range_contacts
candidates, _ = neighborhood_merge(
File "/home/panzhiyuan/miniconda3/envs/hicexplorer/lib/python3.10/site-packages/hicexplorer/hicDetectLoops.py", line 479, in neighborhood_merge
if 'Fail: ' in new_candidate_list_threads[i]:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

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

1 participant