ELELAB / mutatex

scripts and facilities for in-silico mutagenesis with FoldX
GNU General Public License v3.0
49 stars 8 forks source link

interface_ddgs #101

Closed bhavranek closed 3 years ago

bhavranek commented 3 years ago

Hello, I have tried running mutatex using the binding interface command. I even specified the binding interface_runfile_template.txt. However, after the job is completed and I check the results folder I only have the regular mutation_ddgs folder with the results. There are no results for the interface_ddgs. I am not sure how to proceed. This is the second time this has happened.

mtiberti commented 3 years ago

Hi, that is a bit strange indeed, can you please give us some more details about your calculation? At least the exact command you're using, and if something related to the interaction energies shows up in the output. Thank you!

bhavranek commented 3 years ago

mutatex ACE2_RBD_10ns.pdb ACE2_RBD_20ns.pdb ACE2_RBD_30ns.pdb --multiple-models -R repair_runfile_template.txt -I interface_runfile_template.txt -f suite5 --np 24 -p 24 -binding-interface --mutlist mutation_list.txt

this was my command. Is there something else I should try.

bhavranek commented 3 years ago

I am not sure what you mean by if something related to interaction energies shows up in the output.

bhavranek commented 3 years ago

I will also say when I use "--binding-interface" which is what the manual suggest it says unrecognized argument. I have to use "-binding-interface" for it to work

bhavranek commented 3 years ago

I would also like to ask, does it calculate the interaction energy for each individual residue with all possible mutants. Or only the interaction energy for the entire complex?

bhavranek commented 3 years ago

@mtiberti Hello, I have tried a number of different ways using a test pdb with 4 residues 2 in each chain A and B. No matter what I try I do not get the interface_ddgs only the mutation_ddgs folder.

mtiberti commented 3 years ago

it calculates the interaction energy between protein chains upon mutation (and mutations work as when just calculating folding energy - so it calculates it for every mutation). Could you please share your test PDB? I'll try and reproduce the issue

bhavranek commented 3 years ago

Hello, I believe I fixed the issue. It turns out that after specifying the input with -I I had to indicate "-B" for the binding interface energy. The --binding-interface command does not work.
This may be something helpful to include in an updated user manual.

bhavranek commented 3 years ago

One more question, do the negative values in the interface_ddgs calculations indicate that the amino acid change increases the interaction energy (more favorable binding) with the other chain? Picture attached below.

KA335_histogram.pdf

bhavranek commented 3 years ago

I also noticed that when I try to make a histogram with certain residues, I receive the error "ERROR: The loaded mutation data is not consistent in size. Exiting..."

bhavranek commented 3 years ago

I am receiving that error with a lot of the mutations.

bhavranek commented 3 years ago

Screenshot from 2020-11-02 20-14-46

Here is the exact error. Does this mean something went wrong with the calculation. It is happening on quite a bit of residues when I try to make a histogram for them?

mtiberti commented 3 years ago

hi, about your questions: 1) the --binding-energy option works in my tests - are you sure you're running the latest version in branch master? 2) yes - negative means improved interaction 3) the error you're getting comes probably from the fact that something went wrong in the calculation 4) MutateX is limited in residue compatibility by what FoldX supports (see http://foldxsuite.crg.eu/allowed-residues) . "HSD" isn't part of this set (is that a histidine tautomer?). The plotting tools expect a full set of mutations - if some of them fail you might get errors when plotting. So I recommend checking 1) if the "checked" PDB contains all the residues 2) if FoldX hasn't failed in mutating/recognizing some of the residues, you can see in the log files in each mutation directory if you're using --foldx-log (and also check issue #92) if all FoldX runs went fine

bhavranek commented 3 years ago

I reran the job using the FoldX recognized His residue. I am still receiving errors when making a histogram for some of the residues. The errors read WARNING: Selection ... no match was found; it will be skipped ERROR: The loaded mutation data is not consistent in Size. Exiting..

I can open the files for the mutations and see there is data there, but the histogram will not plot them.

bhavranek commented 3 years ago

How can I tell if I am running the latest version? I would also like to clarify that the error was not just for His residues but for other residues as well.

The heatmap for the mutation data also seems very off. I have ran this before and the heatmap data looked like the attached. Screenshot from 2020-11-03 13-12-50-1

However, the data I'm getting now is showing now is that the majority of the mutations are stabilizing. With the majority of the plot being dark blue. Screenshot from 2020-11-03 13-20-15

I can send the PDB if that would be helpful, but it will not let me attach it here. I would greatly appreciate if maybe you could try running with the PDB to see if you receive the same error.

mtiberti commented 3 years ago

About your question, that depends on when you downloaded it. You can compare that date with the last commit in the master branch here on GitHub.

About your results - agreed they look weird. Sure, please feel free to send it to via e-mail (it's in the README in the repo), I'll see what I can do, it'll take me a bit of time though

bhavranek commented 3 years ago

Thank you. I emailed you the PDB.

mtiberti commented 3 years ago

@bhavranek for the record, we solved this through personal communication - it was just a plotting scale issue. I'll close this.

jdkjsd commented 2 years ago

@mtiberti Hi, Screenshot 2022-06-18 111142

I have the same problem. Can you please tell me how to solve it?

thanks.