GithubHelp home page GithubHelp logo

CIFs don't seem to work properly about dockq HOT 4 CLOSED

nzrandol avatar nzrandol commented on September 2, 2024
CIFs don't seem to work properly

from dockq.

Comments (4)

clami66 avatar clami66 commented on September 2, 2024

Hi, it's a bit hard to say what's going on just from the screenshot. Can you attach the CIF files perhaps?

Also what happens when you compare the same structures on the command line?

from dockq.

nzrandol avatar nzrandol commented on September 2, 2024

I've done a little bit more playing around with this, and I think the issue is a bit more complicated than "CIFs don't work". I've attached a zip file that contains the files I'm using and a test Python script.

When I run the script, the "N-N CIF" and "D-N CIF" outputs are identical and match the "N-N PDB" results. Interestingly if you swap the two lines around (so "D-N CIF" before "N-N CIF"), the outputs are still identical but now match the "D-N PDB" results.

When using the command line, it seems to be fine. So this seems to me like some sort of Python memory issue related to CIFs?

(The results in my first screenshot are consistent with this as when the kernel is restarted, it also seems to be correct for only the first call on CIF-based structures.)

dockQ_test.zip

from dockq.

clami66 avatar clami66 commented on September 2, 2024

This is probably related to issue #26
After loading a PDB try to follow it up with, e.g.:
native1.id = "1kee_native.cif"

So that every structure has a different id field. That should help with avoiding problems with the lru_cache.

I will push a fix to this as soon as possible

from dockq.

clami66 avatar clami66 commented on September 2, 2024

@nzrandol this should be fixed now, please try to pull the latest commit and check again

You were right that this was a CIF issue, as I had fixed this following #26 but only for .pdb files somehow

from dockq.

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.