-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pymbar can't estimate bound on free energy #49
Comments
Can you attach (i.e. via Dropbox or Google drive) your xvg files? Also, it could be a naming issue - I think we're expecting xvg files to Let us know! On Tue, Dec 15, 2015 at 9:59 PM, nhoutz1 [email protected] wrote:
David Mobley |
Sure, I uploaded my .xvg files here: https://drive.google.com/folderview?id=0B6lGyVspwiohb2Q5eGpmRG05b3M&usp=sharing. And they do have dots in the names but I can see in your email reply the dots didn't show up for you. I tried renaming everything 'a.0.xvg', 'a.1.xvg' etc. but then the error became: ERROR! Thinking the code might be upset by the fact that my names begin with 0 (gromacs convention) instead of 1, I tried excluding 0.xvg by moving it to another folder to see if it would run but I got the same error as before where something complains when it tries to access the 0th (1st?) index of some array. Thank you for your help! |
No, we use numbering beginning with 0/1 as well. Could you provide the exact command you use to alchemical_analysis when you If so, then it's probably an issue where we need to fix something to play Thanks. On Wed, Dec 16, 2015 at 5:26 PM, nhoutz1 [email protected] wrote:
David Mobley |
That was the issue! I thought the -p flag was for pressure, not prefix. I think it used to be, anyway, and that is what it says in the old tutorial that I linked in my original post. I thought I was telling the program that my system was at 1 atmosphere, hence the '-p 1' which I did not change when I used the 'a.#.xvg' naming convention. Sorry, I should have read through all the flags on the main page. Unfortunately, I now get a new error. Calling it like this:
Results in this: |
I have performed a bunch of thermodynamic-integration simulations for liquid water in Gromacs, and am trying to analyze the .xvg files. I'm using Windows 10 and installed Anaconda2 (64 bit) with the gui installer and then pymbar through Anaconda2 before downloading alchemical-analysis-master.
In a Windows command prompt, I entered:
This is the result:
Traceback (most recent call last):
File "alchemical_analysis.py", line 1224, in
main()
File "alchemical_analysis.py", line 1166, in main
nsnapshots, lv, dhdlt, u_klt = parser_gromacs.readDataGromacs(P)
File "C:<...>\alchemical-analysis-master\alchemical_analysis\parser_gromacs.py", line 187, in readDataGromacs
fs = sorted(fs, key=F.sortedHelper)
File "C:<...>\alchemical-analysis-master\alchemical_analysis\parser_gromacs.py", line 48, in sortedHelper
self.state = l[0] = int(l[0]) # Will be of use for selective MBAR analysis.
IndexError: list index out of range
where <...> is just the directory to which I downloaded alchemical-analysis-master. I don't understand the error and cannot find help for it online. In the directory where I have the .xvg files, all the files are simply named integers: 0.xvg, 1.xvg, 2.xvg, .... 20.xvg, and there are no other files in that folder. Am I calling the script correctly? Could it be the operating system (Windows vs. Linux)? I might be able to get on a Linux machine if it would help.
The text was updated successfully, but these errors were encountered: