mizu-bai / openmm-state-to-g96

Convert OpenMM state xml to g96 format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

openmm-state-to-g96

Convert OpenMM state xml to g96 format

Usage

$ python3 state2g96.py -h
usage: state2g96 [-h] -f F [-o O]

Convert OpenMM state xml to g96 format.

optional arguments:
  -h, --help  show this help message and exit
  -f F        OpenMM state xml
  -o O        Output g96 file

Have a try

$ cd example
$ python3 ../src/state2g96.py -f state.xml -o state.g96

Then the state.g96 can be converted into pdb or gro format with GROMACS

$ gmx trjconv -f state.g96 -o state.gro -s md.tpr
$ gmx trjconv -f state.g96 -o state.pdb -s md.tpr

License

BSD 2-Clause License

About

Convert OpenMM state xml to g96 format

License:BSD 2-Clause "Simplified" License


Languages

Language:Python 100.0%