Alanine Scanning module
Submodules
Module contents
HADDOCK3 module for alanine scan.
This module is responsible for the alanine (or any other residue) scan analysis of the model(s) generated in the previous step of the workflow. For each model, this module will mutate the interface residues and calculate the differences in the haddock score and its individual components between the wild type and the mutant, thus providing a measure of the impact of such mutation. Such difference (delta_score) is always calculated as:
delta_score = score_wildtype - score_mutant
As the score are typically negative with lower values being better, a _positive_ delta_score indicates that the mutation is stabilizing while a _negative_ delta_score indicates that the mutation is destabilizing.
If cluster information is available, the module will also calculate the average haddock score difference for each cluster of models. For each amino acid, a Z score is calculated as:
Z = (delta_score - mean) / std
where mean and std are the mean and standard deviation of the delta_score over all the amino acids.
The module will also generate plots of the alanine scan data, showing the distribution of the delta_score (and every component) for each amino acid at the interface.
You can use the parameters below to customize the behavior of the module:
chains: list of chains to be considered for the alanine scan. In some cases you may want to limit the analysis to a single chain.
output_mutants: if True, the module will output the models with the mutations applied (only possible if there is only one model)
output_bfactor: if True, the module will output the non-mutated models with the rescaled delta_score in the B-factor column
plot: if True, the module will generate plots of the alanine scan data
splitplot: if True, the scan plot shows one panel per energy component; if False (default) all components are overlaid in a single panel
scan_residue: the residue to scan (default is ‘ALA’)
resdic: list of residues to be used for the scanning. An example is:
>>> resdic_A = [1,2,3,4] >>> resdic_B = [2,3,4]
For more details about this module, please refer to the haddock3 user manual
- class haddock.modules.analysis.alascan.HaddockModule(order, path, *ignore, init_params=PosixPath('/opt/hostedtoolcache/Python/3.10.20/x64/lib/python3.10/site-packages/haddock/modules/analysis/alascan/defaults.yaml'), **everything)[source]
Bases:
BaseHaddockModuleHADDOCK3 module for alanine scan.