Skip to content

Commit

Permalink
Minor patch
Browse files Browse the repository at this point in the history
  • Loading branch information
JLittlef committed Feb 20, 2024
1 parent 8eba92a commit 629fb26
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion bin/openmm-runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,17 @@
from openmm.unit import *
import sys
from sys import stdout
from pdbfixer import PDBFixer

pdb = PDBFile(sys.argv[1])
#pdb = PDBFile(sys.argv[1])
pdb = PDBFixer(sys.argv[1])
pdb.findMissingResidues()
pdb.findNonstandardResidues()
pdb.replaceNonstandardResidues()
pdb.removeHeterogens(True)
pdb.findMissingAtoms()
pdb.addMissingAtoms()
pdb.addMissingHydrogens(7.0)
forcefield = ForceField('amber14-all.xml', 'amber14/tip3pfb.xml')
modeller = Modeller(pdb.topology, pdb.positions)
#modeller.deleteWater()
Expand Down

0 comments on commit 629fb26

Please sign in to comment.