homelette.evaluation

The homelette.evaluation submodule contains different classes for evaluating homology models.

It is possible to implement custom Evaluation building blocks and use them in the homelette framework.

Tutorials

Working with model evaluations in homelette is discussed in detail in Tutorial 3. Implementing custom evaluation metrics is discussed in Tutorial 4. Assembling custom pipelines is discussed in Tutorial 7.

Classes

The following evaluation metrics are implemented:


class homelette.evaluation.Evaluation_dope(model: Type[Model], quiet: bool = False)

Class for evaluating a model with DOPE score.

Will dump the following entries to the model.evaluation dictionary:

  • dope

  • dope_z_score

Parameters:
  • model (Model) – The model object to evaluate

  • quiet (bool) – If True, will perform evaluation with suppressing stdout (default False). Needs to be False for running it asynchronously, as done when running Task.evaluate_models with multple cores

Variables:
  • model (Model) – The model object to evaluate

  • output (dict) – Dictionary that all outputs will be dumped into

Raises:

ImportError – Unable to import dependencies

Notes

DOPE is a staticial potential for the evaluation of homology models [1]. For further information, please check the modeller documentation or the associated publication.

References

evaluate() None

Run DOPE evaluation. Automatically called on object initialization

Return type:

None

class homelette.evaluation.Evaluation_soap_protein(model: Type[Model], quiet: bool = False)

Class for evaluating a model with the SOAP protein protential.

Will dump the following entries to the model.evaluation dictionary:

  • soap_protein

Parameters:
  • model (Model) – The model object to evaluate

  • quiet (bool) – If True, will perform evaluation with suppressing stdout (default False). Needs to be False for running it asynchronously, as done when running Task.evaluate_models with multple cores

Variables:
  • model (Model) – The model object to evaluate

  • output (dict) – Dictionary that all outputs will be dumped into

Raises:

ImportError – Unable to import dependencies

Notes

SOAP is a statistical potential for evaluating homology models [2]. For more information, please check the modeller and SOAP documentations or the associated publication.

References

evaluate() None

Run SOAP protein evaluation. Automatically called on object initialization

Return type:

None

class homelette.evaluation.Evaluation_soap_pp(model: Type[Model], quiet: bool = False)

Class for evaluating a model with SOAP interaction potentials. This is used for the evaluation of models of protein complexes.

Will dump the following entries to the model.evaluation dictionary:

  • soap_pp_all

  • soap_pp_atom

  • soap_pp_pair

Parameters:
  • model (Model) – The model object to evaluate

  • quiet (bool) – If True, will perform evaluation with suppressing stdout (default False). Needs to be False for running it asynchronously, as done when running Task.evaluate_models with multple cores

Variables:
  • model (Model) – The model object to evaluate

  • output (dict) – Dictionary that all outputs will be dumped into

Raises:

ImportError – Unable to import dependencies

Notes

SOAP is a statistical potential for evaluating homology models [3]. For more information, please check the modeller and SOAP documentations or the associated publication.

References

evaluate() None

Run SOAP interaction evaluation. Automatically called on object initialization

Return type:

None

class homelette.evaluation.Evaluation_qmean4(model: Type[Model], quiet: bool = False)

Class for evaluating a model with the QMEAN4 potential.

Will dump the following entries to the model.evaluation dictionary:

  • qmean4

  • qmean4_z_score

Parameters:
  • model (Model) – The model object to evaluate.

  • quiet (bool) – If True, will perform evaluation with suppressing stdout (default False). Needs to be False for running it asynchronously, as done when running Task.evaluate_models with multple cores

Variables:
  • model (Model) – The model object to evaluate

  • output (dict) – Dictionary that all outputs will be dumped into

Raises:

ImportError – Unable to import dependencies

Notes

QMEAN is a statistical potential for evaluating homology models [4] [5].

Briefly, QMEAN is a combination of different components. Four compoenents (interaction, cbeta, packing and torsion) form the qmean4 score.

For more information, please check the QMEAN documentation or the associated publications.

References

evaluate() None

Run QMEAN4 protein evaluation. Automatically called on object initialization :rtype: None

class homelette.evaluation.Evaluation_qmean6(model: Type[Model], quiet: bool = False)

Class for evaluating a model with the QMEAN6 potential.

Will dump the following entries to the model.evaluation dictionary:

  • qmean6

  • qmean6_disco

Requires the following valid entries in the model.info dictionary:

  • accpro_file (.acc file)

  • psipred_file (.horiz file)

Parameters:
  • model (Model) – The model object to evaluate.

  • quiet (bool) – If True, will perform evaluation with suppressing stdout (default False). Needs to be False for running it asynchronously, as done when running Task.evaluate_models with multple cores

Variables:
  • model (Model) – The model object to evaluate

  • output (dict) – Dictionary that all outputs will be dumped into

Raises:

ImportError – Unable to import dependencies

Notes

QMEAN is a statistical potential for evaluating homology models [6] [7].

QMEAN6 is a combination of six different components (interaction, cbeta, packing, torsion, ss_agreement, acc_agreement). It is an extension to the QMEAN4 score, which additionally evaluates the agreement of the model to secondary structur predictions from PSIPRED [8] and solvent accessiblity predictions from ACCpro [9].

For more information, please check the QMEAN documentation or the associated publications.

References

evaluate() None

Run QMEAN6 protein evaluation. Automatically called on object initialization

Return type:

None

class homelette.evaluation.Evaluation_qmeandisco(model: Type[Model], quiet: bool = False)

Class for evaluating a model with the QMEAN DisCo potential.

Will dump the following entries to the model.evaluation dictionary:

  • qmean6

  • qmean6_z_score

  • qmean_local_scores_avg

  • qmean_local_scores_err

Requires the following valid entries in the model.info dictionary:

  • accpro_file (.acc file)

  • psipred_file (.horiz file)

  • disco_file (generated by qmean.DisCoContainer.Save)

Parameters:
  • model (Model) – The model object to evaluate.

  • quiet (bool) – If True, will perform evaluation with suppressing stdout (default False). Needs to be False for running it asynchronously, as done when running Task.evaluate_models with multple cores

Variables:
  • model (Model) – The model object to evaluate

  • output (dict) – Dictionary that all outputs will be dumped into

Raises:

ImportError – Unable to import dependencies

Notes

QMEAN is a statistical potential for evaluating homology models [10] [11].

QMEAN DisCo is an extension of QMEAN by the inclusion of homology derived DIStance COnstraints [12]. These distance contraints do not influence the six component of the QMEAN6 score (interaction, cbeta, packing, torsion, ss_agreement, acc_agreement), but only the local scores.

The distance contraints for the target have to be generated before and saved to a file.

For more information, please check the QMEAN documentation or the associated publications.

References

evaluate() None

Run QMEAN DisCo protein evaluation. Automatically called on object initialization

Return type:

None

class homelette.evaluation.Evaluation_mol_probity(model: Type[Model], quiet: bool = False)

Class for evaluating a model with the MolProbity validation service.

Will dump the following entries to the model.evaluation dictionary:

  • mp_score

Parameters:
  • model (Model) – The model object to evaluate

  • quiet (bool) – If True, will perform evaluation with suppressing stdout (default False). Needs to be False for running it asynchronously, as done when running Task.evaluate_models with multple cores

Variables:
  • model (Model) – The model object to evaluate

  • output (dict) – Dictionary that all outputs will be dumped into

Notes

Molprobity is a program that evaluates the quality of 3D structures of proteins based on structural features [13] [14] [15]. For more information, please check the MolProbity webpage or the associated publications.

References

evaluate() None

Run MolProbity evaluation. Automatically called on object initialization

Return type:

None