-
Notifications
You must be signed in to change notification settings - Fork 10
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
Issues with python plotting graphs #41
Comments
I can think of two reasons for why hydrophobicity is not computed properly:
As to whether or not a below bulk density of water is sensible, I could not tell without having much more information on the system you study. It really depends on your use case, the simulation data you have, and the underlying physical system. |
I tried setting the
This system consists of pores inside the proteins, and pores in between the proteins. For a short simulation looking at the pore inside one protein, I can generate hydrophobicity data. I also wanted to examine a pore in between proteins. I sliced my trajectory so the center of mass would be on the inter-protein pore, but with short trajectories I cannot generate hydrophobicity data. The system consists of proteins in a waterbox. The proteins are all standard amino acids, and the waterbox is water and ions. There are no large conformational changes happening in the simulation that would affect the pore size. The simulations are all atom, normal MD. What other information could help determine what is a reasonable density of water in this system? |
The error above suggests that Chap can not interpolate the hydrophobicity values at the individual residue positions into a continuous profile. The reason for this is hard to diagnose, it could be that no pore-lining residues are found due to the choice of the margin parameter. Generally speaking, I would suggest to start with just a single frame to identify good parameters. Then you can start going through trajectories to see if maybe some frames are particularly problematic. If need be, you can skip some pathological frames, so long as you have enough frames for statistical sampling. For hydrophobicity in particular, I would not expect much variation over time, if, as you say, there are no large conformational changes. Regarding water density: I assume visual inspection in e.g. VMD confirms the pore is water-filled? For radii > 1nm I would certainly expect that. One potential pitfall here is that CHAP does not pick up the waters as belonging to the right group of particles. It uses the libgromacs library for particle group parsing, which in my experience works best when sticking to Gromacs naming conventions. If you are using trajectories from other MD engines or use different residue names from what Gromacs expects, this might throw libgromacs off. Water molecules in particular can be named variously, according to force field and setup pipeline, as e.g. WAT, SOL, TIP, HOH etc. Can you confirm that CHAP picks up solvent particles? You might want to look at the |
Thanks for your help! After a lot of work, a coworker discovered the likely problem. For my system CHAP seemed to find multiple pores, and would crash when it tried to get results from distinct pores at the same time. I fixed this by manipulating my trajectories so that each one contained a single protein pore, but all of the solvent present in the system. Adjusting the |
Hello,
After running chap and selecting water to analyze, I created the free energy profile, hydrophobicity profile, radius profile and solvent number density profile graphs from here:
https://www.channotation.org/docs/plotting_python/
The free energy profile and radius profile graphs look realistic.
The hydrophobicity profile graph is a straight line at 0. There are no dots on the graph to show the hydrophobicity profile. Do you know why the hydrophobicities are not being read?
The solvent number density profile graph for water contains consistent density around ~5-10 nm^-3. However, the pore being analyzed is huge (3-4 nm wide) so I would assume there is a free passage of water through the pore, and that the density should be closer to free water density (~33 nm^-3). Do you know why the solvent density would be lower than free water? Is this realistic?
Thanks for your help!
The text was updated successfully, but these errors were encountered: