Dear all,
I had a free energy simulation converged results harvested by alchemcial analysis in 15 lambada windows in gromacs, just to increase the lambada windows to 20, I simply added the additional lambda points to my lambda vector and ran the simulations for those in order to use TI method with out any problem. Now, I have some .xvg files with 15 columns while some of .xvg file have 20 columns. I expected that the free energy change could be calculated via TI method (alchemical analysis package) easily, so, I invoked below command to get rid of other method except TI:
"alchemical_analysis -p prd. -u kcal -f 20 -o 100dis -s 100 -c -g -v -m '-ti_cubic-dexp-iexp-bar-mbar' -i 10".
However it crashed exactly in the *.xvg file (prd.15.xvg and afterward) in which additional \lambada getting involved.
Traceback (most recent call last):
File "/usr/bin/alchemical_analysis", line 9, in
load_entry_point('alchemical-analysis==1.0.2.dev0', 'console_scripts', 'alchemical_analysis')()
File "/usr/lib/python2.7/site-packages/alchemical_analysis-1.0.2.dev0-py2.7.egg/alchemical_analysis/alchemical_analysis.py", line 1207, in main
nsnapshots, lv, dhdlt, u_klt = parser_gromacs.readDataGromacs(P)
File "/usr/lib/python2.7/site-packages/alchemical_analysis-1.0.2.dev0-py2.7.egg/alchemical_analysis/parser_gromacs.py", line 308, in readDataGromacs
nsnapshots[nf,nf] += unixlike.wcPy(f.filename) - f.skip_lines - 1*bLenConsistency
IndexError: index 15 is out of bounds for axis 1 with size 15
Any idea to sort out the problem are highly appreciated.
Regards,
Alex
Dear all,
I had a free energy simulation converged results harvested by alchemcial analysis in 15 lambada windows in gromacs, just to increase the lambada windows to 20, I simply added the additional lambda points to my lambda vector and ran the simulations for those in order to use TI method with out any problem. Now, I have some .xvg files with 15 columns while some of .xvg file have 20 columns. I expected that the free energy change could be calculated via TI method (alchemical analysis package) easily, so, I invoked below command to get rid of other method except TI:
"alchemical_analysis -p prd. -u kcal -f 20 -o 100dis -s 100 -c -g -v -m '-ti_cubic-dexp-iexp-bar-mbar' -i 10".
However it crashed exactly in the *.xvg file (prd.15.xvg and afterward) in which additional \lambada getting involved.
Traceback (most recent call last):
File "/usr/bin/alchemical_analysis", line 9, in
load_entry_point('alchemical-analysis==1.0.2.dev0', 'console_scripts', 'alchemical_analysis')()
File "/usr/lib/python2.7/site-packages/alchemical_analysis-1.0.2.dev0-py2.7.egg/alchemical_analysis/alchemical_analysis.py", line 1207, in main
nsnapshots, lv, dhdlt, u_klt = parser_gromacs.readDataGromacs(P)
File "/usr/lib/python2.7/site-packages/alchemical_analysis-1.0.2.dev0-py2.7.egg/alchemical_analysis/parser_gromacs.py", line 308, in readDataGromacs
nsnapshots[nf,nf] += unixlike.wcPy(f.filename) - f.skip_lines - 1*bLenConsistency
IndexError: index 15 is out of bounds for axis 1 with size 15
Any idea to sort out the problem are highly appreciated.
Regards,
Alex