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

Implement an AuxReader that supports GROMACS EDR files #3629

Closed
BFedder opened this issue Apr 12, 2022 · 2 comments · Fixed by #3749
Closed

Implement an AuxReader that supports GROMACS EDR files #3629

BFedder opened this issue Apr 12, 2022 · 2 comments · Fixed by #3749

Comments

@BFedder
Copy link
Contributor

BFedder commented Apr 12, 2022

Is your feature request related to a problem?

When running MD simulations, it is often desirable to plot 'energy' terms like the potential energy, temperature, pressure, etc. of the system. The data to be plotted generally has to be extracted from output files and written to intermediate files to facilitate plotting. This is inconvenient when done for many simulations and/or many energy terms.

Describe the solution you'd like

@orbeckst, @jbarnoud and I had a discussion about this on the developer mailing list (https://groups.google.com/g/mdnalysis-devel/c/trOqoYcS5uk), where a possible solution is described with mock-up code.
Essentially, I suggest new energy file readers be added to the auxiliary framework of MDAnalysis that can parse the energy output files of GROMACS, Amber, NAMD, OpenMM, etc.
For GROMACS, a lot of what would need to be done is already possible thanks to panedr (https://github.com/jbarnoud/panedr).
Integrating these readers among the current aux readers would allow users to associate energy data with trajectories, and for example filter timesteps by associated potential energy.
I think expanding the capabilities of MDAnalysis and enabling the parsing of a thus far untapped block of MD output data makes sense.

Describe alternatives you've considered

Keep things as they are and not add energy file readers.

@IAlibay
Copy link
Member

IAlibay commented May 31, 2022

@BFedder following from today's discussion - this might also be a good place to link to when wanting to discussing things related to your GSoC project

@orbeckst
Copy link
Member

orbeckst commented Jun 9, 2022

An AUX GROMACS EDRReader is part of @BFedder 's GSOC project #3714 and we are now looking into how to get MDAnalysis/panedr into shape so that it can be used as a dependency.

@BFedder BFedder mentioned this issue Jul 9, 2022
9 tasks
@BFedder BFedder changed the title Include readers for GROMACS edr files / energy files in general Implement an AuxReader that supports GROMACS EDR files Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants