Hi Alex,
Thanks for your previous post - I've managed to produce a "test" dataset by using "contigs" instead of "reads" and correcting the where_read file! However, I've now run into a different set of problems: The creation of the dataset produces an HDF5 output error (apologies for the image, If I were to include the text of the error message I'd go over the Biostars comment word limit):
https://imgur.com/a/oFHKxWE
The test file is capable of retrieving information (using kover dataset info) like genome-count and genome-ids. However, when asked for a kmer-count it produces the following error
kover dataset info --dataset test --genome-count --kmer-count
Genome count: 5
K-mer count:
Traceback (most recent call last):
File "/home/yusuf/Documents/Bioinformatics/kover/bin/kover", line 1192, in <module>
CommandLineInterface()
File "/home/yusuf/Documents/Bioinformatics/kover/bin/kover", line 1150, in __init__
getattr(self, args.command)()
File "/home/yusuf/Documents/Bioinformatics/kover/bin/kover", line 1170, in dataset
getattr(dataset_tool, args.command)()
File "/home/yusuf/Documents/Bioinformatics/kover/bin/kover", line 321, in info
print "K-mer count:", dataset.kmer_count
File "/home/yusuf/.local/lib/python2.7/site-packages/kover/dataset/ds.py", line 79, in kmer_count
return dataset["kmer_sequences"].shape[0]
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 "/home/yusuf/.local/lib/python2.7/site-packages/h5py/_hl/group.py", line 264, in __getitem__
oid = h5o.openself.id, self._e(name), lapl=self._lapl)
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/h5o.pyx", line 190, in h5py.h5o.open
KeyError: "Unable to open object (object 'kmer_sequences' doesn't exist)"
Any ideas on how to fix it? I really do appreciate you taking the time out to help :)
Thanks,
Yusuf