Entering edit mode
5.2 years ago
rania.assab
•
0
Good afternoon,
I am trying to run kover in my computer with the following command:
kover learn scm --dataset mypath/genome_paths.tsv --split 10
and it says:
IOError: Unable to open file (file signature not found)
Can you tell me where is my mistake?
Thank you very much in advance
Best regards, Rania Assab
rania.assab : Looks like this file needs to be in HDF5 format? It does not seem to be.
I finally found why thank you :) It is because my input is wrong yes
What is your current working directory, and where is mypath/genome_paths.tsv located in relation to your current working directory?
In addition the file could also be corrupt. Check that as well.
The file was the output of download-genomes.py a tsv file containing the genomes ids 'tab' fna file path
I checked them both and I do not know why it tells me that...
I wrote the absolute path to be sure
Here is the whole output message:
Traceback (most recent call last): File "/home/criuser/KOVER/kover/bin/kover", line 1192, in <module> CommandLineInterface()
File "/home/criuser/KOVER/kover/bin/kover", line 1150, in __init__
File "/home/criuser/KOVER/kover/bin/kover", line 1189, in learn
File "/home/criuser/KOVER/kover/bin/kover", line 510, in scm
File "/home/criuser/.local/lib/python2.7/site-packages/kover/dataset/ds.py", line 78, in kmer_count
File "/home/criuser/.local/lib/python2.7/site-packages/kover/utils.py", line 79, in _hdf5_open_no_chunk_cache
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5f.pyx", line 88, in h5py.h5f.open
IOError: Unable to open file (file signature not found)