Dear gmx_MMPBSA users,
Perhaps this may seem like a silly question. I have tried running gmx_MMPBSA as a non-root user and failed. I installed it in root mode and from that type of user everything works perfectly. However, when doing it with a non-root user with one of the examples that is in this distribution (test_files / Protein_ligand / MT) I get the following error:
============================================
::::quintero@quimica:~/gmx_MMPBSA-master/test_files/Protein_ligand/MT> gmx_MMPBSA -O -i
mmpbsa.in -cs com.tpr -ci index.ndx -cg 1 13 -ct com_traj.xtc -rs rec.pdb -ri rec_index.ndx -rg 1 -rt rec_traj.pdb -lm ligand.mol2 -ls lig.pdb -li lig_index.ndx -lg 2 -lt lig_traj.pdb
[INFO ] Started
[INFO ] Loading and checking parameter files for compatibility...
[INFO ] Checking external programs...
[INFO ] cpptraj found! Using /opt/amber20/bin/cpptraj
[INFO ] gmx_mpi found! Using /home/quintero/bin/GROMACS/bin/gmx_mpi
[INFO ] tleap found! Using /opt/amber20/bin/tleap
[INFO ] parmchk2 found! Using /opt/amber20/bin/parmchk2
[INFO ] mmpbsa_py_energy found! Using /opt/amber20/bin/mmpbsa_py_energy
[INFO ] Checking external programs...Done.
[INFO ] Building AMBER Topologies from GROMACS files...
[INFO ] Checking if supported force fields exists in Amber data...
[INFO ] Get PDB files from structures files...
[INFO ] Making gmx_MMPBSA index for complex...
File "/usr/bin/gmx_MMPBSA", line 33, in <module>
sys.exit(load_entry_point('gmx-MMPBSA==1.2.0', 'console_scripts', 'gmx_MMPBSA')())
File "/usr/lib/python3.6/site-packages/gmx_MMPBSA-1.2.0-py3.6.egg/GMXMMPBSA/app.py", line 115, in gmxmmpbsa
app.loadcheck_prmtops()
File "/usr/lib/python3.6/site-packages/gmx_MMPBSA-1.2.0-py3.6.egg/GMXMMPBSA/main.py", line 591, in loadcheck_prmtops
maketop = CheckMakeTop(FILES, INPUT, self.external_progs)
File "/usr/lib/python3.6/site-packages/gmx_MMPBSA-1.2.0-py3.6.egg/GMXMMPBSA/make_top.py", line 100, in __init__
self.getPDBfromTpr()
File "/usr/lib/python3.6/site-packages/gmx_MMPBSA-1.2.0-py3.6.egg/GMXMMPBSA/make_top.py", line 135, in getPDBfromTpr
c2 = subprocess.Popen(make_ndx_args, stdin=c1.stdout, stdout=self.log, stderr=self.log)
File "/usr/lib64/python3.6/subprocess.py", line 729, in __init__
restore_signals, start_new_session)
File "/usr/lib64/python3.6/subprocess.py", line 1278, in _execute_child
executable = os.fsencode(executable)
File "/usr/lib64/python3.6/os.py", line 800, in fsencode
filename = fspath(filename) # Does type-checking of `filename`.
TypeError: expected str, bytes or os.PathLike object, not NoneType
Exiting. All files have been retained.
============================================
I appreciate all the help provided !!!!
Best regards
Jorge Quintero-Saumeth