Skip to content

Converting gromacs data to raw files #143

Open

Description

@nisargjoshi10

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

Activity

  1. AnguseZhang commented on May 7, 2021

    @AnguseZhang
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions