Comments (6)
from moleculekit.
Ok this is a trivial bug. Thanks for picking it up. It's in the assumption that you cannot have less bonds than atoms while of course you can have one less bond than atoms. I will fix the bond check.
As for the PDB it's a funny workaround you found. The bond guesser returns undirected bonds (one per pair) but when we write to PDB we write them directed (two per pair, both ways). So then you have double the bonds and it passes the check.
from moleculekit.
Fixed here: 53681e9
If you want to use the fix either wait for a new release or use directly the moleculekit source code from github. Or you can disable the validity checks for that molecule so that it doesn't complain.
Thanks again for the bug report and sorry for the delayed response as I was out on holidays.
from moleculekit.
That's an interesting bug. Thank you Stefan.
from moleculekit.
This is very interesting, now I want to voxelize the active pocket of a protein. However, this protein pocket is a very small PDB file (from PDBbind2016), which results in 5 separate amino acid segments in this PDB file (which leads to the number of my bonds must be less than residue-1) . Now I want to skip the validity check of the numerator, how should I do it?
from moleculekit.
validityChecks = False
from moleculekit.
Related Issues (20)
- Add support for preparing non-canonical residues with backbone modifications HOT 1
- Small molecule CIFs can have ? coordinates HOT 1
- Wrapping bug puts water atoms way outside the box in a small set of frames HOT 1
- Finding difference between voxels of two different protein HOT 1
- PIP incompatibility: filename has '1.2.0', but metadata has '0' HOT 5
- Protein atoms regarded as nonprotein atoms by atomselect() HOT 2
- Add sasa option to the atom selection language HOT 2
- Update getFingerprint in moleculekit HOT 2
- SmallMolLib unexpected behaviour HOT 4
- atomselect fails on resnames that start with number HOT 3
- Syntax error with atomselect HOT 6
- ImportError HOT 3
- Conda package contains `.h` and `.cpp` HOT 7
- `atomselect` doesn't recognize `numbonds` HOT 1
- Failed to parse selection resid<200 HOT 3
- ValueError: Unable to debump biomolecule. Biomolecular structure is incomplete: Found gap in biomolecule structure for atom ATOM HOT 6
- Editing velocity files HOT 2
- numpy version, infinite loop when calling Molecule HOT 2
- `atomselect` improvements
- Fix issue with terminal histidine protonation HOT 2
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 moleculekit.