-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprep_crd+topol.sh
25 lines (17 loc) · 969 Bytes
/
prep_crd+topol.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh
# ******************</DECLARE VARIABLES AND CONSTANTS>*******************
# filepaths
PDB_PREF=$1
expt_fp="expts/acetone_1_298_AON_G54a7_5000000/"
# ******************<PREPARE EXPT FOLDERS>********************
# Convert the file to a .gro file with pdb2gmx
# ALL CANONICAL RESIDUES
# 1. Obtain coordinate and topology files
#gmx pdb2gmx -f ${GROMACS_PDB}_clean.pdb -o ${GROMACS_PDB}_proc.gro # Process file with crystal waters
# NONCANONICAL RESIDUES
# 1. Obtain coordinate and topology files from an include topology file (.itp)
#gmx pdb2gmx -f ${expt_fp}${PDB_PREF}.pdb -i gromos54a7_atb.ff/ac_atb.itp -p ${expt_fp}topol.top -o ${expt_fp}${PDB_PREF}_proc.gro
# cyclic peptides
#gmx pdb2gmx -f ${expt_fp}${PDB_PREF}.pdb -i gromos54a7_atb.ff/ac_atb.itp -p ${expt_fp}topol.top -o ${expt_fp}${PDB_PREF}_proc.gro -ter -missing -ignh
# Edit the box by changing its dimensions
gmx editconf -f ${PDB_PREF}.gro -o ${PDB_PREF}_newbox.gro -c -d 1.0 -bt cubic