In [1]:
from acpype_lib.acpype import ACTopol, MolTopol
import os
Directory where the Ligand.acpype folder will be saved
In [2]:
print(os.getcwd())
In [3]:
molecule = ACTopol('/home/lkagami/Downloads/Ligand.mol2')
In [4]:
molecule.createACTopol()
In [5]:
molecule.createMolTopol()
In [6]:
mol = MolTopol(acFileXyz='/home/lkagami/Ligand.acpype/Ligand_AC.inpcrd', acFileTop='/home/lkagami/Ligand.acpype/Ligand_AC.prmtop', debug=True)
In [7]:
mol.writeGromacsTopolFiles(amb2gmx=True)