Skip to content

Commit

Permalink
Merge branch 'master' of github.com:apallath/INDUSAnalysis
Browse files Browse the repository at this point in the history
  • Loading branch information
apallath committed Sep 25, 2023
2 parents 17d411a + c5cf50a commit eeeb8d5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions scripts/poly_prep/pdb2opls.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"""
Reads PDB file and an input file matching PDB atom types to GROMACS OPLS codes to generate the following:
- GROMACS structure file (.gro)
- GROMACS Molecule topology file (.itp)
"""

import argparse

import MDAnalysis as mda

parser = argparse.ArgumentParser()
parser.add_argument("pdbname", help="PDB file name/path")
parser.add_argument("gmx_opls_path", help="path to GROMACS oplsaa.ff")
parser.add_argument("atom_opls_index", help="index matching PDB atom types to GROMACS opls code")

0 comments on commit eeeb8d5

Please sign in to comment.