-
Notifications
You must be signed in to change notification settings - Fork 9
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 open file (h5py.h5f.open) #17
Comments
Hello, Could you try deleting the pyramid folder and launching again? |
Hi, unfortunately the same error persisted after deleting that pyramid folder. |
I am providing one more piece of information:
|
Would you mind sharing your hic_folder and your assembly so I can try to reproduce the error and see why there is a missing file? |
No problem at all, thank you so much for your help! Here they are: |
Hello, I was not able to reproduce this error, so I suppose this may be due to some dependency but I cannot figure out yet which one. Have you been able to run instaGRAAL successfully before? Were all the dependencies installed successfully? I see that you are using conda and we had some troubles before to install some dependencies for instaGRAAL when using conda. Could you send me the output of ls in the pyramid folder? As I did not have any issue to run your data and my GPU was not busy, I let it run completely and I deposited the output here https://we.tl/t-oI1KqffKOJ . You will find the pyramids folder, the instagraal output folder, and the final assembly. |
Basically it creates an empty directory of pyramid_1_no_thresh in the directory pyramid.
This is my first time trying instaGRAAL - I even started from an empty virtual instance on the Google Cloud Platform. I will try to reinstall the dependencies and let you know if I could pinpoint which dependency has the problem. I really appreciate for your help and actually the output looks super good. N50 is 57.0 Mb, and 10 chromosomes could be identified as expected. Both SALSA2 and Juicer/3D-DNA found 11 chromosomes and lower rate of mapping on the chromosomes - it seems that instaGRAAL outperformed both of the scaffolders. |
Also, I would like to quickly ask how I could visualise the contact matrix after instaGRAAL? Thank you a lot for your help! |
I'm glad you are happy with the result! I will still try to figure out what may have failed for this file to be missing. |
Nevermind, you actually need to regenerate the Hi-C map with the new genome after instagraal, can't do it directly on the input file AFAIK, sorry ! |
From my point of view, the problem is caused by the h5py version conflict. In instagraal/pyramid_sparse.py, the pyramid is initialized by:
However, if you use h5py > 3.0.0, the default file mode will be 'r':
The pyramid file won't be created so that the problem is caused. Go back to h5py 2.X , and the instaGRAAL will be OK!
|
Hello, This is indeed a good idea FirePanda007. I have updated the no_opengl accordingly, hung-th could you try again with the latest commit and tell me if this works fine? You will need to delete the pyramid folder before trying to run instaGRAAL. |
Thank you @cmdoret @FirePanda007 @nadegeguiglielmoni for all your useful and helpful inputs. Really much appreciated. The instaGRAAL is running nicely now and the pyramid files are being generated. Since the h5py problem is resolved, I will close the issue for now. Have a nice day and take care! |
Thank you for developing this super useful tool.
I have installed the instaGRAAL with no-opengl branch because freeglut always showed the display error same as others.
Then I ran the following command:
It looks like start running (
INFO :: start filtering
), but soon encounters an error:I will be very grateful if you can help with this problem.
The text was updated successfully, but these errors were encountered: