-
Notifications
You must be signed in to change notification settings - Fork 82
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
Nanopolish does not include the required HDF5 plugin and/or VBZ decompression #231
Comments
this is assuming the input fast5 is the newer compression version that requires vbz. |
I've been looking into this issue as it has affected my runs of newer nanopore data created with the VBZ compression. At the nanopolish Github page, version 0.13.3 has noted better handling of VBZ-compressed files. I believe that upgrading the nanopolish container to > 0.13.3 would fix this issue as the VBZ plugin would be included in the container. Biocontainers doesn't have 0.13.3, but it has 0.14. I'm currently testing this to make sure that it does indeed solve the issue. |
Hello Matt, Is there any update on this error fix? I am getting similar error when trying to do RNA modification study with nanoseq. |
I agree with @matthewstuartedwards - a quick update to a newer container should resolve this. I haven't tested it but I would hope 0.14 would resolve the issue. |
Hey, I did test this out with the
Now since this is just an evironment variable being set issue, you can just make sure this is added at runtime in various ways. I added a file VBZ.conf in my locally downloaded version of the nanoseq pipeline and added it using the The contents of the VBZ.conf file are:
This is one method of adding the environment variable. I'm sure there's other ways too. Also, the best way to handle this is just for Nanopolish to have that environment variable set when creating the container. After adding the environment variable, the pipeline was able to execute on the newer VBZ compressed fast5 files. |
Dear Matt, Thank you so much for prompt response. Just making sure if you added VBZ.conf using -profile flag or -c. Also, please see if following steps I need to follow to fix this issue: In the following directory:
I will download vbz config from conda in this directory and create a config file with its path and provide this config file in the command to run this pipeline? |
I added the VBZ.conf file using the -profile flag. So it's just The fix isn't in the VBZ from conda. The main issue is you need a VBZ plugin that is provided by Oxford Nanopore. If you look at the package recipe for nanopolish, it now contains the So to fix the issue you need to:
You shouldn't need anything more to fix the issue provided you're using containers to execute nanopolish. |
Description of the bug
Bug 1: The included nanopolish doesn't included the required HDF5 plugins or VBZ file.
To rerproduce:
When creating a a fresh, base environment and minimal working example. The
nanopolish
step doesn't work (can't read fast5, error message attached)When
nanopolish
is installed in the local environment, (mamba create -n nanopolish_env nanopolish
and followed by 'export HDF5_PLUGIN_PATH=/data/eric/test_output/github_issues/ont-vbz-hdf-plugin-1.0.1-Linux/usr/local/hdf5/lib/plugin') it will work in thework
folder when executing locally, but resume vianextflow
still failsBug 2: When
nanopolish
fail (as noted in thework
folder's.command.log
), nextflow still reports success since theeventalign
output file is still made bynanopolish
. This "eventalign.txt" file only have the associated header.Command used and terminal output
Relevant files
No response
System information
Container engine: Singularity
Executor: local
Nextflow: v22.10.7
nf-core/nanoseq: v3.1.0-g6e563e5
OS: Ubuntu 20.04.3 LTS (GNU/Linux 5.15.0-48-generic x86_64)
The text was updated successfully, but these errors were encountered: