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

mol2 file generation #1

Open
haroldgrosjean opened this issue Sep 25, 2020 · 2 comments
Open

mol2 file generation #1

haroldgrosjean opened this issue Sep 25, 2020 · 2 comments

Comments

@haroldgrosjean
Copy link

Hello,

I am very interested in using your (amazing) tool to carry out advanced contact analysis of my protein-ligand simulations.

Could you recommend a way to convert the first frame (.gro file) of my gromacs trajectory (.xtc file) into a suitable mol2 file?

Many thank

Harold

@marcvdijk
Copy link
Member

marcvdijk commented Sep 26, 2020 via email

@marcvdijk
Copy link
Member

Dear Harold,

Returning to your question. There are no conversion methods to mol2 files part of the package yet.
The strategy I follow is to extract the first frame as PDB file and then using OpenBabel to convert it to mol2.
You can use the underlying MDTraj Topology object to select the first frame and save it as PDB (see MDTraj docs) or use the Gromacs tools to do the same.

Regards,

Marc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants