This document is for OpenStructure version 1.7, the latest version is 2.7 !

conop.cleanup – Sanitize structures

Cleanup(entity, strip_water=True, canonicalize=True, remove_ligands=True)

This function returns a cleaned-up (simplified) version of the protein structure. Different parameters affect the behaviour of the function.

Parameters:
  • strip_water – Whether to remove water from the structure
  • canonicalize – Whether to strip off modifications of amino acids and map them back to their parent standard amino acid, e.g. selenium methionine to methionine.For more complex amino acids, where the relation between the modified and the standard parent amino acid is not known, sidechain atoms are removed. D-peptide-linking residues are completely removed as well.
  • remove_ligands – Whether to remove ligands from the structure
Returns:

a cleaned version of the entity

Search

Enter search terms or a module, class or function name.

Contents

Documentation is available for the following OpenStructure versions:

dev / 2.7 / 2.6 / 2.5 / 2.4 / 2.3.1 / 2.3 / 2.2 / 2.1 / 2.0 / 1.9 / 1.8 / 1.7.1 / (Currently viewing 1.7) / 1.6 / 1.5 / 1.4 / 1.3 / 1.2 / 1.11 / 1.10 / 1.1

This documentation is still under heavy development!
If something is missing or if you need the C++ API description in doxygen style, check our old documentation for further information.