Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Converting gromacs data to raw files

Open
#143 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
data

Research direction

Start by checking dpdata's existing handling of the GROMACS .gro, .trr, and .xvg files and how data is dumped to DeepMD raw files. Done means establishing whether forces and energies can be extracted and converted with dpdata, or clearly documenting the required GROMACS formats and usage.

Written by the indexing model from the issue text.

Description

enhancement

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

Dominant language
Python
Stars
254
Forks
159
Avg merge
8d 3h
Merged PRs (30d)
1

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from deepmodeling/dpdata

All issues in deepmodeling/dpdata

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.