Comments (9)
@kmonson, can you comment? Do you know off the top of your head where this is happening?
from pdb2pqr.
In this branch I tried to fix it with liberal use of OrderedDicts (4bad162a6c03d79e109d6e9c9d5b69312bb59881).
from pdb2pqr.
I'm not sure where the problem is in this case. We try to be deterministic everywhere it matters. I know that for debumping we use the same order. In the graphcut code in pdb2pka order doesn't matter if the algorithm is implemented correctly.
I could see a case (based on what changed in @tonigi's branch) where the hbond optimization could happen out of order and cause a problem. The algorithm checks each half of a potential bond and sometime the results of the first half causes the second half to be skipped. I was under the impression that it was symmetrical, but that may not be the case.
It would certainly explain the one pdb2pka test case we saw that was platform dependent.
from pdb2pqr.
It seems like this must have been a problem even before @tonigi ported the code to Python 3. Right? I mean, dict ordering has never been guaranteed. At least not that I've seen.
from pdb2pqr.
Yes. Python3 only made it easier to spot because it enforces randomization between runs (and not just between platforms).
from pdb2pqr.
By the way, Py 3.6 again changed the behaviour of dictionaries, which are now ordered . Still, it is probably a good idea to be explicit in the use of OrderedDict if the goal is to be deterministic.
from pdb2pqr.
from pdb2pqr.
@intendo -- can you see if Electrostatics/apbs-pdb2pqr@4bad162 can be merged?
from pdb2pqr.
The -R
option is no longer supported so I am closing this issue.
from pdb2pqr.
Related Issues (20)
- Update ChangeLog with changes since last release
- Need to update PDB2PQR Python compatibility.
- Update copyright date to 2023
- hydrogen atoms with zero radius ?! HOT 1
- Fix broken PDB2PQR documentation
- Release PDB2PQR 3.6.1 HOT 1
- There are concatenated fields in PQR output HOT 1
- chelation sites
- Pending job start HOT 4
- naming inconsistency with CHARMM HOT 6
- Residues being renamed TER HOT 1
- producing pqr file for ligand only (not protein) - error message: ValueError: 'P' is not in list HOT 5
- Error message heavy atoms missing HOT 1
- Validation of protonation states in the output PDB File HOT 1
- Fix typo in visualization documentation
- Add code warnings and documentation about the --keep-protons option being ignored HOT 1
- Replace XML-format data files with YAML
- Too far hydrogen generated from "charmmgui corrected" pdb? HOT 3
- ValueError: 'P' is not in list HOT 2
- update docutils please?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdb2pqr.