STRique icon indicating copy to clipboard operation
STRique copied to clipboard

VBZ fast5 results in failure to read fast5

Open mattdmem opened this issue 3 years ago • 2 comments

Newer versions of MinKNOW now compress fast5 files with VBZ compression which causes strique.py count to fail.

Nanopore have provided an updated hd5 plugin to handle VBZ, however I'm struggling to get this to work with STRique

https://github.com/nanoporetech/vbz_compression

I've successfully used the tool they provide in the fast5 api (compress_fast5) to convert back to gzip which fixes the issue so it's definitely the switch to VBZ compression.

Any ideas (apart from changing all fast5 to gzip)?

mattdmem avatar Jul 30 '21 15:07 mattdmem

could you try setting the following environment variable to point hdf5 to the compression (libvbz_hdf_plugin.so.1.x.y): export HDF5_PLUGIN_PATH=/somepath/lib

giesselmann avatar Aug 02 '21 08:08 giesselmann

I had the same problem (required filter 'vbz' is not registered), and solved it by installing the following after referring to https://github.com/jts/nanopolish/issues/945#issuecomment-939092891: pip3 install pycparser-2.21-py2.py3-none-any.whl pip3 install cffi-1.15.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl pip3 install pyvbz-1.0.1-cp36-cp36m-linux_x86_64.whl dpkg -i ont-vbz-hdf-plugin_1.0.2-1.bionic_amd64.deb

sxz-ivan avatar Jun 12 '22 12:06 sxz-ivan