Science Blog of Dr. Yuan分享 http://blog.sciencenet.cn/u/albumns This blog is mainly on Molecular molecular modelling and simulations

博文

ParmEd, a cross-program parameter and topology file editor

已有 1632 次阅读 2017-10-3 02:33 |个人分类:科研笔记|系统分类:论文交流


Description

ParmEd is a package designed to facilitate creating and easily manipulatingmolecular systems that are fully described by a common classical force field.Supported force fields include Amber, CHARMM, AMOEBA, and several others thatshare a similar functional form (e.g., GROMOS).

ParmEd is capable of reading and writing to a wide array of different fileformats, like the Amber topology and coordinate files, CHARMM PSF, parameter,topology, and coordinate files, Tinker parameter, topology, and coordinatefiles, and many others. The expressive central data structure (the Structureclass) makes it easy to quickly and safely manipulate a chemical system, itsunderlying topology, and force field parameters describing its potential energyfunction.

There are two parts of ParmEd---a documented API that you can incorporate intoyour own Python scripts and programs, and a GUI/CLI pair of programs thatprovide a means to quickly perform various modifications to chemical systems forrapid prototyping.

The API also provides bindings to the OpenMMlibrary, permitting you to carry out full molecular dynamics investigationsusing ParmEd on high-performant hardware, like AMD and NVidia GPUs.


Installing ParmEd

To install ParmEd, either clone this git repository or download the latestrelease and unpack the resultingtarball. This should create a new ParmEd source code directory. Change to thatdirectory and build ParmEd with the command

python setup.py install

Note, if you are using the system Python, you may need to either run the abovecommand as root (e.g., by using sudo) or add the --user flag to installit to your home directory. I would suggest the latter choice.

AMBER user can overwrite installed version by

python setup.py install --prefix=$AMBERHOME


Examples

import parmed as pmd

# convert GROMACS topology to AMBER format
gmx_top = pmd.load_file('pmaawaterFE20mer2.top', xyz='pmaawaterFE20mer2.gro')
gmx_top.save('pmaa.top', format='amber')
gmx_top.save('pmaa.crd', format='rst7')

# convert AMBER topology to GROMACS, CHARMM formats
amber = pmd.load_file('prmtop', 'inpcrd')
# Save a GROMACS topology and GRO file
amber.save('gromacs.top')
amber.save('gromacs.gro')

# Save a CHARMM PSF and crd file
amber.save('charmm.psf')
amber.save('charmm.crd')

# convert mol2 to pdb file
mol2_parm = pmd.load_file('my.mol2')
mol2_parm.save('my.pdb')

# and many more


More documents

http://parmed.github.io/ParmEd/html/readwrite.html


Download

https://github.com/ParmEd/ParmEd  



http://blog.sciencenet.cn/blog-355217-1078860.html

上一篇:Designing Safer Analgesics via u-Opioid Receptor Pathways
下一篇:Nobel Prize 2017 in Chemistry

0

该博文允许注册用户评论 请点击登录 评论 (1 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备14006957 )

GMT+8, 2018-12-13 16:45

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部