Created
November 14, 2016 20:05
-
-
Save hainm/cfa667853fc84c81df5d32e2135a184e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sander | |
import parmed | |
options = sander.pme_input() | |
options.cut = 8.0 | |
options.ntr = 1 | |
options.refc = '../ubiquitin/inpcrd' | |
options.restraintmask = '!:WAT' | |
options.restraint_wt = 1. | |
rst = parmed.load_file('../ubiquitin/inpcrd') | |
with sander.setup("../ubiquitin/prmtop", rst.coordinates, rst.box, options): | |
e, f = sander.energy_forces() | |
print(e.tot) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment