Skip to content
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

unable to plot individual .fast5 after installing vbz plugin #58

Open
emmarl25 opened this issue Sep 23, 2022 · 3 comments
Open

unable to plot individual .fast5 after installing vbz plugin #58

emmarl25 opened this issue Sep 23, 2022 · 3 comments
Assignees

Comments

@emmarl25
Copy link

I'm trying to run SquigglePlot on an individual .fast5 file on my Mac. Though the plot shows up, I don't see any current output; instead, I keep getting the error OSError: Can't read data (can't open directory: /opt/homebrew/Caskroom/miniforge/base/lib/hdf5/plugin). I then installed the vbz_compression plugin from ont-vbz through the following package listed in the installers: ont-vbz-hdf-plugin-1.0.1-Darwin.pkg. However, this still hasn't fixed the issue. I would appreciate any help.

Thanks,
Emma

@Psy-Fer Psy-Fer self-assigned this Sep 26, 2022
@Psy-Fer
Copy link
Owner

Psy-Fer commented Sep 26, 2022

Hello Emma,

When you say it "still hasn't fixed the issue", do you mean you are still getting the same OSError?
Are you running everything in an environment?

Please try reinstalling the libraries, specifically h5py.

pip remove h5py
pip install h5py

Let me know if that helps

James

@emmarl25
Copy link
Author

I removed and re-installed h5py via pip uninstall h5py and pip install h5py. However, when I went back and tried python SquigglePlot.py -i /data/.fast5, I still received the following error...
Screen Shot 2022-09-26 at 12 40 28 AM

@Psy-Fer
Copy link
Owner

Psy-Fer commented Sep 26, 2022

Ahh, i see.
Your mac has an ARM64 processor and you installed an x86_64 install

Please remove the VBZ version you installed, and re-install an ARM compatible version.

For example, this one.
https://github.com/nanoporetech/vbz_compression/releases/download/1.0.2/ont-vbz-hdf-plugin-1.0.2-Darwin-arm64.pkg

Note the -arm64 at the end.

Then re-install h5py and see if that works.

James

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants