GithubHelp home page GithubHelp logo

Parser.py has some issues about dockq HOT 9 CLOSED

jaideepm009 avatar jaideepm009 commented on July 28, 2024
Parser.py has some issues

from dockq.

Comments (9)

jaideepm009 avatar jaideepm009 commented on July 28, 2024

But if i make the above change I get "Buffer has wrong number of dimensions (expected 2, got 1)". So I am not sure whats the issue.

from dockq.

clami66 avatar clami66 commented on July 28, 2024

Hi, could you attach the files you're trying to score?

from dockq.

jaideepm009 avatar jaideepm009 commented on July 28, 2024

The files I am trying to process are 1cbv.pdb and the model file produced by rosettafold2 architecture. I am not able to attach them here :(

from dockq.

clami66 avatar clami66 commented on July 28, 2024

Try this:

  1. Update the repository with git pull and rerun pip install
  2. Since 1cbv contains a very small DNA molecule, it's likely that the short sequence is messing with the automatic mapping. So try to provide the mapping between native and model chains manually. It will be something like: --mapping ABC:DHL or similar (depends in what order Rosetta writes out the chains)

from dockq.

jaideepm009 avatar jaideepm009 commented on July 28, 2024

I was providing chain map manually. I did git pull and reinstalled DockQ. I am still getting error in buffer dimension. Here are the screenshots of my code.
Screenshot 2024-06-17 at 9 11 49 AM
Screenshot 2024-06-17 at 9 12 39 AM

from dockq.

clami66 avatar clami66 commented on July 28, 2024

I cannot help you further without the model unfortunately. You should be able to make a zip, then drag and drop it in a comment box here on the issue

from dockq.

jaideepm009 avatar jaideepm009 commented on July 28, 2024

Archive.zip

In model(model_00_pred.pdb): A corresponds to antigen chain, B corresponds to heavy chain, C corresponds to light chain. In native("1cbv.pdb): D = antigen, H = heavy, L = light. I need to calculate DockQ for antigen to heavy and antigen to light chains

from dockq.

clami66 avatar clami66 commented on July 28, 2024

Hi @jaideepm009

Chain A in your model is a peptide with unknown amino acids:

ATOM      1  N   UNK A   1     -14.695   1.700   8.805  1.00 33.72
ATOM      2  CA  UNK A   1     -16.016   2.020   8.281  1.00 33.72
ATOM      3  C   UNK A   1     -17.109   1.521   9.211  1.00 33.72
ATOM      4  O   UNK A   1     -17.328   0.316   9.344  1.00 33.72
ATOM      5  CB  UNK A   1     -16.594   1.112   7.207  1.00 33.72
ATOM      6  H   UNK A   1     -14.203   0.899   8.438  1.00 33.72
ATOM      7  HA  UNK A   1     -16.094   3.104   8.211  1.00 33.72
ATOM      8 1HB  UNK A   1     -17.641   1.395   7.016  1.00 33.72
ATOM      9 2HB  UNK A   1     -16.016   1.213   6.289  1.00 33.72
ATOM     10 3HB  UNK A   1     -16.562   0.078   7.547  1.00 33.72

But the native chain D is a NA (DNA?) molecule. So there is no way for DockQ to compare the two. The type of molecules need to be consistent across the two pdb files or it doesn't make sense to compare them

from dockq.

jaideepm009 avatar jaideepm009 commented on July 28, 2024

Yes we just realised that yesterday as well! Thanks for taking the time out looking into the issue.

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.