kishwarshafin / pepper

PEPPER-Margin-DeepVariant
MIT License
241 stars 42 forks source link

KeyError: "Unable to open object (object 'predictions' doesn't exist)" #185

Open hannahgoldswain opened 1 year ago

hannahgoldswain commented 1 year ago

Hi,

I am trying to run pepper locally (ie not with sudo as I don't have those permissions) and used the pepper polish command successfully a few weeks ago, however now I get to the stitch command and get these errors:

[04-13-2023 11:19:34] INFO: STITCH MODULE SELECTED Traceback (most recent call last): File "/home/hannahg/Tools/pepper/venv/bin/pepper", line 11, in load_entry_point('pepper-polish==0.8.0', 'console_scripts', 'pepper')() File "/home/hannahg/Tools/pepper/venv/lib/python3.8/site-packages/pepper_polish-0.8.0-py3.8-linux-x86_64.egg/pepper/pepper.py", line 350, in main perform_stitch(FLAGS.input_dir, File "/home/hannahg/Tools/pepper/venv/lib/python3.8/site-packages/pepper_polish-0.8.0-py3.8-linux-x86_64.egg/pepper/modules/python/perform_stitch.py", line 50, in perform_stitch contigs = list(hdf5_file['predictions'].keys()) 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/hannahg/Tools/pepper/venv/lib/python3.8/site-packages/h5py/_hl/group.py", line 264, in getitem oid = h5o.open(self.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 'predictions' doesn't exist)"

I have tried running the three commands individually but also get stuck at the stitch command. How do I get past this? I saw someone had this issue but couldn't see how to resolve it with your answer as it used sudo... apologies I'm very new to this. I had some problems with dependency clashes and wondered if this might be an issue, but am mostly lost.

Thanks for your help!