Skip to content

Issue reading Gromacs written TNG file containing both positions and velocities #5039

Answered by orbeckst
conor-b-abraham asked this question in Q&A
Discussion options

You must be logged in to vote

By default, MDAnalysis uses the pytng package https://github.com/MDAnalysis/pytng for handling TNG.

However, you can also use the chemfiles library for many formats, including TNG, so perhaps try

u = mda.Universe("4.2_production.tpr", "4.2_unwrapped.tng", format="CHEMFILES")

Maybe chemfiles can do it.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@orbeckst
Comment options

@conor-b-abraham
Comment options

@orbeckst
Comment options

@conor-b-abraham
Comment options

Comment options

You must be logged in to vote
2 replies
@conor-b-abraham
Comment options

@orbeckst
Comment options

Answer selected by conor-b-abraham
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants