haddock3
  • A brief introduction to HADDOCK3
  • Installation
  • Usage
  • Workflow Examples
  • Advanced features
  • Command-line interfaces
  • Modules
  • Testing
  • Contributing to HADDOCK3
  • Citing
  • Library Reference
    • Core Reference
    • Libs Reference
      • Subpackages
      • Submodules
        • libalign: sequence and structural alignments
        • libcli: functions helping clients
        • libclust: functions related to clustering
        • libcns: creating CNS files
        • haddock.libs.libfcc module
        • libfunc: functional-programming helping tools
        • libhpc: HPC execution functions
        • libinteractive: functions related to interactive tasks
        • libio: I/O helping functions
        • liblog: Logging helping functions
        • libmath: Math helping functions
        • libmpi: MPI execution functions
        • libontology: module communication
        • libparallel: multiprocessing helping functions
        • libpdb: PDB helping functions
        • libplots: plotting functionalities
        • libprodigy: classes and functions related to the use of prodigy
        • librestraints: functions related to restraints
        • libstructure: functions related to structures
        • libsubprocess: subprocess execution functions
        • libtimer: timing functions
        • libutil: utility functions
        • libworkflow: workflow functions
      • Module contents
    • Gear Reference
haddock3
  • Library Reference
  • Libs Reference
  • libprodigy: classes and functions related to the use of prodigy
  • View page source

libprodigy: classes and functions related to the use of prodigy

Set of functionalities to run prodigy.

class haddock.libs.libprodigy.CheckInstall[source]

Bases: object

Verify that installation of prodigy is ok.

static import_prodigy_libs() → None[source]

Import prodigy prot and lig libraries.

class haddock.libs.libprodigy.ModelScore(model_index: int)[source]

Bases: object

Simple class for holding score for a model.

class haddock.libs.libprodigy.ProdigyBaseJob(model: PDBFile, params: dict[str, Any], index: int = 1)[source]

Bases: ABC

Managing the computation of prodigy scores within haddock3.

abstract static get_worker() → object[source]

Return the appropriate worker.

run() → ModelScore[source]

Execute the _run method.

class haddock.libs.libprodigy.ProdigyWorker(model: str | Path, params: dict[str, Any])[source]

Bases: ABC

Prodigy Worker class.

static deltaG_to_pKd(deltaG: float, kelvins: float = 298.3) → float[source]

Convert a deltaG (in Kcal/mol) to pKd.

Parameters:
  • deltaG (float) – DeltaG value (in Kcal/mol)

  • kelvins (float, optional) – Temperature at which to perform the conversion. By default 298.3 (25 degrees Celcius)

Returns:

pKd (float) – The corresponding pKd value at given temperature.

abstract evaluate_complex() → float[source]

Logic to evaluate a complex using prodigy.

pkd_converter(deltaG: float) → float[source]

Decide if deltaG must be converted to pKd.

Parameters:

deltaG (float) – Input DeltaG value

Returns:

score (float) – The converted DeltaG to pKd if self.topKd is true, else the input DeltaG.

run() → None[source]

Execute the _run method.

Previous Next

© Copyright 2025, BonvinLab. Last updated on Jun 12, 2025.

Built with Sphinx using a theme provided by Read the Docs.