-
Notifications
You must be signed in to change notification settings - Fork 54
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
tombo resquiggle doesn't work with particular fast5 files #254
Comments
This looks like potentially a VBZ compression issue. See the community note here and the github page here. If configuring this plugin does not resolve this issue please post here. |
Thank you for your quick reply! |
The compression is within the hdf5 file (applied to the raw signal via the plugin referenced in this error) and was recently changed to be the default output for all Nanopore reads. It is not obvious whether a particular downloaded file contains compressed signal (I’m not sure whether there is a tool to determine whether a file contains compressed signal). Thus I think the VBZ compression still might be the source of this issue. |
I installed the next package for this purpose: |
This is likely not the case since the files were successfully processed with The original error still suggests (as mentioned in the linked discussion) that the vbz plugin should solve this issue. Have you tried installing the plugin? |
I installed the plugin by |
You may have to set the I was mistaken concerning the vbz compression via the |
I did:
If this information could be useful, I re-basecalled the files from both groups using MinKNOW (Guppy). As a result, all remained the same: one group was processed successfully by h5repack, another wasn`t. |
Have you tried re-running the tombo command after installing the vbz plugin? |
Sorry, it is my rude mistake. You were totally right regarding the vbz_plugin.
|
Thank you for your brief & efficient solution @taras2706 |
Good afternoon, I apologize for my ignorance, I'm new to command lines.. how do I use the export command to export hdf5 plugin please? |
Hi,
I downloaded fast5 files for groups IVT and Vero-Infected (with corresponding fastaq files) from the repository: https://osf.io/8f6n9/. I run this code for fast5 files from the IVT group:
And all goes smoothly. However, when I am trying to run the same for Vero-Infected group, tombo resquiggle command output is :
[22:30:48] Loading minimap2 reference. [22:30:48] Getting file list. [22:30:48] Loading default canonical ***** RNA ***** model. [22:30:48] Re-squiggling reads (raw signal to genomic sequence alignment). 5 most common unsuccessful read types (approx. %): ----- ----- ----- ----- ----- 0%| | 0/8000 [00:00<?, ?it/s]Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/usr/lib/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/mnt/f/Chrome_Downloads/covid19/tombo/tombo/resquiggle.py", line 1662, in _io_and_mappy_thread_worker _io_and_map_read( File "/mnt/f/Chrome_Downloads/covid19/tombo/tombo/resquiggle.py", line 1395, in _io_and_map_read all_raw_signal = th.get_raw_read_slot(fast5_data)['Signal'][:] 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/taras/.local/lib/python3.8/site-packages/h5py/_hl/dataset.py", line 573, in __getitem__ self.id.read(mspace, fspace, arr, mtype, dxpl=self._dxpl) 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/h5d.pyx", line 182, in h5py.h5d.DatasetID.read File "h5py/_proxy.pyx", line 130, in h5py._proxy.dset_rw File "h5py/_proxy.pyx", line 84, in h5py._proxy.H5PY_H5Dread OSError: Can't read data (can't open directory: /usr/local/hdf5/lib/plugin)
And the same for each thread. Progress bas stops on some number from 0 to 30 and stucks.
Is it some issue with fast5 files from Vero-Infected group or corresponding fastaq file?
The text was updated successfully, but these errors were encountered: