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:
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_dir –
Path|NoneDirectory which to search recursively for files with the ‘.pdb’ extension. By default, set toNone, it will load templates included in this library.warn –
boolIf warnings about annoation issues in templates should be printed. DefaultFalsewith_annotations –
boolIf True (default) M-CSA derived templates with a PDB-id and M-CSA id will be annotated with extra information.
- Yields: