-
Notifications
You must be signed in to change notification settings - Fork 667
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
use information in H5MD file for topology #4320
Comments
@supernovaZhangJiaXing I haven't heard of Mindspore SPONGE before. MDAnalysis implements the official h5md specifications so I'd like to understand how MDAnalysis fails.
|
Unless we get more information there's not much we can do and we will close the issue in about a week. |
Thank you very much! I have checked the files. Firstly, the previous trajectory file I analyzed exactly contains no valuable information because of my mistake. I have regenerated a new simple trajectory with 12 water molecules. Now I can clearly see the molecules with VMD and the data inside with VSCode extension H5Web. Then I face two problems:
I found that at The related files h5md.zip have been uploaded. Hope the problem I found could be discussed. Thank you! |
It depends on the information in the h5md — if there is enough to build a minimal topology, e.g., from the Particles, then one could write a H5MDParser (topology reader). We just don't have that yet. You can raise a separate issue. Perhaps someone is keen to work on it. The more information (including links to the format) you provide there, the more likely it is that someone might take it up.
According to #4047, GROMACS 2023 TPR is supported since MDAnalysis 2.5.0. Which version are you using? (You didn't supply this information as part of the issue — next time please follow the issue template.) |
@edisj are you able to look at the H5MD problem here, in particular the issue reading the attached file above with error
|
Thank you and sorry for not providing the version. I installed MDAnalysis by conda from conda-forge. The version is 2.6.1 as following code: >>> import MDAnalysis
/opt/anaconda3/lib/python3.11/site-packages/MDAnalysis/topology/TPRParser.py:161: DeprecationWarning: 'xdrlib' is deprecated and slated for removal in Python 3.13
import xdrlib
>>> MDAnalysis.__version__
'2.6.1' |
If MDA 2.6.1 can't read a GROMACS 2023 TPX 129 file then please open a new issue; it's really important for us to keep different problems separate so that they can be worked on separately. Different developers are also interested in different problems so having it as a separate issue will allow us to involve developers that might not care a lot about H5MD. Thanks! |
Regarding your h5md:
Could you please install pyh5md and report on the results of reading your file with it? |
Thank you! I'll open a new issue about this problem. |
@supernovaZhangJiaXing did you check as requested in #4320 (comment) ? If there's no new information then I may close the issue as stale. |
The problem with H5MD and the I am leaving this issue open for the feature request to be able to use a h5md file to supply (minimal) topology information. I am changing the title to make this clearer. |
GROMACS indicated they have some plans for this in MDDB work but no solid standard yet. |
I generated h5md trajectories with MD simulation program Mindspore SPONGE. But the trajectory cannot be loaded by MDAnalysis simply. Hope that the H5MD reader will be better supported by MDAnalysis so that we can analysis the h5md trajectory like generated by other MD programs.
The text was updated successfully, but these errors were encountered: