hdf5 in notebook cluster
Is there a way to get HDF5 installed on the notebook clusters without using sudo? It would be really great to not need a startup script.
I need it for reading loom/h5ad files for single cell analysis with scanpy and seurat.
Comments
9 comments
Hey Benjamin,
Will check on this and get back to you.
This seems to work for installing hdf5 from a notebook
but this fails with an error, of not able to load package or namespace in R. (the compilation works)
Hi Benjamin,
The team was able to run `! pip install h5py` and then run a couple examples from here: https://portal.hdfgroup.org/display/HDF5/Examples+from+Learning+the+Basics.
I will send the error messages above to the team as well.
Seems like h5py might work because it is already precompiled. Main issue is that I am trying to get this data into Seurat which needs the hdf5r package to work...
I have tried using a startup script with the below content to try to get it working, but just get an "internal error" message with no error file.
#!/usr/bin/env bash
apt-get update
apt-get install -yq libhdf5-dev
Looks like the script above was able to generate a cluster. Can you test this and let us know! Thanks!
Tested and confirmed! hdf5r is able to be installed in resulting cluster.
It would still be useful to not need the startup script, but this should work for now.
Thanks Benjamin,
I've passed on the request!
Dear all,
I had the same issue here.
Trying to work with the startup script now - but I am going with the same line as Benjamin Doran - it would be nice if it would have been pre-installed. The Seurat package in R which requires the rhdf5 - which requires the HDF5 - is becoming more important I think and there could be more people facing this issue.
Could you please install the this package? Thank you in advance.
Best wishes,
Simon
Hi Simon,
Thank you for the feedback, I will be sure to pass it along to the Notebook team!
Please sign in to leave a comment.