Closed shaoqx closed 3 years ago
Hey @shaoqx ,
I believe this to be a duplicate of issue #2
At the moment pypka is only supported in Linux, so in order to use it in Windows one should use WSL (which I think you were using in the past and that's why you didn't get this error). In any case, there is also a docker image with the most recent version.
Unfortunately, coordinated amino acids and metals need to be parameterized. In the paper, we mentioned explicit ions to refer to solvated Cl- and Na+ ions. I believe the best way to use pypka on a protein which such a motif would be to set the coordinated amino acids to their neutral states (in the calculations the CYS residues would be protonated) and to not allow them to titrate by setting explicitly all the amino acids you are interested in following with the argument "sites" (or sites_
Sorry for the delayed answer, I had a little Xmas vacation :P I did see your email, but I think it is always better to answer here as it may help future users.
Thank you for the response! I was using WSL all the time, sorry for the misleading description. I tried with pip again today but still wont work. I want to try the docker version, but the installation of docker is not easy. Failed many times due to the network and even my hardware. Anyway, I found my older installation of pypka, which is working well. For the metal center, thank you for the explanation. I see how the parameterization of coordinated amino acids is the main obstacle. It's kind of a pity that there is currently no systematic method to determine pKa of coordinating residues. Maybe I will just do the empirical way.
You mean the pip install doesn't work on Windows, not not WSL, right? Your older installation is on WSL, can't you upgrade it?
I don't think you want to calculate the pKa of the coordinating residues. In this case HIS and CYS are bound to the metal center and remain in their deprotonated state, hence have no pKa as there is no equilibrium between deprotonated and protonated species.
My pip install didn't work on WSL. My order version was in a different conda environment. However, I did solve it by upgrading the pip and then upgrade pypka. I think it was my pip been too old. Thanks a lot!
In a high throughput context, I want to consider more possibilities than just HIS and CYS on Zn2+. For example, when this metal center is not so electrophilic (like Mg2+) and the coordinating residue has a tight H when treated alone (like SER). Coordinating to a metal center will make the X-H bond weaker and I can't be sure if deprotonation will happen in a specific pH with such influence.
Good, I am glad the problem is fixed!
About the metal center, I believe only with QM level calculations can you accurately answer that question. Best of luck!
Good point! Maybe QM pKa can be one of the functions of my high throughput platform. Working on that. All the Best!
I'm using the latest version from
pip3 install pypka
I got error like this:I also tried install with
git clone
andpip install .
to use the master branch, but still got this error. I'm using Windows and the older version I installed doesn't have such problem.BTW, can the program consider ion centers in the PDB structure? For example, if I have HIS and CYS coordinate to a Zn2+ will this affect the titration? If it can, how does it work? (I found in the paper you mentioned explicit ion.)