Scoring Modules

Subpackages

Module contents

HADDOCK3 modules to score models.

class haddock.modules.scoring.CNSScoringModule(order: int, path: Path, initial_params: str | Path, cns_script: str | Path)[source]

Bases: BaseCNSModule, ScoringModule

Parent class for CNS Scoring modules.

name: str
class haddock.modules.scoring.ScoringModule(order: int, path: Path, params_fname: str | Path)[source]

Bases: BaseHaddockModule

Parent class for Scoring modules.

name: str
output(output_fname: str | Path, sep: str = '\t', ascending_sort: bool = True) None[source]

Save the output in comprehensive tables.

Parameters:
  • output_fname (FilePath) – Path to the file where to write scoring data.

  • sep (str, optional) – Character used as separator in file, by default “t”

  • ascending_sort (bool, optional) – Should the data be sorted in ascending order, by default True