Input

enzymm.jess_run.load_molecules(molecule_paths: List[Path], conservation_cutoff: float = 0, warn: bool = False) List[Molecule]

Load query molecules from a list of paths to PDB or CIF/mmCIF structure files.

Parameters:
  • molecule_pathsList of Path: List of PDB or CIF structure file paths to load

  • conservation_cutofffloat: Load only Atoms with a B-factor above this value Default 0

  • warnbool If warnings about issues during matching should be printed. Default False

Note

This function will try to auto-detect the format of the files (PDB or CIF)

Note

This function can also handle gz, bz2, lz4 and xz compressed files

enzymm.template.load_templates(template_dir: Path | None = None, warn: bool = False, verbose: bool = False, with_annotations: bool = True) Iterator[Template | AnnotatedTemplate]

Load templates from a given directory, recursively.

Parameters:
  • template_dirPath | None Directory which to search recursively for files with the ‘.pdb’ extension. By default, set to None, it will load templates included in this library.

  • warnbool If warnings about annoation issues in templates should be printed. Default False

  • verbosebool If loading should be verbose. Default False

  • with_annotationsbool If True (default) M-CSA derived templates with a PDB-id and M-CSA id will be annotated with extra information.

Yields:

Template | AnnotatedTemplate