diff --git a/docs/.doctrees/about/index.doctree b/docs/.doctrees/about/index.doctree
index 2d831420..3d17ec95 100644
Binary files a/docs/.doctrees/about/index.doctree and b/docs/.doctrees/about/index.doctree differ
diff --git a/docs/.doctrees/environment.pickle b/docs/.doctrees/environment.pickle
index d5ee4123..9c2ba4fd 100644
Binary files a/docs/.doctrees/environment.pickle and b/docs/.doctrees/environment.pickle differ
diff --git a/docs/.doctrees/index.doctree b/docs/.doctrees/index.doctree
index 6ca32bc8..78045211 100644
Binary files a/docs/.doctrees/index.doctree and b/docs/.doctrees/index.doctree differ
diff --git a/docs/.doctrees/package/api_reference/Molecule.doctree b/docs/.doctrees/package/api_reference/Molecule.doctree
index eccefa52..605571ff 100644
Binary files a/docs/.doctrees/package/api_reference/Molecule.doctree and b/docs/.doctrees/package/api_reference/Molecule.doctree differ
diff --git a/docs/.doctrees/package/api_reference/box_file_template.doctree b/docs/.doctrees/package/api_reference/box_file_template.doctree
index 69ce839d..7a877a7f 100644
Binary files a/docs/.doctrees/package/api_reference/box_file_template.doctree and b/docs/.doctrees/package/api_reference/box_file_template.doctree differ
diff --git a/docs/.doctrees/package/api_reference/calculate_frequencies.doctree b/docs/.doctrees/package/api_reference/calculate_frequencies.doctree
index 772e6034..e28675d6 100644
Binary files a/docs/.doctrees/package/api_reference/calculate_frequencies.doctree and b/docs/.doctrees/package/api_reference/calculate_frequencies.doctree differ
diff --git a/docs/.doctrees/package/api_reference/constitutional.doctree b/docs/.doctrees/package/api_reference/constitutional.doctree
index ccc5c95b..e873b471 100644
Binary files a/docs/.doctrees/package/api_reference/constitutional.doctree and b/docs/.doctrees/package/api_reference/constitutional.doctree differ
diff --git a/docs/.doctrees/package/api_reference/depth.doctree b/docs/.doctrees/package/api_reference/depth.doctree
index 99aa98dd..00ed823b 100644
Binary files a/docs/.doctrees/package/api_reference/depth.doctree and b/docs/.doctrees/package/api_reference/depth.doctree differ
diff --git a/docs/.doctrees/package/api_reference/detect.doctree b/docs/.doctrees/package/api_reference/detect.doctree
index 447f80b1..b6387f7f 100644
Binary files a/docs/.doctrees/package/api_reference/detect.doctree and b/docs/.doctrees/package/api_reference/detect.doctree differ
diff --git a/docs/.doctrees/package/api_reference/export.doctree b/docs/.doctrees/package/api_reference/export.doctree
index 2efed9dd..d98268e1 100644
Binary files a/docs/.doctrees/package/api_reference/export.doctree and b/docs/.doctrees/package/api_reference/export.doctree differ
diff --git a/docs/.doctrees/package/api_reference/export_openings.doctree b/docs/.doctrees/package/api_reference/export_openings.doctree
index 1d3f45e1..2814d68b 100644
Binary files a/docs/.doctrees/package/api_reference/export_openings.doctree and b/docs/.doctrees/package/api_reference/export_openings.doctree differ
diff --git a/docs/.doctrees/package/api_reference/get_vertices.doctree b/docs/.doctrees/package/api_reference/get_vertices.doctree
index 4cc2c991..23bf5b22 100644
Binary files a/docs/.doctrees/package/api_reference/get_vertices.doctree and b/docs/.doctrees/package/api_reference/get_vertices.doctree differ
diff --git a/docs/.doctrees/package/api_reference/get_vertices_from_file.doctree b/docs/.doctrees/package/api_reference/get_vertices_from_file.doctree
index cf7addc2..e3ada28c 100644
Binary files a/docs/.doctrees/package/api_reference/get_vertices_from_file.doctree and b/docs/.doctrees/package/api_reference/get_vertices_from_file.doctree differ
diff --git a/docs/.doctrees/package/api_reference/hydropathy.doctree b/docs/.doctrees/package/api_reference/hydropathy.doctree
index cd3715bd..a9051bb9 100644
Binary files a/docs/.doctrees/package/api_reference/hydropathy.doctree and b/docs/.doctrees/package/api_reference/hydropathy.doctree differ
diff --git a/docs/.doctrees/package/api_reference/hydrophobicity_scale_file_template.doctree b/docs/.doctrees/package/api_reference/hydrophobicity_scale_file_template.doctree
index 6741f3cc..26e72177 100644
Binary files a/docs/.doctrees/package/api_reference/hydrophobicity_scale_file_template.doctree and b/docs/.doctrees/package/api_reference/hydrophobicity_scale_file_template.doctree differ
diff --git a/docs/.doctrees/package/api_reference/index.doctree b/docs/.doctrees/package/api_reference/index.doctree
index 9639e411..2478fdf8 100644
Binary files a/docs/.doctrees/package/api_reference/index.doctree and b/docs/.doctrees/package/api_reference/index.doctree differ
diff --git a/docs/.doctrees/package/api_reference/openings.doctree b/docs/.doctrees/package/api_reference/openings.doctree
index d50b6a5c..6edd69f8 100644
Binary files a/docs/.doctrees/package/api_reference/openings.doctree and b/docs/.doctrees/package/api_reference/openings.doctree differ
diff --git a/docs/.doctrees/package/api_reference/plot_frequencies.doctree b/docs/.doctrees/package/api_reference/plot_frequencies.doctree
index 2033d9f4..699332c7 100644
Binary files a/docs/.doctrees/package/api_reference/plot_frequencies.doctree and b/docs/.doctrees/package/api_reference/plot_frequencies.doctree differ
diff --git a/docs/.doctrees/package/api_reference/pyKVFinderResults.doctree b/docs/.doctrees/package/api_reference/pyKVFinderResults.doctree
index 7bde7937..c93f6be1 100644
Binary files a/docs/.doctrees/package/api_reference/pyKVFinderResults.doctree and b/docs/.doctrees/package/api_reference/pyKVFinderResults.doctree differ
diff --git a/docs/.doctrees/package/api_reference/read_cavity.doctree b/docs/.doctrees/package/api_reference/read_cavity.doctree
index ca762552..81dd98e2 100644
Binary files a/docs/.doctrees/package/api_reference/read_cavity.doctree and b/docs/.doctrees/package/api_reference/read_cavity.doctree differ
diff --git a/docs/.doctrees/package/api_reference/read_pdb.doctree b/docs/.doctrees/package/api_reference/read_pdb.doctree
index f70f4281..5c8e08f8 100644
Binary files a/docs/.doctrees/package/api_reference/read_pdb.doctree and b/docs/.doctrees/package/api_reference/read_pdb.doctree differ
diff --git a/docs/.doctrees/package/api_reference/read_vdw.doctree b/docs/.doctrees/package/api_reference/read_vdw.doctree
index 8a5ce852..d26768ca 100644
Binary files a/docs/.doctrees/package/api_reference/read_vdw.doctree and b/docs/.doctrees/package/api_reference/read_vdw.doctree differ
diff --git a/docs/.doctrees/package/api_reference/read_xyz.doctree b/docs/.doctrees/package/api_reference/read_xyz.doctree
index cfb32d40..d2d46617 100644
Binary files a/docs/.doctrees/package/api_reference/read_xyz.doctree and b/docs/.doctrees/package/api_reference/read_xyz.doctree differ
diff --git a/docs/.doctrees/package/api_reference/run_workflow.doctree b/docs/.doctrees/package/api_reference/run_workflow.doctree
index 3a1ffd1b..a6e5130b 100644
Binary files a/docs/.doctrees/package/api_reference/run_workflow.doctree and b/docs/.doctrees/package/api_reference/run_workflow.doctree differ
diff --git a/docs/.doctrees/package/api_reference/spatial.doctree b/docs/.doctrees/package/api_reference/spatial.doctree
index 14bb261e..f5814266 100644
Binary files a/docs/.doctrees/package/api_reference/spatial.doctree and b/docs/.doctrees/package/api_reference/spatial.doctree differ
diff --git a/docs/.doctrees/package/api_reference/vdw_file_template.doctree b/docs/.doctrees/package/api_reference/vdw_file_template.doctree
index a461995f..177d52c6 100644
Binary files a/docs/.doctrees/package/api_reference/vdw_file_template.doctree and b/docs/.doctrees/package/api_reference/vdw_file_template.doctree differ
diff --git a/docs/.doctrees/package/api_reference/write_results.doctree b/docs/.doctrees/package/api_reference/write_results.doctree
index 55d72ee1..f67a1bb3 100644
Binary files a/docs/.doctrees/package/api_reference/write_results.doctree and b/docs/.doctrees/package/api_reference/write_results.doctree differ
diff --git a/docs/.doctrees/package/examples/index.doctree b/docs/.doctrees/package/examples/index.doctree
index 3c16b323..e4395348 100644
Binary files a/docs/.doctrees/package/examples/index.doctree and b/docs/.doctrees/package/examples/index.doctree differ
diff --git a/docs/.doctrees/package/installation/index.doctree b/docs/.doctrees/package/installation/index.doctree
index 4524f8d3..1fd14402 100644
Binary files a/docs/.doctrees/package/installation/index.doctree and b/docs/.doctrees/package/installation/index.doctree differ
diff --git a/docs/.doctrees/package/tutorial/index.doctree b/docs/.doctrees/package/tutorial/index.doctree
index a05972ea..e3fcd95d 100644
Binary files a/docs/.doctrees/package/tutorial/index.doctree and b/docs/.doctrees/package/tutorial/index.doctree differ
diff --git a/docs/.doctrees/plugins/cli/index.doctree b/docs/.doctrees/plugins/cli/index.doctree
index 1af7bdcb..e0dc6510 100644
Binary files a/docs/.doctrees/plugins/cli/index.doctree and b/docs/.doctrees/plugins/cli/index.doctree differ
diff --git a/docs/.doctrees/plugins/pymol/index.doctree b/docs/.doctrees/plugins/pymol/index.doctree
index e8c31b1c..f304c938 100644
Binary files a/docs/.doctrees/plugins/pymol/index.doctree and b/docs/.doctrees/plugins/pymol/index.doctree differ
diff --git a/docs/.doctrees/plugins/pymol/tutorial/biomolecular-cavity-detection.doctree b/docs/.doctrees/plugins/pymol/tutorial/biomolecular-cavity-detection.doctree
index 0aba53d7..1509d91f 100644
Binary files a/docs/.doctrees/plugins/pymol/tutorial/biomolecular-cavity-detection.doctree and b/docs/.doctrees/plugins/pymol/tutorial/biomolecular-cavity-detection.doctree differ
diff --git a/docs/.doctrees/plugins/pymol/tutorial/cage-cavity-detection.doctree b/docs/.doctrees/plugins/pymol/tutorial/cage-cavity-detection.doctree
index cafa57fe..0a414e56 100644
Binary files a/docs/.doctrees/plugins/pymol/tutorial/cage-cavity-detection.doctree and b/docs/.doctrees/plugins/pymol/tutorial/cage-cavity-detection.doctree differ
diff --git a/docs/_sources/plugins/pymol/index.rst.txt b/docs/_sources/plugins/pymol/index.rst.txt
index 875a4ec8..6e96ac99 100644
--- a/docs/_sources/plugins/pymol/index.rst.txt
+++ b/docs/_sources/plugins/pymol/index.rst.txt
@@ -9,19 +9,32 @@ Installation
First, it is required to install Anaconda or Miniconda (Python 3.10 or later). If you do not have it installed, please refer to `Anaconda A class for representing molecular structures. molecule (Union[str, pathlib.Path]) – A file path to the molecule in either PDB or XYZ format radii (Union[str, pathlib.Path, Dict[str, Any]], optional) – A file path to a van der Waals radii file or a dictionary of VDW radii, by default None. If None, apply the built-in van der Waals radii file: vdw.dat. model (int, optional) – The model number of a multi-model PDB file, by default None. If None, keep atoms from all models. nthreads (int, optional) – Number of threads, by default None. If None, the number of threads is os.cpu_count() - 1. verbose (bool, optional) – Print extra information to standard output, by default False. molecule (Union[str, pathlib.Path]) – A file path to the molecule in either PDB or XYZ format radii (Union[str, pathlib.Path, Dict[str, Any]], optional) – A file path to a van der Waals radii file or a dictionary of VDW radii, by default None. If None, apply the built-in van der Waals radii file: vdw.dat. model (int, optional) – The model number of a multi-model PDB file, by default None. If None, keep atoms from all models. nthreads (int, optional) – Number of threads, by default None. If None, the number of threads is os.cpu_count() - 1. verbose (bool, optional) – Print extra information to standard output, by default False. Union[str, pathlib.Path] Union[str, pathlib.Path] Dict[str, Any] Dict[str, Any] str, optional str, optional Get _dim attribute Export molecule points (H) to a PDB-formatted file. fn (Union[str, pathlib.Path], optional) – A file path to the molecular volume in the grid-based rerpesentation in PDB format, by default “molecule.pdb”. fn (Union[str, pathlib.Path], optional) – A file path to the molecular volume in the grid-based rerpesentation in PDB format, by default “molecule.pdb”. TypeError – fn must be a string or a pathlib.Path. TypeError – fn must be a string or a pathlib.Path. Example Get _molecule attribute. Get _padding attribute. Preview the molecular surface in the 3D grid. Example With the molecular surface modelled by Get _probe attribute. Get _step attribute. Fill the 3D grid with the molecule as the van der Waals surface representation. step (float, optional) – Grid spacing (A), by default 0.6. probe (float, optional) – Spherical probe size to define the molecular surface based on a molecular representation, by default 1.4. surface (str, optional) – Molecular surface representation. Keywords options are vdW (van der Waals surface), SES (Solvent Excluded Surface) or SAS (Solvent Accessible Surface), by default “SES”. padding (float, optional) – The length to add to each direction of the 3D grid, by default None. If None, automatically define the length based on molecule coordinates, probe size, grid spacing and atom radii. step (float, optional) – Grid spacing (A), by default 0.6. probe (float, optional) – Spherical probe size to define the molecular surface based on a molecular representation, by default 1.4. surface (str, optional) – Molecular surface representation. Keywords options are vdW (van der Waals surface), SES (Solvent Excluded Surface) or SAS (Solvent Accessible Surface), by default “SES”. padding (float, optional) – The length to add to each direction of the 3D grid, by default None. If None, automatically define the length based on molecule coordinates, probe size, grid spacing and atom radii. TypeError – step must be a positive real number. ValueError – step must be a positive real number. TypeError – probe_out must be a positive real number. ValueError – probe_out must be a positive real number. TypeError – step must be a positive real number. ValueError – step must be a positive real number. TypeError – probe_out must be a positive real number. ValueError – probe_out must be a positive real number. Fill the 3D grid with the molecule as the van der Waals surface representation. step (float, optional) – Grid spacing (A), by default 0.6. padding (float, optional) – The length to add to each direction of the 3D grid, by default None. If None, automatically define the length based on molecule coordinates, probe size, grid spacing and atom radii. step (float, optional) – Grid spacing (A), by default 0.6. padding (float, optional) – The length to add to each direction of the 3D grid, by default None. If None, automatically define the length based on molecule coordinates, probe size, grid spacing and atom radii. TypeError – step must be a positive real number. ValueError – step must be a positive real number. TypeError – step must be a positive real number. ValueError – step must be a positive real number. Estimate the volume of the molecule based on the molecular surface representation, ie, vdW, SES or SAS representations. Example Calculate frequencies of residues and class of residues
(R1, R2, R3, R4 and R5) for detected cavities. residues (Dict[str, List[List[str]]]) – A dictionary with a list of interface residues for each detected
+ residues (Dict[str, List[List[str]]]) – A dictionary with a list of interface residues for each detected
cavity. Dict[str, Dict[str, Dict[str, int]]] Constitutional characterization (interface residues) of the detected
cavities. atomic (Union[numpy.ndarray, List[List[Union[str, float, int]]]]) – A numpy array with atomic data (residue number, chain, residue name, atom name, xyz coordinates
and radius) for each atom. vertices (Union[numpy.ndarray, List[List[float]]]) – A numpy.ndarray or a list with xyz vertices coordinates (origin,
+ vertices (Union[numpy.ndarray, List[List[float]]]) – A numpy.ndarray or a list with xyz vertices coordinates (origin,
X-axis, Y-axis, Z-axis). step (Union[float, int], optional) – Grid spacing (A), by default 0.6. probe_in (Union[float, int], optional) – Probe In size (A), by default 1.4. ignore_backbone (bool, optional) – Whether to ignore backbone atoms (C, CA, N, O) when defining interface
+ step (Union[float, int], optional) – Grid spacing (A), by default 0.6. probe_in (Union[float, int], optional) – Probe In size (A), by default 1.4. ignore_backbone (bool, optional) – Whether to ignore backbone atoms (C, CA, N, O) when defining interface
residues, by default False. selection (Union[List[int], List[str]], optional) – A list of integer labels or a list of cavity names to be selectedA list of integer labels of each cavity to be selected, by default None. nthreads (int, optional) – Number of threads, by default None. If None, the number of threads is
+ selection (Union[List[int], List[str]], optional) – A list of integer labels or a list of cavity names to be selectedA list of integer labels of each cavity to be selected, by default None. nthreads (int, optional) – Number of threads, by default None. If None, the number of threads is
os.cpu_count() - 1. verbose (bool, optional) – Print extra information to standard output, by default False. verbose (bool, optional) – Print extra information to standard output, by default False. TypeError – cavities must be a numpy.ndarray. ValueError – cavities has the incorrect shape. It must be (nx, ny, nz). TypeError – atomic must be a list or a numpy.ndarray. ValueError – atomic has incorrect shape. It must be (n, 8). TypeError – vertices must be a list or a numpy.ndarray. ValueError – vertices has incorrect shape. It must be (4, 3). TypeError – step must be a positive real number. ValueError – step must be a positive real number. TypeError – probe_in must be a non-negative real number. ValueError – probe_in must be a non-negative real number. TypeError – ignore_backbone must be a boolean. TypeError – selection must be a list of strings (cavity names) or integers (cavity labels). ValueError – Invalid selection: {selection}. TypeError – nthreads must be a positive integer. ValueError – nthreads must be a positive integer. TypeError – verbose must be a boolean. TypeError – cavities must be a numpy.ndarray. ValueError – cavities has the incorrect shape. It must be (nx, ny, nz). TypeError – atomic must be a list or a numpy.ndarray. ValueError – atomic has incorrect shape. It must be (n, 8). TypeError – vertices must be a list or a numpy.ndarray. ValueError – vertices has incorrect shape. It must be (4, 3). TypeError – step must be a positive real number. ValueError – step must be a positive real number. TypeError – probe_in must be a non-negative real number. ValueError – probe_in must be a non-negative real number. TypeError – ignore_backbone must be a boolean. TypeError – selection must be a list of strings (cavity names) or integers (cavity labels). ValueError – Invalid selection: {selection}. TypeError – nthreads must be a positive integer. ValueError – nthreads must be a positive integer. TypeError – verbose must be a boolean. Characterization of the depth of the detected cavities, including depth
per cavity point and maximum and average depths of detected cavities. selection (Union[List[int], List[str]], optional) – A list of integer labels or a list of cavity names to be selected, by default None. nthreads (int, optional) – Number of threads, by default None. If None, the number of threads is
+ selection (Union[List[int], List[str]], optional) – A list of integer labels or a list of cavity names to be selected, by default None. nthreads (int, optional) – Number of threads, by default None. If None, the number of threads is
os.cpu_count() - 1. verbose (bool, optional) – Print extra information to standard output, by default False. verbose (bool, optional) – Print extra information to standard output, by default False. TypeError – cavities must be a numpy.ndarray. ValueError – cavities has the incorrect shape. It must be (nx, ny, nz). TypeError – step must be a positive real number. ValueError – step must be a positive real number. TypeError – selection must be a list of strings (cavity names) or integers (cavity labels). ValueError – Invalid selection: {selection}. TypeError – nthreads must be a positive integer. ValueError – nthreads must be a positive integer. TypeError – verbose must be a boolean. TypeError – cavities must be a numpy.ndarray. ValueError – cavities has the incorrect shape. It must be (nx, ny, nz). TypeError – step must be a positive real number. ValueError – step must be a positive real number. TypeError – selection must be a list of strings (cavity names) or integers (cavity labels). ValueError – Invalid selection: {selection}. TypeError – nthreads must be a positive integer. ValueError – nthreads must be a positive integer. TypeError – verbose must be a boolean. Detects biomolecular cavities. Cavity points that belongs to the same cavity are assigned with an integer
in the grid. atomic (Union[numpy.ndarray, List[List[Union[str, float, int]]]]) – A numpy array with atomic data (residue number, chain, residue name, atom name, xyz coordinates
+ atomic (Union[numpy.ndarray, List[List[Union[str, float, int]]]]) – A numpy array with atomic data (residue number, chain, residue name, atom name, xyz coordinates
and radius) for each atom. vertices (Union[numpy.ndarray, List[List[float]]]) – A numpy.ndarray or a list with xyz vertices coordinates (origin,
+ vertices (Union[numpy.ndarray, List[List[float]]]) – A numpy.ndarray or a list with xyz vertices coordinates (origin,
X-axis, Y-axis, Z-axis). step (Union[float, int], optional) – Grid spacing (A), by default 0.6. probe_in (Union[float, int], optional) – Probe In size (A), by default 1.4. probe_out (Union[float, int], optional) – Probe Out size (A), by default 4.0. removal_distance (Union[float, int], optional) – A length to be removed from the cavity-bulk frontier (A), by
+ step (Union[float, int], optional) – Grid spacing (A), by default 0.6. probe_in (Union[float, int], optional) – Probe In size (A), by default 1.4. probe_out (Union[float, int], optional) – Probe Out size (A), by default 4.0. removal_distance (Union[float, int], optional) – A length to be removed from the cavity-bulk frontier (A), by
default 2.4. volume_cutoff (Union[float, int], optional) – Volume filter for detected cavities (A3), by default 5.0. latomic (Union[numpy.ndarray, List[List[Union[str, float, int]]]], optional) – A numpy array with atomic data (residue number, chain, residue name, atom name, xyz coordinates
+ volume_cutoff (Union[float, int], optional) – Volume filter for detected cavities (A3), by default 5.0. latomic (Union[numpy.ndarray, List[List[Union[str, float, int]]]], optional) – A numpy array with atomic data (residue number, chain, residue name, atom name, xyz coordinates
and radius) for each atom of a target ligand, by default None. ligand_cutoff (Union[float, int], optional) – A radius to limit a space around a ligand (A), by default 5.0. box_adjustment (bool, optional) – Whether a custom 3D grid is applied, by default False. surface (str, optional) – Surface representation. Keywords options are SES (Solvent Excluded Surface) or SAS (Solvent
+ ligand_cutoff (Union[float, int], optional) – A radius to limit a space around a ligand (A), by default 5.0. box_adjustment (bool, optional) – Whether a custom 3D grid is applied, by default False. surface (str, optional) – Surface representation. Keywords options are SES (Solvent Excluded Surface) or SAS (Solvent
Accessible Surface), by default SES. nthreads (int, optional) – Number of threads, by default None. If None, the number of threads is
+ nthreads (int, optional) – Number of threads, by default None. If None, the number of threads is
os.cpu_count() - 1. verbose (bool, optional) – Print extra information to standard output, by default False. verbose (bool, optional) – Print extra information to standard output, by default False. TypeError – atomic must be a list or a numpy.ndarray. ValueError – atomic has incorrect shape. It must be (n, 8). TypeError – vertices must be a list or a numpy.ndarray. ValueError – vertices has incorrect shape. It must be (4, 3). TypeError – step must be a positive real number. ValueError – step must be a positive real number. TypeError – probe_in must be a non-negative real number. ValueError – probe_in must be a non-negative real number. TypeError – probe_out must be a non-negative real number. ValueError – probe_out must be a non-negative real number. ValueError – probe_out must be greater than probe_in. TypeError – removal_distance must be a non-negative real number. ValueError – removal_distance must be a non-negative real number. TypeError – volume_cutoff must be a non-negative real number. ValueError – volume_cutoff must be a non-negative real number. TypeError – latomic must be a list, a numpy.ndarray or None. ValueError – latomic has incorrect shape. It must be (n, 8). TypeError – ligand_cutoff must be a positive real number. ValueError – ligand_cutoff must be a positive real number. TypeError – box_adjustment must be a boolean. TypeError – surface must be a string. TypeError – nthreads must be a positive integer. ValueError – nthreads must be a positive integer. ValueError – surface must be SAS or SES, not surface. TypeError – atomic must be a list or a numpy.ndarray. ValueError – atomic has incorrect shape. It must be (n, 8). TypeError – vertices must be a list or a numpy.ndarray. ValueError – vertices has incorrect shape. It must be (4, 3). TypeError – step must be a positive real number. ValueError – step must be a positive real number. TypeError – probe_in must be a non-negative real number. ValueError – probe_in must be a non-negative real number. TypeError – probe_out must be a non-negative real number. ValueError – probe_out must be a non-negative real number. ValueError – probe_out must be greater than probe_in. TypeError – removal_distance must be a non-negative real number. ValueError – removal_distance must be a non-negative real number. TypeError – volume_cutoff must be a non-negative real number. ValueError – volume_cutoff must be a non-negative real number. TypeError – latomic must be a list, a numpy.ndarray or None. ValueError – latomic has incorrect shape. It must be (n, 8). TypeError – ligand_cutoff must be a positive real number. ValueError – ligand_cutoff must be a positive real number. TypeError – box_adjustment must be a boolean. TypeError – surface must be a string. TypeError – nthreads must be a positive integer. ValueError – nthreads must be a positive integer. ValueError – surface must be SAS or SES, not surface. Export cavitiy (H) and surface (HA) points to PDB-formatted file with
a variable (B; optional) in B-factor column, and hydropathy to
PDB-formatted file in B-factor column at surface points (HA). fn (Union[str, pathlib.Path], optional) – A path to PDB file for writing cavities. If None, return a raw string with the PDB-formatted file. fn (Union[str, pathlib.Path], optional) – A path to PDB file for writing cavities. If None, return a raw string with the PDB-formatted file. cavities (numpy.ndarray) – Cavity points in the 3D grid (cavities[nx][ny][nz]).
Cavities array has integer labels in each position, that are: vertices (Union[numpy.ndarray, List[List[float]]]) – A numpy.ndarray or a list with xyz vertices coordinates (origin,
X-axis, Y-axis, Z-axis). step (Union[float, int], optional) – Grid spacing (A), by default 0.6. step (Union[float, int], optional) – Grid spacing (A), by default 0.6. B (numpy.ndarray, optional) – A numpy.ndarray with values to be mapped on B-factor column in cavity
points (B[nx][ny][nz]), by default None. Q (numpy.ndarray, optional) – A numpy.ndarray with hydrophobicity scale values to be mapped on
B-factor column in surface points (Q[nx][ny][nz]), by default
None. selection (Union[List[int], List[str]], optional) – A list of integer labels or a list of cavity names to be selected, by default None. nthreads (int, optional) – Number of threads, by default None. If None, the number of threads is
+ selection (Union[List[int], List[str]], optional) – A list of integer labels or a list of cavity names to be selected, by default None. nthreads (int, optional) – Number of threads, by default None. If None, the number of threads is
os.cpu_count() - 1. append (bool, optional) – Whether to append cavities to the PDB file, by default False. model (int, optional) – Model number, by default 0. append (bool, optional) – Whether to append cavities to the PDB file, by default False. model (int, optional) – Model number, by default 0. A raw string with the PDB-formatted file. Optional[str] Optional[str] TypeError – “fn must be a string, a pathlib.Path or None. If None, return a raw string with the PDB-formatted file.” TypeError – cavities must be a numpy.ndarray. ValueError – cavities has the incorrect shape. It must be (nx, ny, nz). TypeError – surface must be a numpy.ndarray. ValueError – surface has the incorrect shape. It must be (nx, ny, nz). TypeError – vertices must be a list or a numpy.ndarray. ValueError – vertices has incorrect shape. It must be (4, 3). TypeError – step must be a positive real number. ValueError – step must be a positive real number. TypeError – B must be a numpy.ndarray. ValueError – B has the incorrect shape. It must be (nx, ny, nz). TypeError – Q must be a numpy.ndarray. ValueError – Q has the incorrect shape. It must be (nx, ny, nz). TypeError – selection must be a list of strings (cavity names) or integers (cavity labels). ValueError – Invalid selection: {selection}. TypeError – nthreads must be a positive integer. ValueError – nthreads must be a positive integer. TypeError – append must be a boolean. TypeError – model must be a integer. RuntimeError – User must define surface when not defining cavities. TypeError – “fn must be a string, a pathlib.Path or None. If None, return a raw string with the PDB-formatted file.” TypeError – cavities must be a numpy.ndarray. ValueError – cavities has the incorrect shape. It must be (nx, ny, nz). TypeError – surface must be a numpy.ndarray. ValueError – surface has the incorrect shape. It must be (nx, ny, nz). TypeError – vertices must be a list or a numpy.ndarray. ValueError – vertices has incorrect shape. It must be (4, 3). TypeError – step must be a positive real number. ValueError – step must be a positive real number. TypeError – B must be a numpy.ndarray. ValueError – B has the incorrect shape. It must be (nx, ny, nz). TypeError – Q must be a numpy.ndarray. ValueError – Q has the incorrect shape. It must be (nx, ny, nz). TypeError – selection must be a list of strings (cavity names) or integers (cavity labels). ValueError – Invalid selection: {selection}. TypeError – nthreads must be a positive integer. ValueError – nthreads must be a positive integer. TypeError – append must be a boolean. TypeError – model must be a integer. RuntimeError – User must define surface when not defining cavities. Export opening points (H) to a PDB-formatted file. fn (Union[str, pathlib.Path]) – A path to PDB file for writing openings. fn (Union[str, pathlib.Path]) – A path to PDB file for writing openings. openings (numpy.ndarray) – Openings points in the 3D grid (openings[nx][ny][nz]).
Openings array has integer labels in each position, that are: vertices (Union[numpy.ndarray, List[List[float]]]) – A numpy.ndarray or a list with xyz vertices coordinates (origin,
X-axis, Y-axis, Z-axis). step (Union[float, int], optional) – Grid spacing (A), by default 0.6. selection (Union[List[int], List[str]], optional) – A list of integer labels or a list of opening names to be selected, by default None. nthreads (int, optional) – Number of threads, by default None. If None, the number of threads is
+ step (Union[float, int], optional) – Grid spacing (A), by default 0.6. selection (Union[List[int], List[str]], optional) – A list of integer labels or a list of opening names to be selected, by default None. nthreads (int, optional) – Number of threads, by default None. If None, the number of threads is
os.cpu_count() - 1. append (bool, optional) – Whether to append openings to the PDB file, by default False. model (int, optional) – Model number, by default 0. append (bool, optional) – Whether to append openings to the PDB file, by default False. model (int, optional) – Model number, by default 0. TypeError – openings must be a numpy.ndarray. ValueError – openings has the incorrect shape. It must be (nx, ny, nz). TypeError – vertices must be a list or a numpy.ndarray. ValueError – vertices has incorrect shape. It must be (4, 3). TypeError – step must be a positive real number. ValueError – step must be a positive real number. TypeError – selection must be a list of strings (opening names) or integers (opening labels). ValueError – Invalid selection: {selection}. TypeError – nthreads must be a positive integer. ValueError – nthreads must be a positive integer. TypeError – append must be a boolean. TypeError – model must be a integer. TypeError – fn must be a string or pathlib.Path. TypeError – openings must be a numpy.ndarray. ValueError – openings has the incorrect shape. It must be (nx, ny, nz). TypeError – vertices must be a list or a numpy.ndarray. ValueError – vertices has incorrect shape. It must be (4, 3). TypeError – step must be a positive real number. ValueError – step must be a positive real number. TypeError – selection must be a list of strings (opening names) or integers (opening labels). ValueError – Invalid selection: {selection}. TypeError – nthreads must be a positive integer. ValueError – nthreads must be a positive integer. TypeError – append must be a boolean. TypeError – model must be a integer. TypeError – fn must be a string or pathlib.Path. Gets 3D grid vertices. atomic (Union[numpy.ndarray, List[List[Union[str, float, int]]]]) – A numpy array with atomic data (residue number, chain, residue name, atom name, xyz coordinates
+ atomic (Union[numpy.ndarray, List[List[Union[str, float, int]]]]) – A numpy array with atomic data (residue number, chain, residue name, atom name, xyz coordinates
and radius) for each atom. probe_out (Union[float, int], optional) – Probe Out size (A), by default 4.0. step (Union[float, int], optional) – Grid spacing (A), by default 0.6. probe_out (Union[float, int], optional) – Probe Out size (A), by default 4.0. step (Union[float, int], optional) – Grid spacing (A), by default 0.6. TypeError – atomic must be a list or a numpy.ndarray. ValueError – atomic has incorrect shape. It must be (n, 8). TypeError – probe_out must be a non-negative real number. ValueError – probe_out must be a non-negative real number. TypeError – step must be a positive real number. ValueError – step must be a positive real number. TypeError – atomic must be a list or a numpy.ndarray. ValueError – atomic has incorrect shape. It must be (n, 8). TypeError – probe_out must be a non-negative real number. ValueError – probe_out must be a non-negative real number. TypeError – step must be a positive real number. ValueError – step must be a positive real number. Gets 3D grid vertices from box configuration file or parKVFinder
parameters file, selects atoms inside custom 3D grid, define sine
and cosine of 3D grid angles and define xyz grid units. fn (Union[str, pathlib.Path]) – A path to box configuration file (TOML-formatted). atomic (Union[numpy.ndarray, List[List[Union[str, float, int]]]]) – A numpy array with atomic data (residue number, chain, residue name, atom name, xyz coordinates
+ fn (Union[str, pathlib.Path]) – A path to box configuration file (TOML-formatted). atomic (Union[numpy.ndarray, List[List[Union[str, float, int]]]]) – A numpy array with atomic data (residue number, chain, residue name, atom name, xyz coordinates
and radius) for each atom. step (Union[float, int], optional) – Grid spacing (A), by default 0.6. probe_in (Union[float, int], optional) – Probe In size (A), by default 1.4. probe_out (Union[float, int], optional) – Probe Out size (A), by default 4.0. nthreads (int, optional) – Number of threads, by default None. If None, the number of threads is
+ step (Union[float, int], optional) – Grid spacing (A), by default 0.6. probe_in (Union[float, int], optional) – Probe In size (A), by default 1.4. probe_out (Union[float, int], optional) – Probe Out size (A), by default 4.0. nthreads (int, optional) – Number of threads, by default None. If None, the number of threads is
os.cpu_count() - 1. TypeError – fn must be a string or a pathlib.Path. TypeError – atomic must be a list or a numpy.ndarray. ValueError – atomic has incorrect shape. It must be (n, 8). TypeError – step must be a positive real number. ValueError – step must be a positive real number. TypeError – probe_in must be a non-negative real number. ValueError – probe_in must be a non-negative real number. TypeError – probe_out must be a non-negative real number. ValueError – probe_out must be a non-negative real number. ValueError – probe_out must be greater than probe_in. TypeError – nthreads must be a positive integer. ValueError – You must define (p1, p2, p3, p4) or (residues, padding) keys in fn. ValueError – Box not properly defined in fn. TypeError – fn must be a string or a pathlib.Path. TypeError – atomic must be a list or a numpy.ndarray. ValueError – atomic has incorrect shape. It must be (n, 8). TypeError – step must be a positive real number. ValueError – step must be a positive real number. TypeError – probe_in must be a non-negative real number. ValueError – probe_in must be a non-negative real number. TypeError – probe_out must be a non-negative real number. ValueError – probe_out must be a non-negative real number. ValueError – probe_out must be greater than probe_in. TypeError – nthreads must be a positive integer. ValueError – You must define (p1, p2, p3, p4) or (residues, padding) keys in fn. ValueError – Box not properly defined in fn. Hydropathy characterization of the detected cavities. Map a target hydrophobicity scale per surface point and calculate average hydropathy of detected cavities. atomic (Union[numpy.ndarray, List[List[Union[str, float, int]]]]) – A numpy array with atomic data (residue number, chain, residue name, atom name, xyz coordinates
+ atomic (Union[numpy.ndarray, List[List[Union[str, float, int]]]]) – A numpy array with atomic data (residue number, chain, residue name, atom name, xyz coordinates
and radius) for each atom. vertices (Union[numpy.ndarray, List[List[float]]]) – A numpy.ndarray or a list with xyz vertices coordinates (origin,
+ vertices (Union[numpy.ndarray, List[List[float]]]) – A numpy.ndarray or a list with xyz vertices coordinates (origin,
X-axis, Y-axis, Z-axis). step (Union[float, int], optional) – Grid spacing (A), by default 0.6. probe_in (Union[float, int], optional) – Probe In size (A), by default 1.4. hydrophobicity_scale (str, optional) – Name of a built-in hydrophobicity scale or a path to a
+ step (Union[float, int], optional) – Grid spacing (A), by default 0.6. probe_in (Union[float, int], optional) – Probe In size (A), by default 1.4. hydrophobicity_scale (str, optional) – Name of a built-in hydrophobicity scale or a path to a
TOML-formatted file with a custom hydrophobicity scale, by default
EisenbergWeiss.
The hydrophobicity scale file defines the name of the scale and the
@@ -171,12 +171,12 @@ pyKVFinder.Molecule
@@ -171,7 +171,7 @@
@@ -142,7 +142,7 @@
-
pyKVFinder.Molecule
pyKVFinder.Molecule
pyKVFinder.Molecule
pyKVFinder.Molecule
pyKVFinder.Molecule
pyKVFinder.Molecule
pyKVFinder.Molecule
pyKVFinder.Molecule
pyKVFinder.Molecule
pyKVFinder.Molecule
@@ -406,13 +406,13 @@
pyKVFinder.Molecule
pyKVFinder.Molecule
@@ -447,29 +447,29 @@ Molecule.vdw()
or Molecule.surface()
, the modelled molecule in the 3D grid can be previewed by running:pyKVFinder.Molecule
pyKVFinder.Molecule
@@ -541,19 +541,19 @@
-
-
pyKVFinder.Molecule
@@ -590,14 +590,14 @@
-
-
pyKVFinder.Molecule
pyKVFinder.calculate_frequencies
pyKVFinder.calculate_frequenciesReturn type:
-
pyKVFinder.constitutional
diff --git a/docs/package/api_reference/depth.html b/docs/package/api_reference/depth.html
index 5812deee..16efa6b4 100644
--- a/docs/package/api_reference/depth.html
+++ b/docs/package/api_reference/depth.html
@@ -128,7 +128,7 @@
@@ -147,18 +147,18 @@
pyKVFinder.constitutionalstr, float, int]]]]) – A numpy array with atomic data (residue number, chain, residue name, atom name, xyz coordinates
+
pyKVFinder.constitutionalReturn type:
-
-
pyKVFinder.depth
diff --git a/docs/package/api_reference/detect.html b/docs/package/api_reference/detect.html
index b9e3b824..94d7a4a6 100644
--- a/docs/package/api_reference/detect.html
+++ b/docs/package/api_reference/detect.html
@@ -128,32 +128,32 @@
pyKVFinder.depthRaises:
-
pyKVFinder.detect
diff --git a/docs/package/api_reference/export.html b/docs/package/api_reference/export.html
index 9c910512..ceba56f3 100644
--- a/docs/package/api_reference/export.html
+++ b/docs/package/api_reference/export.html
@@ -128,14 +128,14 @@
-
pyKVFinder.detectRaises:
-
pyKVFinder.export
diff --git a/docs/package/api_reference/export_openings.html b/docs/package/api_reference/export_openings.html
index bccdf657..a1288146 100644
--- a/docs/package/api_reference/export_openings.html
+++ b/docs/package/api_reference/export_openings.html
@@ -128,12 +128,12 @@
-
@@ -162,49 +162,49 @@
pyKVFinder.exportfloat]]]) – A numpy.ndarray or a list with xyz vertices coordinates (origin,
+
-
pyKVFinder.export_openings
diff --git a/docs/package/api_reference/get_vertices.html b/docs/package/api_reference/get_vertices.html
index b13224d1..3e5914ab 100644
--- a/docs/package/api_reference/get_vertices.html
+++ b/docs/package/api_reference/get_vertices.html
@@ -128,15 +128,15 @@
-
@@ -147,31 +147,31 @@
pyKVFinder.export_openingsfloat]]]) – A numpy.ndarray or a list with xyz vertices coordinates (origin,
+
-
pyKVFinder.get_vertices
diff --git a/docs/package/api_reference/get_vertices_from_file.html b/docs/package/api_reference/get_vertices_from_file.html
index 589a6ba0..2b494762 100644
--- a/docs/package/api_reference/get_vertices_from_file.html
+++ b/docs/package/api_reference/get_vertices_from_file.html
@@ -128,20 +128,20 @@
-
pyKVFinder.get_vertices
-
pyKVFinder.get_vertices_from_file
diff --git a/docs/package/api_reference/hydropathy.html b/docs/package/api_reference/hydropathy.html
index 9870dba6..caccb68c 100644
--- a/docs/package/api_reference/hydropathy.html
+++ b/docs/package/api_reference/hydropathy.html
@@ -128,7 +128,7 @@
-
pyKVFinder.get_vertices_from_fileRaises:
-
pyKVFinder.hydropathy
@@ -146,13 +146,13 @@
pyKVFinder.hydropathyThe empty space points are regions that do not meet the chosen
volume cutoff to be considered a cavity.
-
pyKVFinder.hydropathy
ignore_backbone (bool, optional) – Whether to ignore backbone atoms (C, CA, N, O) when defining interface +
ignore_backbone (bool, optional) – Whether to ignore backbone atoms (C, CA, N, O) when defining interface residues, by default False.
selection (Union[List[int], List[str]], optional) – A list of integer labels or a list of cavity names to be selected, by default None.
nthreads (int, optional) – Number of threads, by default None. If None, the number of threads is +
selection (Union[List[int], List[str]], optional) – A list of integer labels or a list of cavity names to be selected, by default None.
nthreads (int, optional) – Number of threads, by default None. If None, the number of threads is os.cpu_count() - 1.
verbose (bool, optional) – Print extra information to standard output, by default False.
verbose (bool, optional) – Print extra information to standard output, by default False.
TypeError – surface must be a numpy.ndarray.
ValueError – surface has the incorrect shape. It must be (nx, ny, nz).
TypeError – atomic must be a list or a numpy.ndarray.
ValueError – atomic has incorrect shape. It must be (n, 8).
TypeError – vertices must be a list or a numpy.ndarray.
ValueError – vertices has incorrect shape. It must be (4, 3).
TypeError – step must be a positive real number.
ValueError – step must be a positive real number.
TypeError – probe_in must be a non-negative real number.
ValueError – probe_in must be a non-negative real number.
TypeError – hydrophobicity_scale must be a string or a pathlib.Path.
TypeError – ignore_backbone must be a boolean.
TypeError – selection must be a list of strings (cavity names) or integers (cavity labels).
ValueError – Invalid selection: {selection}.
TypeError – nthreads must be a positive integer.
ValueError – nthreads must be a positive integer.
TypeError – verbose must be a boolean.
TypeError – surface must be a numpy.ndarray.
ValueError – surface has the incorrect shape. It must be (nx, ny, nz).
TypeError – atomic must be a list or a numpy.ndarray.
ValueError – atomic has incorrect shape. It must be (n, 8).
TypeError – vertices must be a list or a numpy.ndarray.
ValueError – vertices has incorrect shape. It must be (4, 3).
TypeError – step must be a positive real number.
ValueError – step must be a positive real number.
TypeError – probe_in must be a non-negative real number.
ValueError – probe_in must be a non-negative real number.
TypeError – hydrophobicity_scale must be a string or a pathlib.Path.
TypeError – ignore_backbone must be a boolean.
TypeError – selection must be a list of strings (cavity names) or integers (cavity labels).
ValueError – Invalid selection: {selection}.
TypeError – nthreads must be a positive integer.
ValueError – nthreads must be a positive integer.
TypeError – verbose must be a boolean.
[WIP] Identify openings of the detected cavities and calculate their areas.
openings_cutoff (int, optional) – The minimum number of voxels an opening must have, by default 1.
selection (Union[List[int], List[str]], optional) – A list of integer labels or a list of cavity names to be selected, by default None.
nthreads (int, optional) – Number of threads, by default None. If None, the number of threads is +
step (Union[float, int], optional) – Grid spacing (A), by default 0.6.
openings_cutoff (int, optional) – The minimum number of voxels an opening must have, by default 1.
selection (Union[List[int], List[str]], optional) – A list of integer labels or a list of cavity names to be selected, by default None.
nthreads (int, optional) – Number of threads, by default None. If None, the number of threads is os.cpu_count() - 1.
verbose (bool, optional) – Print extra information to standard output, by default False.
verbose (bool, optional) – Print extra information to standard output, by default False.
TypeError – cavities must be a numpy.ndarray.
ValueError – cavities has the incorrect shape. It must be (nx, ny, nz).
TypeError – depths must be a numpy.ndarray.
ValueError – depths has the incorrect shape. It must be (nx, ny, nz).
TypeError – step must be a positive real number.
ValueError – step must be a positive real number.
TypeError – openings_cutoff must be an integer.
ValueError – openings_cutoff must be a positive integer.
TypeError – selection must be a list of strings (cavity names) or integers (cavity labels).
ValueError – Invalid selection: selection.
TypeError – nthreads must be a positive integer.
ValueError – nthreads must be a positive integer.
TypeError – verbose must be a boolean
TypeError – cavities must be a numpy.ndarray.
ValueError – cavities has the incorrect shape. It must be (nx, ny, nz).
TypeError – depths must be a numpy.ndarray.
ValueError – depths has the incorrect shape. It must be (nx, ny, nz).
TypeError – step must be a positive real number.
ValueError – step must be a positive real number.
TypeError – openings_cutoff must be an integer.
ValueError – openings_cutoff must be a positive integer.
TypeError – selection must be a list of strings (cavity names) or integers (cavity labels).
ValueError – Invalid selection: selection.
TypeError – nthreads must be a positive integer.
ValueError – nthreads must be a positive integer.
TypeError – verbose must be a boolean
Plot bar charts of calculated frequencies (residues and classes of residues) for each detected cavity in a target PDF file.
frequencies (Dict[str, Dict[str, Dict[str, int]]]) – A dictionary with frequencies of residues and class for +
frequencies (Dict[str, Dict[str, Dict[str, int]]]) – A dictionary with frequencies of residues and class for residues of each detected cavity.
fn (Union[str, pathlib.Path], optional) – A path to PDF file for plotting bar charts of frequencies, by +
fn (Union[str, pathlib.Path], optional) – A path to PDF file for plotting bar charts of frequencies, by default barplots.pdf.
TypeError – fn must be a string or a pathlib.Path.
+TypeError – fn must be a string or a pathlib.Path.
A class containing pyKVFinder detection and characterization results.
area (Dict[str, float]) – A dictionary with area of each detected cavity.
max_depth (Dict[str, float], optional) – A dictionary with maximum depth of each detected cavity.
avg_depth (Dict[str, float], optional) – A dictionary with average depth of each detected cavity.
avg_hydropathy (Dict[str, float], optional) – A dictionary with average hydropathy for each detected cavity and +
volume (Dict[str, float]) – A dictionary with volume of each detected cavity.
area (Dict[str, float]) – A dictionary with area of each detected cavity.
max_depth (Dict[str, float], optional) – A dictionary with maximum depth of each detected cavity.
avg_depth (Dict[str, float], optional) – A dictionary with average depth of each detected cavity.
avg_hydropathy (Dict[str, float], optional) – A dictionary with average hydropathy for each detected cavity and the range of the hydrophobicity scale (min, max).
residues (Dict[str, List[List[str]]]) – A dictionary with a list of interface residues for each detected +
residues (Dict[str, List[List[str]]]) – A dictionary with a list of interface residues for each detected cavity.
frequencies (Dict[str, Dict[str, Dict[str, int]]], optional) – A dictionary with frequencies of residues and class for +
frequencies (Dict[str, Dict[str, Dict[str, int]]], optional) – A dictionary with frequencies of residues and class for residues of each detected cavity.
_vertices (numpy.ndarray) – A numpy.ndarray or a list with xyz vertices coordinates (origin, X-axis, Y-axis, Z-axis).
_step (float) – Grid spacing (A).
_input (Union[str, pathlib.Path], optional) – A path to input PDB or XYZ file, by default None.
_ligand (Union[str, pathlib.Path], optional) – A path to ligand PDB or XYZ file, by default None.
_step (float) – Grid spacing (A).
_input (Union[str, pathlib.Path], optional) – A path to input PDB or XYZ file, by default None.
_ligand (Union[str, pathlib.Path], optional) – A path to ligand PDB or XYZ file, by default None.
Dict[str, Dict[str, Dict[str, int]]], optional
+Union[str, pathlib.Path], optional
+Union[str, pathlib.Path], optional
Union[str, pathlib.Path], optional
+Union[str, pathlib.Path], optional
Exports cavitiy (H) and surface (HA) points to PDB-formatted file with a variable (B; optional) in B-factor column, and hydropathy to PDB-formatted file in B-factor column at surface points (HA).
output (Union[str, pathlib.Path]), optional) – A path to PDB file for writing cavities, by default cavity.pdb.
nthreads (int, optional) – Number of threads, by default None. If None, the number of threads is +
output (Union[str, pathlib.Path]), optional) – A path to PDB file for writing cavities, by default cavity.pdb.
nthreads (int, optional) – Number of threads, by default None. If None, the number of threads is os.cpu_count() - 1.
A raw string with the PDB-formatted file.
Optional[str]
+Optional[str]
Exports cavities and characterization to PDB-formatted files, writes file paths and characterization to a TOML-formatted file, and optionally plot bar charts of frequencies (residues and classes of @@ -413,14 +413,14 @@
fn (Union[str, pathlib.Path], optional) – A path to TOML-formatted file for writing file paths and +
fn (Union[str, pathlib.Path], optional) – A path to TOML-formatted file for writing file paths and cavity characterization (volume, area and interface residues) per cavity detected, by default results.toml.
output (Union[str, pathlib.Path], optional) – A path to PDB file for writing cavities, by default cavity.pdb.
include_frequencies_pdf (bool, optional) – Whether to plot frequencies (residues and classes of residues) +
output (Union[str, pathlib.Path], optional) – A path to PDB file for writing cavities, by default cavity.pdb.
include_frequencies_pdf (bool, optional) – Whether to plot frequencies (residues and classes of residues) to PDF file, by default False.
pdf (Union[str, pathlib.Path], optional) – A path to a PDF file, by default barplots.pdf.
nthreads (int, optional) – Number of threads, by default None. If None, the number of threads is +
pdf (Union[str, pathlib.Path], optional) – A path to a PDF file, by default barplots.pdf.
nthreads (int, optional) – Number of threads, by default None. If None, the number of threads is os.cpu_count() - 1.
Plot bar charts of frequencies (residues and classes of residues) in a PDF file.
pdf (Union[str, pathlib.Path], optional) – A path to a PDF file, by default barplots.pdf.
+pdf (Union[str, pathlib.Path], optional) – A path to a PDF file, by default barplots.pdf.
Writes file paths and cavity characterization to TOML-formatted file
fn (Union[str, pathlib.Path], optional) – A path to TOML-formatted file for writing file paths and cavity +
fn (Union[str, pathlib.Path], optional) – A path to TOML-formatted file for writing file paths and cavity characterization (volume, area, depth and interface residues) per cavity detected, by default results.toml.
output (Union[str, pathlib.Path], optional) – A path to a cavity PDB file, by default None.
output (Union[str, pathlib.Path], optional) – A path to a cavity PDB file, by default None.
Read cavities and receptor inside a 3D grid.
cavity (Union[str, pathlib.Path]) – A path to a PDB file of cavities.
receptor (Union[str, pathlib.Path]) – A path to a PDB or XYZ file of the receptor.
step (Union[float, int], optional) – Grid spacing (A), by default 0.6.
probe_in (Union[float, int], optional) – Probe In size (A), by default 1.4.
probe_out (Union[float, int], optional) – Probe Out size (A), by default 4.0.
surface (str, optional) – Surface representation. Keywords options are SES (Solvent Excluded Surface) or SAS (Solvent +
cavity (Union[str, pathlib.Path]) – A path to a PDB file of cavities.
receptor (Union[str, pathlib.Path]) – A path to a PDB or XYZ file of the receptor.
step (Union[float, int], optional) – Grid spacing (A), by default 0.6.
probe_in (Union[float, int], optional) – Probe In size (A), by default 1.4.
probe_out (Union[float, int], optional) – Probe Out size (A), by default 4.0.
surface (str, optional) – Surface representation. Keywords options are SES (Solvent Excluded Surface) or SAS (Solvent Accessible Surface), by default “SES”.
vdw (Dict[str, Dict[str, float]], optional) – A dictionary containing radii values, by default None. If None, use output of read_vdw()
.
nthreads (Optional[int], optional) – Number of threads, by default None. If None, the number of threads is +
vdw (Dict[str, Dict[str, float]], optional) – A dictionary containing radii values, by default None. If None, use output of read_vdw()
.
nthreads (Optional[int], optional) – Number of threads, by default None. If None, the number of threads is os.cpu_count() - 1.
verbose (bool, optional) – Print extra information to standard output, by default False.
verbose (bool, optional) – Print extra information to standard output, by default False.
TypeError – cavity must be a string or a pathlib.Path.
TypeError – receptor must be a string or a pathlib.Path.
TypeError – target must have .pdb or .xyz extension.
TypeError – step must be a positive real number.
ValueError – step must be a positive real number.
TypeError – probe_in must be a non-negative real number.
ValueError – probe_in must be a non-negative real number.
TypeError – probe_out must be a non-negative real number.
ValueError – probe_out must be a non-negative real number.
ValueError – probe_out must be greater than probe_in.
TypeError – surface must be a str.
TypeError – nthreads must be a positive integer.
ValueError – nthreads must be a positive integer.
TypeError – verbose must be a boolean.
ValueError – surface must be SAS or SES, not {surface}.
TypeError – cavity must be a string or a pathlib.Path.
TypeError – receptor must be a string or a pathlib.Path.
TypeError – target must have .pdb or .xyz extension.
TypeError – step must be a positive real number.
ValueError – step must be a positive real number.
TypeError – probe_in must be a non-negative real number.
ValueError – probe_in must be a non-negative real number.
TypeError – probe_out must be a non-negative real number.
ValueError – probe_out must be a non-negative real number.
ValueError – probe_out must be greater than probe_in.
TypeError – surface must be a str.
TypeError – nthreads must be a positive integer.
ValueError – nthreads must be a positive integer.
TypeError – verbose must be a boolean.
ValueError – surface must be SAS or SES, not {surface}.
Reads PDB file into numpy.ndarrays.
fn (Union[str, pathlib.Path]) – A path to PDB file.
vdw (Dict[str, Dict[str, float]], optional) – A dictionary containing radii values, by default None. If None, use output of read_vdw()
.
model (int, optional) – The model number of a multi-model PDB file, by default None. If None, keep atoms from all models.
fn (Union[str, pathlib.Path]) – A path to PDB file.
vdw (Dict[str, Dict[str, float]], optional) – A dictionary containing radii values, by default None. If None, use output of read_vdw()
.
model (int, optional) – The model number of a multi-model PDB file, by default None. If None, keep atoms from all models.
numpy.ndarray
TypeError – fn must be a string or a pathlib.Path.
+TypeError – fn must be a string or a pathlib.Path.
Reads van der Waals radii from .dat file.
fn (Optional[Union[str, pathlib.Path]], optional) – A path to a van der Waals radii file, by default None. If None, apply the built-in van der +
fn (Optional[Union[str, pathlib.Path]], optional) – A path to a van der Waals radii file, by default None. If None, apply the built-in van der Waals radii file: vdw.dat.
vdw – A dictionary containing radii values.
TypeError – fn must be a string or a pathlib.Path.
ValueError – A line in vdw has incorrect format. The values must be double +
TypeError – fn must be a string or a pathlib.Path.
ValueError – A line in vdw has incorrect format. The values must be double tab-separated.
ValueError – A line in vdw has an incorrect radius type for an atom.
ValueError – A line in vdw has an incorrect radius type for an atom.
Reads XYZ file into numpy.ndarrays.
fn (Union[str, pathlib.Path]) – A path to XYZ file.
vdw (Dict[str, Dict[str, float]], optional) – A dictionary containing radii values, by default None. If None, use output of read_vdw()
.
fn (Union[str, pathlib.Path]) – A path to XYZ file.
vdw (Dict[str, Dict[str, float]], optional) – A dictionary containing radii values, by default None. If None, use output of read_vdw()
.
numpy.ndarray
TypeError – fn must be a string or a pathlib.Path.
+TypeError – fn must be a string or a pathlib.Path.
Detects and characterizes cavities (volume, area, depth [optional], hydropathy [optional] and interface residues).
input (Union[str, pathlib.Path]) – A path to a target structure file, in PDB or XYZ format, to detect and characterize cavities.
ligand (Union[str, pathlib.Path], optional) – A path to ligand file, in PDB or XYZ format, by default None.
vdw (Union[str, pathlib.Path], optional) – A path to a van der Waals radii file, by default None. If None, apply the built-in van der +
input (Union[str, pathlib.Path]) – A path to a target structure file, in PDB or XYZ format, to detect and characterize cavities.
ligand (Union[str, pathlib.Path], optional) – A path to ligand file, in PDB or XYZ format, by default None.
vdw (Union[str, pathlib.Path], optional) – A path to a van der Waals radii file, by default None. If None, apply the built-in van der Waals radii file: vdw.dat.
box (Union[str, pathlib.Path], optional) – A path to box configuration file (TOML-formatted), by default None.
step (Union[float, int], optional) – Grid spacing (A), by default 0.6.
probe_in (Union[float, int], optional) – Probe In size (A), by default 1.4.
probe_out (Union[float, int], optional) – Probe Out size (A), by default 4.0.
removal_distance (Union[float, int], optional) – Length to be removed from the cavity-bulk frontier (A), by default 2.4.
volume_cutoff (Union[float, int], optional) – Cavities volume filter (A3), by default 5.0.
ligand_cutoff (Union[float, int], optional) – Radius value to limit a space around a ligand (A), by default 5.0.
include_depth (bool, optional) – Whether to characterize the depth of the detected cavities, by +
box (Union[str, pathlib.Path], optional) – A path to box configuration file (TOML-formatted), by default None.
step (Union[float, int], optional) – Grid spacing (A), by default 0.6.
probe_in (Union[float, int], optional) – Probe In size (A), by default 1.4.
probe_out (Union[float, int], optional) – Probe Out size (A), by default 4.0.
removal_distance (Union[float, int], optional) – Length to be removed from the cavity-bulk frontier (A), by default 2.4.
volume_cutoff (Union[float, int], optional) – Cavities volume filter (A3), by default 5.0.
ligand_cutoff (Union[float, int], optional) – Radius value to limit a space around a ligand (A), by default 5.0.
include_depth (bool, optional) – Whether to characterize the depth of the detected cavities, by default False.
include_hydropathy (bool, optional) – Whether to characterize the hydropathy of the detected cavities, by +
include_hydropathy (bool, optional) – Whether to characterize the hydropathy of the detected cavities, by default False.
hydrophobicity_scale (Union[str, pathlib.Path], optional) – Name of a built-in hydrophobicity scale (EisenbergWeiss, HessaHeijne, +
hydrophobicity_scale (Union[str, pathlib.Path], optional) – Name of a built-in hydrophobicity scale (EisenbergWeiss, HessaHeijne, KyteDoolitte, MoonFleming, RadzickaWolfenden, WimleyWhite, ZhaoLondon) or a path to a TOML-formatted file with a custom hydrophobicity scale, by default EisenbergWeiss.
surface (str, optional) – Keywords options are SES (Solvent Excluded Surface) or SAS (Solvent +
surface (str, optional) – Keywords options are SES (Solvent Excluded Surface) or SAS (Solvent Accessible Surface), by default SES.
ignore_backbone (bool, optional) – Whether to ignore backbone atoms (C, CA, N, O) when defining interface +
ignore_backbone (bool, optional) – Whether to ignore backbone atoms (C, CA, N, O) when defining interface residues, by default False.
model (int, optional) – Model number, by default None. If None, keep atoms from all models.
nthreads (int, optional) – Number of threads, by default None. If None, the number of threads is +
model (int, optional) – Model number, by default None. If None, keep atoms from all models.
nthreads (int, optional) – Number of threads, by default None. If None, the number of threads is os.cpu_count() - 1.
verbose (bool, optional) – Print extra information to standard output, by default False.
verbose (bool, optional) – Print extra information to standard output, by default False.
Spatial characterization (volume and area) of the detected cavities.
selection (Union[List[int], List[str]], optional) – A list of integer labels or a list of cavity names to be selected, by default None.
nthreads (int, optional) – Number of threads, by default None. If None, the number of threads is +
step (Union[float, int], optional) – Grid spacing (A), by default 0.6.
selection (Union[List[int], List[str]], optional) – A list of integer labels or a list of cavity names to be selected, by default None.
nthreads (int, optional) – Number of threads, by default None. If None, the number of threads is os.cpu_count() - 1.
verbose (bool, optional) – Print extra information to standard output, by default False.
verbose (bool, optional) – Print extra information to standard output, by default False.
TypeError – cavities must be a numpy.ndarray.
ValueError – cavities has the incorrect shape. It must be (nx, ny, nz).
TypeError – step must be a positive real number.
ValueError – step must be a positive real number.
TypeError – selection must be a list of strings (cavity names) or integers (cavity labels).
ValueError – Invalid selection: {selection}.
TypeError – nthreads must be a positive integer.
ValueError – nthreads must be a positive integer.
TypeError – verbose must be a boolean.
TypeError – cavities must be a numpy.ndarray.
ValueError – cavities has the incorrect shape. It must be (nx, ny, nz).
TypeError – step must be a positive real number.
ValueError – step must be a positive real number.
TypeError – selection must be a list of strings (cavity names) or integers (cavity labels).
ValueError – Invalid selection: {selection}.
TypeError – nthreads must be a positive integer.
ValueError – nthreads must be a positive integer.
TypeError – verbose must be a boolean.
Writes file paths and cavity characterization to TOML-formatted file.
fn (Union[str, pathlib.Path]) – A path to TOML-formatted file for writing file paths and +
fn (Union[str, pathlib.Path]) – A path to TOML-formatted file for writing file paths and cavity characterization (volume, area, depth [optional] and interface residues) per cavity detected.
input (Union[str, pathlib.Path], optional) – A path to input PDB or XYZ file.
ligand (Union[str, pathlib.Path], optional) – A path to ligand PDB or XYZ file.
output (Union[str, pathlib.Path], optional) – A path to cavity PDB file.
volume (Dict[str, float], optional) – A dictionary with volume of each detected cavity, by default None.
area (Dict[str, float], optional) – A dictionary with area of each detected cavity, by default None.
max_depth (Dict[str, float], optional) – A dictionary with maximum depth of each detected cavity, by default +
input (Union[str, pathlib.Path], optional) – A path to input PDB or XYZ file.
ligand (Union[str, pathlib.Path], optional) – A path to ligand PDB or XYZ file.
output (Union[str, pathlib.Path], optional) – A path to cavity PDB file.
volume (Dict[str, float], optional) – A dictionary with volume of each detected cavity, by default None.
area (Dict[str, float], optional) – A dictionary with area of each detected cavity, by default None.
max_depth (Dict[str, float], optional) – A dictionary with maximum depth of each detected cavity, by default None.
avg_depth (Dict[str, float], optional) – A dictionary with average depth of each detected cavity, by default +
avg_depth (Dict[str, float], optional) – A dictionary with average depth of each detected cavity, by default None.
avg_hydropapthy (Dict[str, float], optional) – A dictionary with average hydropathy of each detected cavity and range +
avg_hydropapthy (Dict[str, float], optional) – A dictionary with average hydropathy of each detected cavity and range of the hydrophobicity scale mapped, by default None.
residues (Dict[str, List[List[str]]], optional) – A dictionary with interface residues of each detected cavity, by +
residues (Dict[str, List[List[str]]], optional) – A dictionary with interface residues of each detected cavity, by default None.
frequencies (Dict[str, Dict[str, Dict[str, int]]], optional) – A dictionary with frequencies of interface residues and classes of +
frequencies (Dict[str, Dict[str, Dict[str, int]]], optional) – A dictionary with frequencies of interface residues and classes of residues of each detected cavity, by default None.
step (Union[float, int], optional) – Grid spacing (A), by default 0.6.
step (Union[float, int], optional) – Grid spacing (A), by default 0.6.
TypeError – fn must be a string or a pathlib.Path.
TypeError – input must be a string or a pathlib.Path.
TypeError – ligand must be a string or a pathlib.Path.
TypeError – output must be a string or a pathlib.Path.
TypeError – volume must be a dictionary.
TypeError – area must be a dictionary.
TypeError – max_depth must be a dictionary.
TypeError – avg_depth must be a dictionary.
TypeError – avg_hydropathy must be a dictionary.
TypeError – residues must be a dictionary.
TypeError – frequencies must be a dictionary.
TypeError – step must be a positive real number.
ValueError – step must be a positive real number.
TypeError – fn must be a string or a pathlib.Path.
TypeError – input must be a string or a pathlib.Path.
TypeError – ligand must be a string or a pathlib.Path.
TypeError – output must be a string or a pathlib.Path.
TypeError – volume must be a dictionary.
TypeError – area must be a dictionary.
TypeError – max_depth must be a dictionary.
TypeError – avg_depth must be a dictionary.
TypeError – avg_hydropathy must be a dictionary.
TypeError – residues must be a dictionary.
TypeError – frequencies must be a dictionary.
TypeError – step must be a positive real number.
ValueError – step must be a positive real number.
First, it is required to install Anaconda or Miniconda (Python 3.10 or later). If you do not have it installed, please refer to Anaconda or Miniconda websites.
-In the Anaconda Prompt, create a new environment and install PyMOL:
+In the Anaconda Prompt, create a new environment and activate it:
conda create -n pymol python=3.10
conda activate pymol
-# PyMOL v3.0
-conda install -c conda-forge -c schrodinger pymol-bundle
-# PyMOL v2.6
-conda install -c conda-forge -c schrodinger pymol-bundle=2.6
-# PyMOL Open-Source
-conda install -c conda-forge pymol-open-source
Then, install one of the following versions of PyMOL:
+PyMOL v3.0 (Schrodinger)
+++++conda install -c conda-forge -c schrodinger pymol-bundle +
PyMOL v2.6 (Schrodinger):
+++++conda install -c conda-forge -c schrodinger pymol-bundle=2.6 +
PyMOL Open-Source
+++++conda install -c conda-forge pymol-open-source +
After installing one of the PyMOL versions (v3.0, v2.6 or Open-Source), you need to install the pyKVFinder package, if you have not done it yet:
pip install pyKVFinder