HiCExplorer
HiCExplorer copied to clipboard
hicPCA " invalid literal" error message
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
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: @.***>
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