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

Amber -> Gromacs trajectories with forces #257

Closed
solernou opened this issue Apr 20, 2015 · 3 comments · Fixed by #259
Closed

Amber -> Gromacs trajectories with forces #257

solernou opened this issue Apr 20, 2015 · 3 comments · Fixed by #259
Assignees
Milestone

Comments

@solernou
Copy link

Hi all,
I need to convert an NetCDF Amber trajectory into a trr Gromacs trajectory porting both coordinates and forces.
After a discussion with the developers, they concluded that although the NetCDF reader doesn't read Forces currently, it should be possible to include them, and then the TRR writer would be able to write a full Gromacs trajectory.
I prepared a tar ball with a short NetCDF Amber trajectory (just 1MB) that includes the forces, together with the .pdb, .top, and .crd files as well as the amber input file .in in order to help. That was sent to mdnalysis-discussion@googlegroups.com.

Thanks,
Albert

@orbeckst
Copy link
Member

The attachment is part of the email Re: [mdnalysis-discussion] Re: Amber -> Gromacs trajectories with forces and is a tar archive amberTraj.tar.bz2

richardjgowers added a commit that referenced this issue Apr 20, 2015
Start of issue #257

Added new force units to core.flags 'kcal/(mol*A)'
Added conversion for 'kcal/(mol*A)' => 'kJ/(mol*A)'
@richardjgowers richardjgowers added this to the 0.10 milestone Apr 20, 2015
@richardjgowers
Copy link
Member

I think I've done this (pending user feedback), the unit tests for the Reader are pending permission to use the trajectories.

richardjgowers added a commit that referenced this issue Apr 25, 2015
Thanks to Albert Solernou for the Amber trajectories.

Added ability to write velocities and forces to ncdf trajectories.
@orbeckst
Copy link
Member

@solernou says that @richardjgowers 's code works and gave his permission to include his files as test cases so I am closing this issue and have a look at #257.

richardjgowers added a commit that referenced this issue Apr 28, 2015
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