Skip to content
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

Error analyzing output_saturation #20

Open
bhavranek opened this issue Dec 12, 2021 · 7 comments
Open

Error analyzing output_saturation #20

bhavranek opened this issue Dec 12, 2021 · 7 comments

Comments

@bhavranek
Copy link

bhavranek commented Dec 12, 2021

Hello,

I have used the flex ddG protocol perfectly before. However, this time I am attempting to analyze the results from a saturation mutagenesis run and get the following error while executing:

python3 analyze_flex_ddG.py output_saturation/

Traceback (most recent call last):
File "analyze_flex_ddG.py", line 215, in
analyze_output_folder( folder_to_analyze )
File "analyze_flex_ddG.py", line 194, in analyze_output_folder
ddg_scores_dfs.append( apply_zemu_gam(ddg_scores) )
File "analyze_flex_ddG.py", line 40, in apply_zemu_gam
assert( score_term in scores.columns )
AssertionError

I have used the same protocol for other projects with no issue, but this system is bringing up the error above.

Any ideas? @kylebarlow

@wangtao-cell
Copy link

I also encountered this problem, please ask if this problem has been solved?

@Sinsilcobio
Copy link

Same with me. Any suggestion on how to resolve it?

@kylebarlow
Copy link
Member

Hi all, I am guessing that newer versions of Rosetta are returning different score terms. The GAM model was developed on Talaris score function output, and will only work on those scores. A fix should be to comment out the line ddg_scores_dfs.append( apply_zemu_gam(ddg_scores) ) that calls apply_zemu_gam. Can anyone confirm if that works?

@kylebarlow
Copy link
Member

I updated the code to wrap the call to the GAM function in try/except block, which might also fix the issue by leaving out the GAM scores if they can't be run.

@Sinsilcobio
Copy link

Thank you very much, Kyle!
I commented out the line and seems to be working fine!

@Sinsilcobio
Copy link

I am not sure if I should ask this question here...
But, I was just wondering if I can use the Flex_ddg for evaluating the effect of the mutations on destabilizing the monomeric protein forms (or does the flx_ddg only work for mutations at the binding interface of two chains?).
If the answer is positive, could you please give me a clue on how I might adopt the protocol for mutations in monomeric proteins?

@wangtao-cell
Copy link

wangtao-cell commented Aug 20, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants