Error Message:
File "hicAverageRegions", line 7, in
main()
File "hicexplorer/lib/python3.8/site-packages/hicexplorer/hicAverageRegions.py", line 156, in main
start_range_genomic, end_range_genomic, start_out, end_out = calculateViewpointRange(hic_ma, viewpoint, args.range, args.coordinatesToBinMapping)
UnboundLocalError: local variable 'viewpoint' referenced before assignment
Hi,
I am trying to run hicAverageRegions with a bedfile and HiC matrix in cool format, but am running into the error that viewpoint is referenced before assignment. I've tried different version of HiCExplorer, but run into the same error. Is there a way to fix this?
hicInfo 3.7.2 Python 3.8.13
Installed with conda create --name hicexplorer hicexplorer=3.7.2 python=3.8 -c bioconda -c conda-forge
Full command: hicAverageRegions -m Matrix.cool -r BedFile.bed --range 200000 200000 --outFileName FileName
Error Message:
main()
File "hicexplorer/lib/python3.8/site-packages/hicexplorer/hicAverageRegions.py", line 156, in main
start_range_genomic, end_range_genomic, start_out, end_out = calculateViewpointRange(hic_ma, viewpoint, args.range, args.coordinatesToBinMapping)
UnboundLocalError: local variable 'viewpoint' referenced before assignment
File "hicAverageRegions", line 7, in
Hi,
I am trying to run hicAverageRegions with a bedfile and HiC matrix in cool format, but am running into the error that viewpoint is referenced before assignment. I've tried different version of HiCExplorer, but run into the same error. Is there a way to fix this?