-
Notifications
You must be signed in to change notification settings - Fork 10
SepTop analysis notebook #225
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
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
| @@ -0,0 +1,124 @@ | |||
| { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added this!
| @@ -0,0 +1,124 @@ | |||
| { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line #15. dg_0 = json_0["estimate"].magnitude
Would need to guard this with some try/excepts here, in case:
- You picked up a file that isn't a results JSON.
- The estimate is None for any of the repeats.
- There is not file for some repeats.
Reply via ReviewNB
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code is now filtering for result json files, raises a ValueError if the estimate is None, and when only a single repeat is provided, uses the MBAR error as uncertainty and uses the standard deviation if results from more results are provided. We may want to change this in the future.
| @@ -0,0 +1,124 @@ | |||
| { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'd probably want to give them a few flavours of this:
- What if they want to look at the individual legs of the cycle (i.e. look if things are going wrong with the solvent or complex leg)?
- What if they want to get a dG (here we can just refer to the cinnabar cookbook).
Reply via ReviewNB
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added these!
| @@ -0,0 +1,1065 @@ | |||
| { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line #12. # Use standard deviation as error when more than 1 repeat
Maybe this is a more general problem with the error estimation but you would want to switch all edges to use the MBAR error if any edge has a single repeat; otherwise, the errors might have very different magnitudes due to how the MBAR estimator works and you would bias the MLE predictions to the edges with errors from MBAR.
Reply via ReviewNB
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jthorton , I agree, that would be better! I won't have time to do this before my vacation, would you maybe be able to change this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No problem I can add that in!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added in 88bce0a
jthorton
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
No description provided.