Giter Site home page Giter Site logo

Comments (2)

NicoRenaud avatar NicoRenaud commented on August 15, 2024

Thanks for reporting the issue. We will look into it asap but due to the Covid crisis we are a bit slower than usual.

from iscore.

CunliangGeng avatar CunliangGeng commented on August 15, 2024

Hi @jiyanbio , thanks for reporting this issue.

If I understand your question correctly, you want to get Haddock score using this package. Unfortunately, the iScore package cannot directly provide you Haddock score. The Haddock scores in dataset 684 were not generated by this package but by Haddock software itself.

However, if you have Haddock models (Haddock pdb files), it's possible to calculate the Haddock score with iScore package. Let's take the 1ACB_1w.pdb file from dataset 684 as an example. Before reading the following example, it's better to have a look at what Haddock score is: https://www.bonvinlab.org/software/haddock2.2/scoring/.

Example: using iScore package to extract Haddock energies

>>> from iScore.energetic.haddock_energy import HaddockEnergy
>>> he = HaddockEnergy('1ACB_1w.pdb')
>>> he.read_energies()
# Eelec: electrostatic intermolecular energy
>>> he.ec
-256.513
# Evdw: van der Waals intermolecular energy
>>> he.evdw
-26.9989
Edesol: desolvation energy
>>> he.edesolv
16.2592

What the code above does is actually to extract the energy values from 1ACB_1w.pdb file. You could open the 1ACB_1w.pdb file and should find those values in the header.

After extracting the Haddock energies, then you can calculate the Haddock score with the equation given in the page https://www.bonvinlab.org/software/haddock2.2/scoring/. The Haddock models in dataset 684 are from Haddock water stage, so you need to use this euqation: HADDOCKscore-water = 1.0 Evdw + 0.2 Eelec + 1.0 Edesol + 0.1 Eair. The Eair is 0, so it can be ignored.

Free to contact me if you have further questions.

from iscore.

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.