Hi everybody,
I am encountering this error, will someone know what is happening, what I am doing wrong?
I would greatly appreciate the help
P.S. I already checked the comments for a similar error but I haven't been able to resolve it.
[saraperez@pc-218-020 Alpha-CHLOR]$ conda activate gmxMMPBSA
(gmxMMPBSA) [saraperez@pc-218-020 Alpha-CHLOR]$ gmx_MMPBSA -O -i
mmpbsa.in -cs PROD.tpr -ci index.ndx -cg 2 3 -ct md_fit.xtc -cp topol.top -o FINAL_RESULTS_MMPBSA.dat -eo FINAL_RESULTS_MMPBSA.csv
[INFO ] Starting gmx_MMPBSA v1.6.2
[INFO ] Command-line
gmx_MMPBSA -O -i
mmpbsa.in -cs PROD.tpr -ci index.ndx -cg 2 3 -ct md_fit.xtc -cp topol.top -o FINAL_RESULTS_MMPBSA.dat -eo FINAL_RESULTS_MMPBSA.csv
tets
[INFO ] Checking
mmpbsa.in input file...
[INFO ] Checking
mmpbsa.in input file...Done.
[INFO ] Checking external programs...
[INFO ] cpptraj found! Using /home/saraperez/.conda/envs/gmxMMPBSA/bin/cpptraj
[INFO ] tleap found! Using /home/saraperez/.conda/envs/gmxMMPBSA/bin/tleap
[INFO ] parmchk2 found! Using /home/saraperez/.conda/envs/gmxMMPBSA/bin/parmchk2
[INFO ] sander found! Using /home/saraperez/.conda/envs/gmxMMPBSA/bin/sander
[INFO ] Using GROMACS version > 5.x.x!
[INFO ] gmx found! Using /usr/bin/gmx
[INFO ] Checking external programs...Done.
[INFO ] Building AMBER topologies from GROMACS files...
[INFO ] Get PDB files from GROMACS structures files...
[INFO ] Making gmx_MMPBSA index for complex...
[INFO ] Normal Complex: Saving group ACIC_ACHI (2_3) in _GMXMMPBSA_COM_index.ndx file as _GMXMMPBSA_COM.pdb
[INFO ] No receptor structure file was defined. Using ST approach...
[INFO ] Using receptor structure from complex to generate AMBER topology
[INFO ] Normal Receptor: Saving group ACIC (2) in _GMXMMPBSA_COM_index.ndx file as _GMXMMPBSA_REC.pdb
[INFO ] No ligand structure file was defined. Using ST approach...
[INFO ] Using ligand structure from complex to generate AMBER topology
[INFO ] Normal Ligand: Saving group ACHI (3) in _GMXMMPBSA_COM_index.ndx file as _GMXMMPBSA_LIG.pdb
File "/home/saraperez/.conda/envs/gmxMMPBSA/bin/gmx_MMPBSA", line 8, in <module>
sys.exit(gmxmmpbsa())
File "/home/saraperez/.conda/envs/gmxMMPBSA/lib/python3.9/site-packages/GMXMMPBSA/app.py", line 98, in gmxmmpbsa
app.make_prmtops()
File "/home/saraperez/.conda/envs/gmxMMPBSA/lib/python3.9/site-packages/GMXMMPBSA/main.py", line 682, in make_prmtops
self.FILES.mutant_receptor_prmtop, self.FILES.mutant_ligand_prmtop) = maketop.buildTopology()
File "/home/saraperez/.conda/envs/gmxMMPBSA/lib/python3.9/site-packages/GMXMMPBSA/make_top.py", line 123, in buildTopology
self.gmx2pdb()
File "/home/saraperez/.conda/envs/gmxMMPBSA/lib/python3.9/site-packages/GMXMMPBSA/make_top.py", line 513, in gmx2pdb
self.resi, self.resl, self.orderl = res2map(self.indexes, self.complex_str)
File "/home/saraperez/.conda/envs/gmxMMPBSA/lib/python3.9/site-packages/GMXMMPBSA/utils.py", line 601, in res2map
for e in value['num']:
TypeError: string indices must be integers
Exiting. All files have been retained.