Valdes-Tresanco-MS / gmx_MMPBSA

gmx_MMPBSA is a new tool based on AMBER's MMPBSA.py aiming to perform end-state free energy calculations with GROMACS files.
https://valdes-tresanco-ms.github.io/gmx_MMPBSA/
GNU General Public License v3.0
218 stars 64 forks source link

Insertion code error (invalid literal for int() with base 10: '52A') #224

Closed drsandhyaks closed 2 years ago

drsandhyaks commented 2 years ago

Dear Valdes, After dynamics simulation, i conducted gmx mmpbsa .but i got errors. i found in the trajectory file, rsmd is very huge for sometimes. but overall system is stable. i got like this for anothe systems but i able to do gmx_mmpbsa cal. i dont know wht is the plm here

test

(base) dcbsandhya@kugpu1:~/O/BA1CR302302$ gmx_MMPBSA -O -i mmpbsa.in -cs md_0_1.tpr -ci index.ndx -cg 18 19 -ct md_0_1_noPBC.xtc -cp topol.top [INFO ] Starting [INFO ] Command-line gmx_MMPBSA -O -i mmpbsa.in -cs md_0_1.tpr -ci index.ndx -cg 18 19 -ct md_0_1_noPBC.xtc -cp topol.top

[WARNING] protein_forcefield and ligand_forcefield variables are deprecate since version 1.4.1 and will be remove in the next version. Please, use forcefield instead. [WARNING] entropy_seg variable is deprecate since version 1.4.2 and will be remove in v1.5.0. Please, use ie_segment instead. [INFO ] Checking external programs... [INFO ] cpptraj found! Using /opt/anaconda3/bin/cpptraj [INFO ] tleap found! Using /opt/anaconda3/bin/tleap [INFO ] parmchk2 found! Using /opt/anaconda3/bin/parmchk2 [INFO ] sander found! Using /opt/anaconda3/bin/sander [INFO ] Using GROMACS version > 5.x.x! [INFO ] gmx found! Using /usr/local/gromacs/bin/gmx [INFO ] Checking external programs...Done.

[INFO ] Building AMBER Topologies from GROMACS files... [INFO ] Checking gmxMMPBSA data folder exists in Amber data... [INFO ] Get PDB files from GROMACS structures files... [INFO ] Making gmx_MMPBSA index for complex... [INFO ] Normal Complex: Saving group 18_19 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 Complex: Saving group 18 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 19 in _GMXMMPBSA_COM_index.ndx file as _GMXMMPBSA_LIG.pdb [INFO ] Building Normal Complex Amber Topology... File "/opt/anaconda3/bin/gmx_MMPBSA", line 8, in sys.exit(gmxmmpbsa()) File "/opt/anaconda3/lib/python3.8/site-packages/GMXMMPBSA/app.py", line 95, in gmxmmpbsa app.make_prmtops() File "/opt/anaconda3/lib/python3.8/site-packages/GMXMMPBSA/main.py", line 576, in make_prmtops self.FILES.mutant_receptor_prmtop, self.FILES.mutant_ligand_prmtop) = maketop.buildTopology() File "/opt/anaconda3/lib/python3.8/site-packages/GMXMMPBSA/make_top.py", line 117, in buildTopology tops = self.gmxtop2prmtop() File "/opt/anaconda3/lib/python3.8/site-packages/GMXMMPBSA/make_top.py", line 318, in gmxtop2prmtop com_top = self.cleantop(self.FILES.complex_top, self.indexes[0] + self.indexes[1]) File "/opt/anaconda3/lib/python3.8/site-packages/GMXMMPBSA/make_top.py", line 598, in cleantop rtemp_top = parmed.gromacs.GromacsTopologyFile(ttp_file.as_posix()) File "/opt/anaconda3/lib/python3.8/site-packages/parmed/gromacs/gromacstop.py", line 251, in init self.read(fname, defines, parametrize) File "/opt/anaconda3/lib/python3.8/site-packages/parmed/gromacs/gromacstop.py", line 311, in read molecule.add_atom(*self._parse_atoms(line, params)) File "/opt/anaconda3/lib/python3.8/site-packages/parmed/gromacs/gromacstop.py", line 492, in _parse_atoms return atom, words[3], int(words[2]) ValueError: invalid literal for int() with base 10: '52A' Exiting. All files have been retained.

Valdes-Tresanco-MS commented 2 years ago

Please use understandable language, I am not a natural English speaker and it is difficult to understand what you are trying to say with so many incomplete words. For future errors, please use the template we have provided, that way we can get a minimum of information.

Solution This bug is fixed by updating parmed

python -m pip install git+https://github.com/Valdes-Tresanco-MS/ParmEd.git@v3.4

Notes That jumps in the RMSD are probably because you have not completely eliminated the PBCs. Note that this can lead to errors in the energy calculation and many cases, an increase in computation time. Make sure that you have completely removed the PBCs before using gmx_MMPBSA.

drsandhyaks commented 2 years ago

Dear valdes, Sorry for that. I will try once more by removing pbc in md.

Can we use truncated .xtc file for gmx calculation??

On Sun, 1 May 2022, 9:45 am Mario Sergio Valdés Tresanco, < @.***> wrote:

Please use understandable language, I am not a natural English speaker and it is difficult to understand what you are trying to say with so many incomplete words. For future errors, please use the template we have provided, that way we can get a minimum of information.

Solution This bug is fixed by updating parmed

python -m pip install @.***

Notes That jumps in the RMSD are probably because you have not completely eliminated the PBCs. Note that this can lead to errors in the energy calculation and many cases, an increase in computation time. Make sure that you have completely removed the PBCs before using gmx_MMPBSA.

— Reply to this email directly, view it on GitHub https://github.com/Valdes-Tresanco-MS/gmx_MMPBSA/issues/224#issuecomment-1114126564, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV5PDGFF3YEZWLQ27ZAAJQDVHYAN3ANCNFSM5UZG3TRA . You are receiving this because you authored the thread.Message ID: @.***>

marioernestovaldes commented 2 years ago

what do you mean with truncated .xtc file?

drsandhyaks commented 2 years ago

shorten by cutting of .xtc file.

drsandhyaks commented 2 years ago

thanks valdes..🙏👍😁 now its working I updated parmed..

.

On Sun, May 1, 2022 at 9:45 AM Mario Sergio Valdés Tresanco < @.***> wrote:

Please use understandable language, I am not a natural English speaker and it is difficult to understand what you are trying to say with so many incomplete words. For future errors, please use the template we have provided, that way we can get a minimum of information.

Solution This bug is fixed by updating parmed

python -m pip install @.***

Notes That jumps in the RMSD are probably because you have not completely eliminated the PBCs. Note that this can lead to errors in the energy calculation and many cases, an increase in computation time. Make sure that you have completely removed the PBCs before using gmx_MMPBSA.

— Reply to this email directly, view it on GitHub https://github.com/Valdes-Tresanco-MS/gmx_MMPBSA/issues/224#issuecomment-1114126564, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV5PDGFF3YEZWLQ27ZAAJQDVHYAN3ANCNFSM5UZG3TRA . You are receiving this because you authored the thread.Message ID: @.***>

Valdes-Tresanco-MS commented 2 years ago

shorten by cutting of .xtc file.

Yes, you can pass one or several trajectories fragments, or select the range using the startframe, endframe and interval variables in the input file

drsandhyaks commented 1 year ago

shorten by cutting of one portion of .xtc file

On Sun, May 1, 2022 at 1:21 PM Mario E. Valdés-Tresanco < @.***> wrote:

what do you mean with truncated .xtc file?

— Reply to this email directly, view it on GitHub https://github.com/Valdes-Tresanco-MS/gmx_MMPBSA/issues/224#issuecomment-1114161140, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV5PDGEGNDLMYAOR6TES2VDVHYZYDANCNFSM5UZG3TRA . You are receiving this because you authored the thread.Message ID: @.***>