Giter Club home page Giter Club logo

Comments (6)

stefdoerr avatar stefdoerr commented on July 24, 2024 2

from moleculekit.

stefdoerr avatar stefdoerr commented on July 24, 2024

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.

stefdoerr avatar stefdoerr commented on July 24, 2024

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.

larry0x avatar larry0x commented on July 24, 2024

That's an interesting bug. Thank you Stefan.

from moleculekit.

AberChiong avatar AberChiong commented on July 24, 2024

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.

stefdoerr avatar stefdoerr commented on July 24, 2024

https://software.acellera.com/moleculekit/moleculekit.tools.voxeldescriptors.html#moleculekit.tools.voxeldescriptors.getVoxelDescriptors

validityChecks = False

from moleculekit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.