pablo-arantes / making-it-rain

Cloud-based molecular simulations for everyone
MIT License
377 stars 97 forks source link

Equilibration output error #75

Closed jdernic closed 11 months ago

jdernic commented 11 months ago

Dear Dr. Arantes,

First of all thank you for creating these notebooks.

I am writing in regards of the CHARMM-GUI input notebook. I am having issues with the equilibration step of a cyan fluorescent protein. I have created the input using CHARMM-GUI solution builder, which includes a modified amino acid (the chromophore). When I run the equilibration step it seems to immediately kick the protein out of the solvation box. Is this due to the modified amino acid? Would you have any recommendations on how to fix this problem?

I ran the example (1aki) simulation and it worked just fine.

I look forward to your response.

Kind Regards,

Jan

mdpoleto commented 11 months ago

Hi @jdernic . Assuming your equilibration is not crashing and you have a normal trajectory, what you described sounds like a simple PBC issue, where you are seeing the virtual image of your protein. Can you give us more details of which step you are running successfully and what is causing you issues?

I am assuming that you are visualizing the equilibration somehow and your ligand is within the water box while the protein is jumping but I want to confirm before suggesting any action.

jdernic commented 11 months ago

Dear Dr. Poleto,

Thank you for your quick response. Yes it is as you suggest. Initially when I visualize the input pdb file the protein is properly located inside the box. Also the equilibration step runs successfully, however when I visualize the output .pdb file and its trajectory in PyMol the protein seems to be on the edge of the box since the first equilibration step and then jumps around. However, the chromophore is not added as a ligand, rather as a modified amino acid (covalently bound to the protein).

jdernic commented 11 months ago

This is what the output looks like

Screenshot 2023-07-24 at 18 55 43
mdpoleto commented 11 months ago

Hi @jdernic yes, this is a well known PBC bug, but not an issue. The final .pdb written by OpenMM sometimes does not have your desired solute centered in the box. Your simulation is still completely valid. Thus, it is not a problem arising from our notebooks.

You can recenter your protein inside the simulation box by using several algorithms nowadays. MDAnalysis does a pretty good job at it (and our notebooks have a visualization cell where you can find a MDAnalysis code snippet so you can just use that), but you can also use other packages such as CHARMM or AMBER (depending which type of inputs you are using).

jdernic commented 11 months ago

Thank you very much for the help. I will recenter with MDAnalysis then.

mdpoleto commented 11 months ago

Perfect. Since it seems the bug/issue is solved, I am closing it.