deeptools/HiCExplorer

hicPCA " invalid literal" error message

erbon7 opened this issue · 3 comments

erbon7 commented

Hi everyone,

I'm trying to use the hicPCA command but I get an error message:

$ hicPCA -m mat_160K_corrected.cool --outputFileName pca1.bw pca2.bw pca3.bw --format bigwig
Traceback (most recent call last):
  File "/env/cng/proj/LBA/scratch/eb/tools/anaconda3/envs/hic_explorer/bin/hicPCA", line 7, in <module>
    main()
  File "/env/cng/proj/LBA/scratch/eb/tools/anaconda3/envs/hic_explorer/lib/python3.8/site-packages/hicexplorer/hicPCA.py", line 318, in main
    eigenvectors_correlate = np.hstack((eigenvectors_correlate, eigs[:, int(id) - 1:int(id)]))
ValueError: invalid literal for int() with base 10: ' '
$ hicPCA --version
hicPCA 3.7.1

Any clue ?

Thx

erbon7 commented

Done, but same error occurred :

$  hicPCA -m mat_160K_corrected.cool --outputFileName pca1.bw pca2.bw pca3.bw --format bigwig
Traceback (most recent call last):
  File "/env/cng/proj/LBA/scratch/eb/tools/anaconda3/envs/explo/bin/hicPCA", line 7, in <module>
    main()
  File "/env/cng/proj/LBA/scratch/eb/tools/anaconda3/envs/explo/lib/python3.10/site-packages/hicexplorer/hicPCA.py", line 318, in main
    eigenvectors_correlate = np.hstack((eigenvectors_correlate, eigs[:, int(id) - 1:int(id)]))
ValueError: invalid literal for int() with base 10: ' '
$ hicPCA --version
hicPCA 3.7.3