# Load force fields for lipid and water.
# Please note that lipid14 and ff14SB are old and deprecated in AmberTools22.
# To use these old force fields, you might need to move lipid14 and ff14SB files from $AMBERHOME/dat/leap/cmd/oldff to $AMBERHOME/dat/leap/cmd.
source leaprc.protein.ff14SB
source leaprc.lipid14
source leaprc.water.tip3p

# Load pdb file.
POPC = loadpdb POPC1_H2O1.pdb

# save prmtop and rst7 files for MD simulation
saveAmberParm POPC POPC1_H2O1_Lipid14.prmtop POPC1_H2O1_Lipid14.rst7
