Open yanze039 opened 1 year ago
For Question 1, I found that the searching criteria for "#include forcefield.itp" should change.
If no forcefields are included in the top
file, we can search for [ defaults ]
and add ligand.atp
below the [ defaults ]
, so that all atomtypes can be indentified.
For Question 2, when employing on Cluster like Slurm, PyAutoFEP
will use the tmp
area to manipulate the files. But somtimes the permission to that path may have problems.
I solved this problem by enforcing the cwd
of gmx
to that tmp
, so that there is no move of file from user space to tmp
space.
Hello @Dead-fisher , I am another user using the same trick as you to use Amber FF. If I understand you properly, you edited the searching for 'include forcefield.itp' to a searching for 'defaults', where you include the atomtype file. Is that it? Thanks for the clarification!
Ferran
Hi @Fplanas92 , Yeah, that’s my solution to it.
Thank you for your comments and sorry it took me a while to reply. I started a position in industry and my time has been quite limited these last weeks.
output_hidden_temp_dir=False
to avoid using tmpfs
. Hi @luancarvalhomartins,
Cheers on your new positions.
My .top
files are generated by ambertools
and converted by Parmed
. So it doesn't have #include
. Instead, it contains all of the necessary ff params in itself.
I prepared a minimal example at my repo for you https://github.com/Dead-fisher/FEP_files from where you probably are able to reproduce all my problems around these issues.
Thanks for your contribution anyway!
Hi,
I am using
PyAutoFEP
to calculate the free energy values of 3 pairs. Previously, my other simulations were conducted byamber14ff
viagromacs-2022
and I would like to use them here as well. Sinceamber14ff
is not officially supported bygromacs
, what I am doing is modeling and parametering the system (protein + ligands) byambertools
and convert the file to Gromacs format viaparmed
. So what I have is actually thegro
file and thetop
file of these molecules. I don't have the forcefield files. Also, my ligands are already in the good binding pose since I just modified them from the co-crystal. They have very obvious MCS.When I am using
PyAutoFEP
, because I already parameteried and solvated my system, I tried to usepre_solvated=True
and providestructure
andtopology
to load my prepared system. I also usepose_loader = generic
and giveposes_input
to load prepared ligands.Because my
.top
files don't contain any#include
lines, I encoundered some trouble when adding ligand to system topology. I fixed it by skipping the searching for#include
But I am fully stuck at the solvation of ligands. I am not very clear the mechanism here. In my case where I don't have the forcefield but have the
gro
andtop
, how does it prepare the water model and get the parameters for ligand-water system?Also, when I am running the code to solvate the ligands, I got a following bug which I have no idea how it comes out:
Thank you!