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

Converting gromacs data to raw files #143

Open
nisargjoshi10 opened this issue Apr 24, 2021 · 1 comment
Open

Converting gromacs data to raw files #143

nisargjoshi10 opened this issue Apr 24, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@nisargjoshi10
Copy link

nisargjoshi10 commented Apr 24, 2021

Hello!

I am using dpdata for converting gromacs output files to raw files for deepmd-kit. I was able to get atom, atom types and coordinates from .gro file, but I was wondering how could I use dpdata to extract forces and energies? I have forces and energies in .trr & .xvg formats respectively from gromacs.

My questions are:

  1. do I need any specific format (from gromacs) to use dpdata and dump it to deepmd_raw files
  2. if not, how would I use dpdata for the same

Thanks,
Nisarg

@njzjz njzjz added the enhancement New feature or request label May 4, 2021
@AnguseZhang
Copy link
Collaborator

Hi Nisarg,
Currently, dpdata only supports for reading .gro file with system class, and doesn't support for reading energies and forces in Gromacs formats. One reason is that there are various formats in Gromacs, such as you can read energy from xvg , edr, or even log, and actual circumstances for users may diverge. If there is more specific proposals about user's interface and test cases, we would like to develop parsers for Gromacs. Also, you are strongly welcomed if you would like to contribute to this part.

Yuzhi

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

No branches or pull requests

3 participants