deeptools / HiCExplorer

HiCExplorer is a powerful and easy to use set of tools to process, normalize and visualize Hi-C data.
https://hicexplorer.readthedocs.org
GNU General Public License v3.0
223 stars 68 forks source link

hicPCA " invalid literal" error message #883

Open erbon7 opened 7 months ago

erbon7 commented 7 months ago

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

joachimwolff commented 7 months ago

Please update to the latest release. Thank you.

On Mo, Dez 11 2023 at 02:05:38 -0800, Eric Bonnet @.***> wrote:

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 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

— Reply to this email directly, view it on GitHub https://github.com/deeptools/HiCExplorer/issues/883, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGQCAB3JFUC7ROTY6RBEMTYI3LHFAVCNFSM6AAAAABAPPL5GCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAZTKMRZGI4TOMY. You are receiving this because you are subscribed to this thread.Message ID: @.***>

erbon7 commented 7 months ago

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