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

hicPCA " invalid literal" error message #883

Open
erbon7 opened this issue Dec 11, 2023 · 2 comments
Open

hicPCA " invalid literal" error message #883

erbon7 opened this issue Dec 11, 2023 · 2 comments

Comments

@erbon7
Copy link

erbon7 commented Dec 11, 2023

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
Copy link
Collaborator

joachimwolff commented Dec 11, 2023 via email

@erbon7
Copy link
Author

erbon7 commented Dec 13, 2023

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

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